-
-
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
pipenv update --outdated
should alert users to newer excluded versions
#2411
Comments
I’m not entirely sure I understand what you’re asking. Can you attach a Pipfile and illustrate what you want with its output? |
If you run
However if you run
Then the result of
My point is, just like composer and pip, pipenv shouldn't take into account the version restrictions when showing if there's an update to a package. It should show all of them, like pip, but informing the user whether the update is allowed under the restrictions in the Pipfile. |
I actually really like this idea, I liked it even when I couldn't read the properly formatted version when I was on mobile this morning. We will need to run it by Kenneth and @ncoghlan but I am fairly confident this will be thumbs up from them as well. |
pipenv update --outdated
should alert users to newer excluded versions
I've reworded the issue title based on what I believe @alexgmin is actually proposing (i.e. respect the version restrictions when it comes to actually updating anything, but also note in the output when there are newer packages being ignored based on the Assuming I've understood the proposal correctly, it seems like a reasonable prompt to me - while there's some risk of notification fatigue, I agree that warning about this situation will be better default behaviour. |
Is your feature request related to a problem? Please describe.
I don't have a way to know which packages I'm using that have an update outside the version restriction in the Pipfile. I can do
pip list --outdated
, but that lists every package in the enviroment, instead of only the ones in the Pipfile.Describe the solution you'd like
I think
pipenv update --outdated
should show every package in the Pipfile with an update. However it should be indicated which ones are in the version restrictions of the Pipfile.For example, Composer color codes it depending on semver https://getcomposer.org/doc/03-cli.md#outdated
The text was updated successfully, but these errors were encountered: