Poetry Plugin: upgrade
This package is a plugin that updates dependencies and bumps their versions in pyproject.toml file. The version constraints are respected, unless the --latest flag is passed, in which case dependencies are updated to the latest available compatible versions.
This plugin provides similar features as the existing update command with additional features.
Installation
The easiest way to install the upgrade plugin is via the self add command of Poetry.
poetry self add poetry-plugin-upgrade
If you used pipx to install Poetry you can add the plugin via the pipx inject command.
pipx inject poetry poetry-plugin-upgrade
Otherwise, if you used pip to install Poetry you can add the plugin packages via the pip install command.
pip install poetry-plugin-upgrade
Usage
The plugin provides an upgrade command to update dependencies
poetry upgrade --help
Update dependencies
poetry upgrade
Update dependencies to the latest available compatible versions
poetry upgrade --latest
Update the foo and bar packages
poetry upgrade foo bar
Update packages only in the main group
poetry upgrade --only main
Update packages but ignore the dev group
poetry upgrade --without dev
Example Usage
To Add poetry-plugin-upgrade to poetry using the latest version and to bump all your dev dependencies without modifying transitive dependencies you can run
poetry self add poetry-plugin-upgrade
poetry upgrade --only=dev --latest --pinned --no-interaction --no-install
Contributing
Contributions are welcome! See the Contributing Guide.
Issues
If you encounter any problems, please file an issue along with a detailed description.
Metadata
Release files for poetry-plugin-upgrade 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| poetry_plugin_upgrade-0.3.0.tar.gz | 6.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| poetry_plugin_upgrade-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.2 kB
Release files / poetry_plugin_upgrade-0.3.0.tar.gz
| Download URL | poetry_plugin_upgrade-0.3.0.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7688c18d6c9a4b09f6d0a1f1ce0eb9ad861492dd0659d3f46bde3659abf470a5
|
|
BLAKE2b-256 checksum How to use checksums |
a764cd79d73ec6c8f93aa9c0da1917c55596a5140ce25870cd2e631d6739ff5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.12.11 Linux/6.11.0-1015-azure
|
Release files / poetry_plugin_upgrade-0.3.0-py3-none-any.whl
| Download URL | poetry_plugin_upgrade-0.3.0-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cb2ff662e60ee0b7c534709ac292c68c1e7b88bb3d299f1bf96d60fd34ab3a9b
|
|
BLAKE2b-256 checksum How to use checksums |
f327e09e1e251d0feffb370eff9a51da435a7dd5bb5e293f0e896c1e8a388659
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.12.11 Linux/6.11.0-1015-azure
|