-
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
Version specifier on sub-requirement ignored if same requirement listed by parent without version specifier #4887
Comments
Probably a dupplicate of #988. |
Indeed. |
Thanks - so if I understand correctly, this behaviour is a feature, not a bug. That is a shame, as it really feels counter-intuitive. However I'll close the ticket. |
@matt-hammond-bbc It is a (big) bug, not a feature. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description:
Installing a package X that specifies two requirements: Y and Z. Y has no version specifier. Requirement Z also specifies a requirement for Y, but includes a version specifier.
When installing X, the version specifier for Y that was given by package Z is ignored. It should not be. I would have expected pip to install a version of Y that matches the version specifier given by Z.
The specific situation where this has arisen is when currently
cherrypy
andcheroot
are not installed, andsix==1.10.0
is installed. Installingcherrypy==11.0.0
results incheroot==5.10.0
being installed butsix
remains at 1.10.0 when it should have been upgraded to 1.11.0This caused problems in this situation: https://travis-ci.org/bbc/pydvbcss/jobs/306781295
What I've run:
To setup up the situation:
Then install cherrypy and check dependencies sorted:
The text was updated successfully, but these errors were encountered: