-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Ensure wheel download dir is present at the beginning of wheel command #7524
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
Conversation
Similar to what is done for download_dir in the download command
This is ensured at the beginning of the wheel command, which is the only command that sets wheel_download_dir. This is also similar to what is done for download_dir in the download command.
Similar to what is done in the download command.
bbcff50
to
f558197
Compare
The macos error seems to have been a transient. This PR also fixes a problem introduced in #7517 where |
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.
Since the path normalization now happens in the wheel command,
pip/src/pip/_internal/operations/prepare.py
Lines 375 to 376 in b24a6d0
if wheel_download_dir: | |
wheel_download_dir = normalize_path(wheel_download_dir) |
could also be cleaned.
@xavfernandez yes. I left it to keep some sort of symmetry with |
Can we remove the unnecessary |
wheel_download_dir is normalized at the beginning of the wheel command
Sure, done. |
Thanks 👍 |
Similar to what is done in the download command.
Following #7517 (comment)