Skip to main content

Check for updates of your conanfile.txt/conanfile.py requirements.

Project description

conan-check-updates

CI Coverage Status License: MIT PyPI PyPI - Python Version Code style: black Ruff

Check for updates of your conanfile.txt / conanfile.py requirements.

Screenshot

This application is heavily inspired by npm-check-updates.

Installation

Install the latest version from PyPI:

pip install -U conan-check-updates

Usage

usage: conan-check-updates [--cwd CWD] [--target {major,minor,patch}]
                           [--timeout TIMEOUT] [-u] [-V] [-h]
                           [filter ...]

Check for updates of your conanfile.txt/conanfile.py requirements.

positional arguments:
  filter                Include only package names matching any of the given
                        strings or patterns. Wildcards (*, ?) are allowed.
                        Patterns can be inverted with a prepended !, e.g.
                        !boost*. (default: None)

options:
  --cwd CWD             Path to a folder containing a recipe or to a recipe
                        file directly (conanfile.py or conanfile.txt).
                        (default: .)
  --target {major,minor,patch}
                        Limit update level: major, minor or patch. (default:
                        major)
  --timeout TIMEOUT     Timeout for `conan search` in seconds. (default: 30)
  -u, --upgrade         Overwrite conanfile with upgraded versions. (default:
                        False)
  -V, --version         Show the version and exit.
  -h, --help            Show this message and exit.

Contributing

Contributions are happily accepted. Just create an issue or make a pull-request.

Development setup

# Clone repository
git clone https://github.com/lukasberbuer/conan-check-updates.git
cd conan-check-updates

# Install package and development tools
pip install -e .[dev]

# Install the git hook scripts
pre-commit install

# Run checks & tests with tox
tox

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

conan-check-updates-0.3.0.tar.gz (111.4 kB view hashes)

Uploaded Source

Built Distribution

conan_check_updates-0.3.0-py3-none-any.whl (16.7 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