This is an automated email from the ASF dual-hosted git repository.
vatsrahul1001 pushed a commit to branch v3-4-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v3-4-test by this push:
new 4818a152340 [v3-4-test] Require Python 3.11 for the YAML importer
schema version hook (#77534) (#77543)
4818a152340 is described below
commit 4818a152340fb1413241de8855f4232f2335317d
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Nov 25 12:02:26 2026 +0000
[v3-4-test] Require Python 3.11 for the YAML importer schema version hook
(#77534) (#77543)
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.
(cherry picked from commit 8deefb4a19bf2c2ecdaaf621386143cf4493c245)
Co-authored-by: estella00911
<[email protected]>
---
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",
# ]