No project description provided
Project description
Poetry-Stale-Dependnecies
poetry-stale-dependencies
is a poetry plugin that scans your dependencies and checks if there are newer versions available.
Installation
poetry self add plugin poetry-stale-dependencies@latest
Usage
# scan all dependencies for newer versions
poetry stale-dependencies show
# scan only specificed dependencies
poetry stale-dependencies show requests pytest
Setup
You can customize the inspection settings by adding a tool.stale-dependencies
section to your pyproject.toml
file.
...
[tool.stale-dependencies]
# you can customize your lockfile location
lockfile = "poetry.lock"
# you can customize and include additional package sources (as they appear in your pyproject.toml)
sources = [
"pypi",
"my_custom_source" # note that currently only unauthenticated sources are supported
]
time_to_stale = "1mo" # dependencies that have at lest this gap between their latest release and
# the installed release will be marked as satle, default is 2 weeks
time_to_ripe = "1d" # releases that are less than 1 day old will not be considered, default is 3 days
# we can also have per-package configurations
[tool.stale-dependencies.packages]
requests = { time_to_stale = "2mo" }
pytest = { ignore_versions = ["6.0.0"] }
pydantic = { ignore = true }
numpy = { include_prereleases = true }
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
Built Distribution
Close
Hashes for poetry_stale_dependencies-0.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b44d72c6c84c23c8bc779bd682e8d12c9ebd0d40cf8a4646c1dc9118e2c1411 |
|
MD5 | e88693831a59584878ce0fed2cd01726 |
|
BLAKE2b-256 | 1ba10af4bbe050a616bb5b737dd69d0a7fc30a03ecede0c760e6fd2b6f773f1c |
Close
Hashes for poetry_stale_dependencies-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c2ee28211005b3ffa3d0d869ad8b2068fa98eea712485f67a53f036746390e7 |
|
MD5 | 5e461ce0059553a16f332feee5e6f349 |
|
BLAKE2b-256 | c736480a862cf2a883ab41082cd358a98b1490ce961b2c4ac88e842102513ff0 |