This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 8deefb4a19b Require Python 3.11 for the YAML importer schema version
hook (#77534)
8deefb4a19b is described below
commit 8deefb4a19bf2c2ecdaaf621386143cf4493c245
Author: estella00911 <[email protected]>
AuthorDate: Tue Nov 24 21:05:18 2026 +0800
Require Python 3.11 for the YAML importer schema version hook (#77534)
This hook was added with a Python 3.10 inline script header while the
inline script metadata bump to 3.11 was in flight, so the bump did not
cover it. prek picks the hook interpreter from this header, and the
pinned "<3.11" upper bound made it look for a Python 3.10 interpreter,
which is no longer supported. Align it with the ">=3.11,<3.12" range
the other prek hooks use.
---
scripts/ci/prek/check_yaml_importer_schema_versions.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/ci/prek/check_yaml_importer_schema_versions.py
b/scripts/ci/prek/check_yaml_importer_schema_versions.py
index d2190867485..2cdc137df53 100755
--- a/scripts/ci/prek/check_yaml_importer_schema_versions.py
+++ b/scripts/ci/prek/check_yaml_importer_schema_versions.py
@@ -16,7 +16,7 @@
# specific language governing permissions and limitations
# under the License.
# /// script
-# requires-python = ">=3.10,<3.11"
+# requires-python = ">=3.11,<3.12"
# dependencies = [
# "rich>=13.6.0",
# ]