The GitHub Actions job "Tests" on airflow.git/registry-pyproject-py311 has 
failed.
Run started by GitHub user kaxil (triggered by kaxil).

Head commit for run:
d29091898a93202560c5d0acbf41a6b691764d0b / Kaxil Naik <[email protected]>
Bump dev/registry to require Python 3.11+

`dev/registry/extract_versions.py` and `extract_metadata.py` both `import
tomllib` directly (`tomllib` is Python 3.11+ stdlib). With
`requires-python = ">=3.10"`, uv on bare CI runners may pick Python 3.10
and the scripts crash on import:

    File "dev/registry/extract_versions.py", line 49, in <module>
        import tomllib
    ModuleNotFoundError: No module named 'tomllib'

Failure observed in `Registry Backfill` workflow run 25028614525 after
the workflow's `--project dev/registry` flag started resolving uv's
Python pick from this pyproject (rather than from the airflow
workspace's stricter constraint). Every backfill job fails before
extracting any data.

This bumps `requires-python` to `>=3.11` to match what the scripts
actually need. The dead `tomli==2.4.1; python_version < '3.11'`
build-system requirement is removed at the same time -- no script ever
imported `tomli` (only `tomllib`) so the conditional was misleading.

Report URL: https://github.com/apache/airflow/actions/runs/25029520602

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to