Skip to content

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

License

Notifications You must be signed in to change notification settings

MousaZeidBaker/poetry-plugin-up

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages