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:

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

config

Canonical Python version configuration model.

derivations

Canonical-to-derived projections for the Python version management feature.

identifiers

Python version-identifier parsing for the devtools python command group.

manager

Pure Python version policy transformations.

sync

Structure-aware pyproject.toml synchronization service.