Poetry plugin that updates dependencies and bumps their versions in pyproject.toml file
Project description
Poetry Plugin: up
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 012e8f7d50d75664c26d431d5802bf80bb23d459c2c8632deabeb75cff910e32 |
|
MD5 | 63dec790d96fbe13f45b78aa4f6a9b21 |
|
BLAKE2b-256 | c363a62c4ba7018b4e79df24246180a45080a142c36146fdc071e64a4ecb5079 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2af2a5167b6a24a0523327565e6643c0982e62e7159bc4b505c65626dc75a376 |
|
MD5 | 462a38c791881217b80fff31e9c72e18 |
|
BLAKE2b-256 | d5c1de62fbf4f224fd3ecf07af89e690e7f4c328071023e48a98089c95ce5297 |