-
Notifications
You must be signed in to change notification settings - Fork 476
fix: install specified version of --preinstall
dependency instead of latest version
#1379
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
--preinstall
dependency instead of latest version
How about running |
Thanks, I added that. |
My bad, I've just seen the function is already called in |
@davidpeckham 7339ae0 seems to be empty... |
@chrysle I think that last commit fixed it. |
Thanks! |
changelog.d/
(if the patch affects the end users)Summary of changes
Fixes #1377
chrysle found the problem -- commands/install.py calls
package_name_from_spec
when it shouldn't. I removed that call and passed the dependencies unmodified tovenv.upgrade_package_no_metadata
.Test plan
I added this test case to tests/test_install.py:
Tested by running