• Stars
    star
    305
  • Rank 136,879 (Top 3 %)
  • Language
    Python
  • License
    MIT License
  • Created almost 2 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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.