poetry update --latest (w/ ignoring current pinning)
See original GitHub issue- I have searched the issues of this repo and believe that this is not a duplicate.
Issue
I’ve tried to search both documentation, issues and Web, but haven’t found a solution for use case of “please update this package to newest version without reading current pinning in pyproject.toml
”. This is something I do quite often and so far I haven’t found a clean way of doing it with Poetry.
For example: I currently have django = "^2.0.0"
in my pyproject.toml
but I’d like to upgrade that to the very latest version (3.0.2). I can of course change the pinning by hand to pyproject.toml
but what if I want to upgrade my whole project to latest everything (every package)? What I’d like to is something like poetry update --latest
Is there currently a way to do this without too much manual work (for one or many packages)?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:11
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Commands | Documentation | Poetry - Python dependency ...
This command will help you kickstart your new Python project by creating a directory ... When --only is specified, --with and --without options...
Read more >Dependency Management With Python Poetry
Pin dependencies; Install dependencies with poetry.lock; Execute basic Poetry CLI commands. Using Poetry will help you start new projects, ...
Read more >Dependency version syntax for Python Poetry - Stack Overflow
If you don't include any modifiers, Poetry will keep your dependency pinned at that exact version. beepboop = "2.1.7". With that configuration, ...
Read more >Managing Python Dependencies with Poetry
Having pinned dependencies, doesn't mean that you shouldn't care about more recent versions of them being released on PyPI. It is important to...
Read more >Ask HN: Why Poetry did not become a mainstream package ...
If I install something with pip, the newly installed package goes into ... I can pin down my dependencies, upgrade to a new...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’d also prefer to have a more intuitive way of updating packages to the latest version. Right now, to update packages, I run this command, which seems to work fine (although it’s not as clear as using a command called ‘update’):
poetry add PACKAGE_NAME@latest
@sinoroc I was expecting it to not add the caret. I started an issue here.