Skip to content
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

pip 2.20 included in v20.0.29 breaks checking if package with dotted name is installed #1914

Closed
elfosardo opened this issue Aug 4, 2020 · 3 comments · Fixed by #1915
Closed
Labels

Comments

@elfosardo
Copy link

Expected behaviour:
When installing a package in a virtualenv with a minimum version required, for example pip install oslo.config>=5.2.0, if that package is installed and already satisfies the minimum version required, it should not be upgraded. This works fine until v20.0.28 with pip 20.1.1

With v20.0.29, which embeds pip 20.2, this behaviour is broken with packages that contains a dot in their name.
Please also see pypa/pip#8645 for more information.

The fix is included in pip 20.2.1

@elfosardo elfosardo added the bug label Aug 4, 2020
@gaborbernat
Copy link
Contributor

Note you can select the pip version via --pip or via VIRTUALENV_PIP to workaround this.

@gaborbernat
Copy link
Contributor

released via https://pypi.org/project/virtualenv/20.0.30/

@elfosardo
Copy link
Author

@gaborbernat awesome! Thanks!

@pypa pypa locked and limited conversation to collaborators Jan 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants