Skip to content

Can I update pyproject.toml via CLI? #6346

Answered by finswimmer
kingyue737 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey,

poetry update updates the version of all dependencies within the given range of the pyproject.toml. So it updates the poetry.lock file and the environment.

You can upgrade to the latest version via poetry add <packagename>@latest. This will bump the version in the pyproject.toml as well.

At the moment there is no command to upgrade all packages. A feature request exists: #461

fin swimmer

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by kingyue737
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants