Skip to main content

Update dependencies and bump their version in the pyproject.toml file

Project description

PoetryUp

build test License python_version pypi_v pypi_dm

PoetryUp updates dependencies and bumps their version in both poetry.lock as well as in pyproject.toml file. Dependencies version constraints are respected, unless the --latest flag is passed, in which case dependencies will be updated to their latest available version. PoetryUp runs poetry commands, thus it's required to be installed. The difference between running poetry update and poetryup, is that the latter also modifies the pyproject.toml file.

poetryup_demo

Usage

poetryup --help

Automate Dependency Updates with GitHub Actions

Use PoetryUp with GitHub actions to automate the process of updating dependencies, for reference see this project's workflow configuration.

Contributing

Contributions are welcome via pull requests.

Issues

If you encounter any problems, please file an issue along with a detailed description.

Develop

Activate virtual environment

poetry shell

Install dependencies

poetry install --remove-untracked

Install git hooks

pre-commit install --hook-type pre-commit

Run tests

pytest tests

Run linter

flake8 .

Format code

black .

Sort imports

isort .

Install current project from branch

poetry add git+https://github.com/MousaZeidBaker/poetryup.git#branch-name

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

poetryup-0.5.5.tar.gz (5.6 kB view hashes)

Uploaded Source

Built Distribution

poetryup-0.5.5-py3-none-any.whl (6.6 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