-
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 upgrade-strategy eager-while-respecting-dependencies #5804
Comments
sounds like a duplicate of #988 |
@RonnyPfannschmidt I agree, yes. My specific question about a new |
@bersbersbers my understanding is that solving #988 would sort out the issue you see with eager updates correctly, and making that particular update strategy actually work would require it to begin with |
Agreed! |
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. |
What's the problem this feature will solve?
Image you are working with the newest version of package
A
that depends onB==2
. You haveB==1
installed, and the most recent version isB==3
.How do you upgrade to the newest allowed version of
B
,B==2
, without going through all dependencies of A manually? If I am not mistaken,pip install A --upgrade [--upgrade-strategy only-if-needed]
keepsB==1
pip install A --upgrade --upgrade-strategy eager
updates toB==3
pip-review --interactive
will (offer to) upgrade toB==3
A concrete example:
pip install PyInstaller --upgrade --upgrade-strategy eager
will upgrade tosetuptools==40.4.1
, even thoughtensorflow-gpu==1.11.0rc1
is installed, which requiressetuptools<=39.1.0
.Describe the solution you'd like
pip install A --upgrade --upgrade-strategy eager-while-respecting-dependencies
could solve that, parsing the dependency tree for the maximum allowed version ofB
and upgrading to that one.The text was updated successfully, but these errors were encountered: