LinuxCommandLibrary

poetry-update

Update project dependencies

TLDR

Update all dependencies

$ poetry update
copy
Update specific package
$ poetry update [package]
copy
Update with dry run
$ poetry update --dry-run
copy
Update without dev dependencies
$ poetry update --without dev
copy

SYNOPSIS

poetry update [packages...] [options]

DESCRIPTION

poetry update updates dependencies to their latest versions according to constraints in pyproject.toml. Updates the poetry.lock file and installs new versions. Can target specific packages or update all dependencies.

PARAMETERS

--dry-run

Preview updates without installing.
--no-dev
Skip dev dependencies.
--with groups
Include optional groups.
--without groups
Exclude dependency groups.
--lock
Only update lock file, don't install.
-v, -vv, -vvv
Increase verbosity.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community