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.7.2.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

poetry_plugin_up-0.7.2-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: poetry_plugin_up-0.7.2.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.0 CPython/3.10.14 Linux/6.5.0-1024-azure

File hashes

Hashes for poetry_plugin_up-0.7.2.tar.gz
Algorithm Hash digest
SHA256 012e8f7d50d75664c26d431d5802bf80bb23d459c2c8632deabeb75cff910e32
MD5 63dec790d96fbe13f45b78aa4f6a9b21
BLAKE2b-256 c363a62c4ba7018b4e79df24246180a45080a142c36146fdc071e64a4ecb5079

See more details on using hashes here.

File details

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

File metadata

  • Download URL: poetry_plugin_up-0.7.2-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.0 CPython/3.10.14 Linux/6.5.0-1024-azure

File hashes

Hashes for poetry_plugin_up-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2af2a5167b6a24a0523327565e6643c0982e62e7159bc4b505c65626dc75a376
MD5 462a38c791881217b80fff31e9c72e18
BLAKE2b-256 d5c1de62fbf4f224fd3ecf07af89e690e7f4c328071023e48a98089c95ce5297

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