-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Confusion: --keep-outdated --selective-upgrade #3461
Comments
bump |
The For the record, I might be wrong. @techalchemy is the best one to answer this. There is a full implementation of |
Sorry for making a mistake in my previous comment. In fact, the package name passed as argument is not used at all. It might be supported after #3304 is merged. |
@techalchemy help us out here... |
I ran in an actual problem with this : The Package Djoser had it's Version 1.4.0 removed and i want to update to the new 1.5.1 without updating the other locked versions. Haveing read all comandline options i thought
would ONLY update djoser and keep all other package versions even though the y might be outdated. Please clarify what's going on with those flags and add an example for updating only one packages. |
Apologies for not responding to this sooner, I've been super busy with work but more significantly there were a number of breaking changes related to PEP514 implementation which first pip rolled out and then setuptools rolled out and then there was a bit of a stalemate-fingerpointing situation and then some more breakages which has all been a bit of a nightmare The result of this is that pipenv just does its own dependency resolution with With regard to the specific question here, there is significant confusion about The only real difference is that you can add something to your Here is the important caveat: This needs to be reviewed at some point because it is super inconvenient and probably is a major gap in normal workflows |
@techalchemy Thank you for explaining the difference and pointing out how to upgrade a selective package. It seems like |
|
I am closing this in prep for the release that deprecates both of these flags and gives a safer options with |
Just to get some clarity. I'm trying to update a specific package. The docs say I should do:
The help says that
--selective-upgrade
"Updates specified packages."... isn't that what the above command does? And shouldn't we rename it toselective-update
instead ofselective-upgrade
😅I'm just trying to update a specific package without pipenv trying to update all other outdated dependencies. The docs suggest that this is what
--keep-outdated
does... but shouldn't that be the default behaviour?The text was updated successfully, but these errors were encountered: