mafw.devtools.pyversions
Python version management business logic for the MAFw development tools.
This package implements GitLab issue #247: it makes the [tool.mafw] section
of pyproject.toml the single canonical source of truth for the project’s
Python version policy and keeps every derived location in pyproject.toml
(classifiers, Hatch matrices, Hatch environments and pre-push commands)
synchronized with that source.
The package is deliberately layered so that the pure, side-effect-free core can be tested in isolation from the TOML document and the CLI:
identifiers— version-identifier parsing;config— thePythonConfigmodel;manager— theVersionManagertransforms;derivations— canonical → derived projections;sync— the tomlkitPyprojectSyncService.
The scope is repository configuration management only: nothing in this package installs interpreters, resolves or installs dependencies, runs tests, or edits the GitLab CI configuration.
- author:
Bulgheroni Antonio (antonio.bulgheroni@ec.europa.eu)
Modules
Canonical Python version configuration model. |
|
Canonical-to-derived projections for the Python version management feature. |
|
Python version-identifier parsing for the |
|
Pure Python version policy transformations. |
|
Structure-aware |