Skip to main content

Poetry plugin that updates dependencies and bumps their versions in pyproject.toml file

Project description

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

Contributing

Contributions are welcome! See the Contributing Guide.

Issues

If you encounter any problems, please file an issue along with a detailed description.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

poetry_plugin_upgrade-0.2.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

poetry_plugin_upgrade-0.2.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file poetry_plugin_upgrade-0.2.0.tar.gz.

File metadata

  • Download URL: poetry_plugin_upgrade-0.2.0.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.6 Linux/6.2.0-1016-azure

File hashes

Hashes for poetry_plugin_upgrade-0.2.0.tar.gz
Algorithm Hash digest
SHA256 acaa0eda684d20613dda3775d6a6836549e01eec36ee22e5c26d27953db9b6d3
MD5 4fa7bbc9309afe2c831f97d3dbb440eb
BLAKE2b-256 6d43cc48200060a1508ba5c9aee47dc510f54a766958c518fec2d0b2021ad08f

See more details on using hashes here.

File details

Details for the file poetry_plugin_upgrade-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for poetry_plugin_upgrade-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 379d18a31a9e7d849481890381c77818c13f10dec1322c7f630cd8490e41b822
MD5 b39dbcf3ecbfd0898da70f1c58232647
BLAKE2b-256 5469c86aa42f506d8ea3051cc57810f6702a6e5c85599a52102ee660f8749830

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page