Skip to content

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

License

Notifications You must be signed in to change notification settings

andriykohut/pdm-readiness

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pdm-readiness

PyPI version Github Actions

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.

Plugin 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

Run pdm readiness <python_version> in the root of your pdm project.

Example output:

image

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages