Skip to main content

A pdm plugin to check if your project dependencies support specific Python version.

Project description

pdm-readiness

A pdm plugin to check if your project dependencies support specific Python version.

[!NOTE]
Many packages may still work just fine even when they are not listed as supported. This plugin only checks the metadata provided by the package authors, so it is not a guarantee that the package will work or not.

Synopsis

The readiness report is divided into 4 sections:

  • Supported dependencies - currently locked dependencies that support the target Python version.
  • Update required - currently locked dependencies that do not support the target Python version, but have newer versions that do.
  • Unsupported - dependencies: the most recent version of the dependency does not support the target Python version.
  • Missing metadata - the package does not provide metadata about the supported Python versions.

Plugins uses PyPI JSON API to get the metadata. It looks at classifiers like Programming Language :: Python :: 3.12 to determine which versions are supported.

Installation

pdm self add pdm-readiness

Usage

pdm readiness 3.12
Supported dependencies (5):
  whitenoise (2.21)
  python-dotenv (2.21)
  django-cors-headers (2.21)
  celery (2.21)
  azure-identity (2.21)
Update required (2):
  Django (4.2.7 -> 5.0)
  django-filter (23.3 -> 23.4)
Unsupported dependencies (5):
  certifi (2023.11.17) supported versions: 3.6, 3.7, 3.8, 3.9, 3.10, 3.11
  djangorestframework-camel-case (1.4.2) supported versions: 3.6, 3.7, 3.8, 3.9, 3.10
  requests (2.31.0) supported versions: 3.7, 3.8, 3.9, 3.10, 3.11
  opentelemetry-api (1.21.0) supported versions: 3.7, 3.8, 3.9, 3.10, 3.11
  pycparser (2.21) supported versions: 2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10
Missing metadata (2):
  channels-redis (4.1.0)
  pyodbc (5.0.1)

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

pdm_readiness-0.1.4.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

pdm_readiness-0.1.4-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file pdm_readiness-0.1.4.tar.gz.

File metadata

  • Download URL: pdm_readiness-0.1.4.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.10.4 CPython/3.11.6

File hashes

Hashes for pdm_readiness-0.1.4.tar.gz
Algorithm Hash digest
SHA256 b28fc102c7089a8fd12e9698069a1dab424a54790905b7dd22056005feac204b
MD5 2b57cf3a213b797b76ebe0a2daedf33e
BLAKE2b-256 99a060f2cc7f87da8c5ee9201f156bedcd5e41e85fd68f8e894786d1f012eb8a

See more details on using hashes here.

File details

Details for the file pdm_readiness-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for pdm_readiness-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6c507950a0add596496bccf863e29f79486d4b4f75527af7f6a6f479184c2ed1
MD5 b04de3725daba1a1b52e8a469b3f7984
BLAKE2b-256 375810bd35341a60ebdedfc87e387dcecf3a0056956fa9d7846508872df66636

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