estella00911 opened a new pull request, #77534:
URL: https://github.com/apache/airflow/pull/77534
## Why
The hook `check_yaml_importer_schema_versions.py` still uses Python 3.10,
but `main` now requires Python 3.11 (#74157).
This is related to 2 PRs (#74084 and #74152):
1. #74152 updated every inline script header to Python 3.11.
2. #74084 added `scripts/ci/prek/check_yaml_importer_schema_versions.py`,
and its inline script header set `requires-python = ">=3.10,<3.11"`.
This issue happened because #74152 was merged before #74084. As a result,
`requires-python = ">=3.10,<3.11"` in
`check_yaml_importer_schema_versions.py`
was not updated to Python 3.11, and the 3.10 header reached `main`.
## What
Change the header to `>=3.11,<3.12`, matching the other prek hooks.
---
##### Was generative AI tooling used to co-author this PR?
- [X] Yes — Claude Code (Opus 5.5)
Generated-by: Claude Code (Opus 5.5) following [the
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]