Skip to main content

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

poetry_stale_dependencies-0.2.2.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

poetry_stale_dependencies-0.2.2-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file poetry_stale_dependencies-0.2.2.tar.gz.

File metadata

  • Download URL: poetry_stale_dependencies-0.2.2.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: poetry/1.8.3 CPython/3.10.14 Linux/6.5.0-1018-azure

File hashes

Hashes for poetry_stale_dependencies-0.2.2.tar.gz
Algorithm Hash digest
SHA256 1b1746c2cac8fe9d43425797b65a03ad7989866cc1b6568c576e97baa021e31f
MD5 269754391bff3b6437c85182691cd995
BLAKE2b-256 4162790f73d61b85879a97e0781e215be3221c4a3b6b5a34630ce95edd79c00a

See more details on using hashes here.

File details

Details for the file poetry_stale_dependencies-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for poetry_stale_dependencies-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8d449514101a9b0ecef000e9c8eb223283fd574b475f2988ad56f53cdd315138
MD5 670d88f4e5de3dbabf29d38c316287f8
BLAKE2b-256 3f0c14d74864f59b42c5c43e396c4076b0c15b6ccff8264f69baccc777826652

See more details on using hashes here.

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