-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New resolver: Avoid polluting dest dir #8843
Conversation
Would it be possible to do this without adding |
4c4287a
to
df815a0
Compare
Yes it is! Thank you for the heads-up, I didn't noticed that earlier 😅 |
df815a0
to
486813b
Compare
486813b
to
5c0f094
Compare
db976e6
to
09c6785
Compare
Hello! I am an automated bot and I have noticed that this pull request is not currently able to be merged. If you are able to either merge the |
if self._download_should_save: | ||
req.archive(self.download_dir) | ||
req.archive(self.download_dir) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't look right. Is this covered by the build_dir changes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is covered by the change to req.archive
, since more than one call to it check for the same condition: ceaddcc
09c6785
to
9cc07ea
Compare
9cc07ea
to
7fa785e
Compare
Hello! I am an automated bot and I have noticed that this pull request is not currently able to be merged. If you are able to either merge the |
7fa785e
to
a8db46b
Compare
Gentle ping! |
a8db46b
to
4264773
Compare
Thanks, I've just resolved the conflicts! BTW did you switch brown truck off? I haven't seen it rolling for quite a while. |
CI linter failed here. |
Both pip download and wheel call endure_dir on the directory.
In every cases, at least one of them is None. By doing this, it is also possible to simplify wrapper codes around download_dir.
Previously, during dependency resolution for `pip download -d <dir>` or `pip wheel -w <dir>`, distributions downloaded are always saved to <dir>, even for those are only used in backtracking and are not part of the returned requirement set.
4264773
to
b28e2c4
Compare
I've just sync'ed with master, should be OK now. |
Thanks @McSinyx! :) |
Previously, during dependency resolution for
pip download -d <dir>
orpip wheel -w <dir>
, distributions downloaded are always saved to<dir>
, even for those are only used in backtracking and are not part of the returned requirement set.Note that this changes the level from info to debug of the log saying we're skipping copying linked-to-directory requirements.
Fix GH-8827.