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

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

Uploaded Source

Built Distribution

poetry_plugin_up-0.7.1-py3-none-any.whl (5.9 kB view hashes)

Uploaded Python 3

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