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 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.0.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

poetry_stale_dependencies-0.2.0-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: poetry_stale_dependencies-0.2.0.tar.gz
  • Upload date:
  • Size: 11.5 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.0.tar.gz
Algorithm Hash digest
SHA256 f99e6e26c40c89e841e352a8c77c27ea2a03cdd594e1a950bbb89908de75398c
MD5 8842beb570d9c7ff487f9a876015f441
BLAKE2b-256 b3bf07ea2e6bb1b9253de63ec86174f3c9452ef8d69d92d42ce464889092dc42

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for poetry_stale_dependencies-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 03cb5ce97b0076ba8e62a4baa1989e53fe29050624b14187d75d5108740d39bc
MD5 151e335bec8863d4d92e0607c13e3bf8
BLAKE2b-256 02ea9c3440efb7cc3b27c4b1592191bfecd195616db4ee02ed64bfe1cd029338

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