Published April 7, 2026 | Version v0.1.0

HaoZeke/pytest-pep723: v0.1.0

Authors/Creators

  • 1. @TheochemUI, @lab-cosmo, @metatensor

Description

Initial release of pytest-pep723.

Features

  • --pep723-check flag to enable PEP 723 inline script dependency validation
  • --pep723-paths and --pep723-ignore CLI options for controlling scan scope
  • INI configuration via pep723_paths, pep723_ignore_imports, pep723_extra_mappings
  • Built-in import-to-package mappings for 20+ packages (PIL/pillow, sklearn/scikit-learn, etc.)
  • pep723 pytest marker for selective test runs
  • Handles multi-line and single-line dependency formats, all version operators (>=, ~=, [extras])

Links

Files

HaoZeke/pytest-pep723-v0.1.0.zip

Files (88.0 kB)

Name Size
md5:965751fe27ca7c0f966f8608dfe6bcdc
88.0 kB Preview Download

Additional details

Related works