Skip to main content

Poetry Plugin: upgrade

release test license python_version poetry_version

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)

Source distribution for poetry-plugin-upgrade 0.3.0
File Size Uploaded
poetry_plugin_upgrade-0.3.0.tar.gz 6.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for poetry-plugin-upgrade 0.3.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page