Skip to main content

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

Project description

Poetry Plugin: up

release test License python_version poetry_version pypi_v pypi_dm

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 latest available compatible versions.

This plugin provides similar features as the existing update command with additional features.

Installation

The easiest way to install the up plugin is via the self add command of Poetry.

poetry self add poetry-plugin-up

If you used pipx to install Poetry you can add the plugin via the pipx inject command.

pipx inject poetry poetry-plugin-up

Otherwise, if you used pip to install Poetry you can add the plugin packages via the pip install command.

pip install poetry-plugin-up

Usage

The plugin provides an up command to update dependencies

poetry up --help

Update dependencies

poetry up

Update dependencies to latest available compatible versions

poetry up --latest

Update the foo and bar packages

poetry up foo bar

Update packages only in the main group

poetry up --only main

Update packages but ignore the dev group

poetry up --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_up-0.9.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

poetry_plugin_up-0.9.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file poetry_plugin_up-0.9.0.tar.gz.

File metadata

  • Download URL: poetry_plugin_up-0.9.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.0 CPython/3.10.16 Linux/6.8.0-1017-azure

File hashes

Hashes for poetry_plugin_up-0.9.0.tar.gz
Algorithm Hash digest
SHA256 b9f2ef3be331fd69e27eeb9a66da72260f9c0d0e5d146699a1124bb880cc72dc
MD5 34a31f66d3f254aec9a9c105d1b15af0
BLAKE2b-256 5201398856c9d69a8de8ea31d154d14852644b0fd4e8f76ffb601747533e9077

See more details on using hashes here.

File details

Details for the file poetry_plugin_up-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: poetry_plugin_up-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.0 CPython/3.10.16 Linux/6.8.0-1017-azure

File hashes

Hashes for poetry_plugin_up-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4d9f043de2b9339a0e1da9ca117c7d4021f8e2f4bbd97735fc2008644c4ba6d1
MD5 cd64913377a1723930964b3c202fc231
BLAKE2b-256 953fe63a51328b1d19467a606f7e45fa2b7ad442e6c833183d3bc67a3805ce96

See more details on using hashes here.

Supported by

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