-
Notifications
You must be signed in to change notification settings - Fork 2.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
support for poetry add --latest #914
Comments
If you have |
And if you always want get the latest version, just pin it to |
My use case is different. I want to update once to the latest, not always install the latest, so no The main idea of this is that you manually update to the latest major. Otherwise you |
If i'm understanding, you'd want
and then change it to
and run |
No, I would like to have:
and then do
and I would see reflected in my
Otherwise a user has to manually search for the latest version. |
My 2c: I think this is an impedance mismatch between the |
I don't see how, it should update the deps if possible, otherwise error. |
Added in #1221 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Feature Request
Add a way to update to latest released version. Let's say you are using
gunicorn 18.x.x
and you want to install the latestgunicorn 19.x.x
.Right now I couldn't find a straight forward way to do it. I found out that removing the package from the
pyproject.toml
and doingpoetry add <package>
does what I want.Ideally I think it would be nice to have something like:
poetry add <package> --latest
Notes
Doing
poetry add <package>==<latest_version>
works also, but it's not the right way, because thepyproject.toml
will be updated with a=<version>
instead of^<version>
.I searched a lot and couldn't find the solution, so in case it's already there I'll try to update the docs.
The text was updated successfully, but these errors were encountered: