This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch workaround-hatch-virtualenv
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 0853d38305a8800c4efb8964bba734536f3fdaf7
Author: Jarek Potiuk <[email protected]>
AuthorDate: Fri Feb 27 14:02:11 2026 +0100

    Temporary pin to workaround hatch virtualenv >= 21 compatibility
---
 dev/breeze/README.md      | 2 +-
 dev/breeze/pyproject.toml | 3 ++-
 hatch_build.py            | 2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/dev/breeze/README.md b/dev/breeze/README.md
index 973369be89a..5446e087a1b 100644
--- a/dev/breeze/README.md
+++ b/dev/breeze/README.md
@@ -128,6 +128,6 @@ PLEASE DO NOT MODIFY THE HASH BELOW! IT IS AUTOMATICALLY 
UPDATED BY PRE-COMMIT.
 
 
---------------------------------------------------------------------------------------------------------
 
-Package config hash: 
940a55b4de537e8dbc1e0b7c10aa2f5bdbb267caf47b92189d14723f79cf8650856204a693c6c436db55ebd08ddb671c545acd891292f963bf4ee5614a14f662
+Package config hash: 
05d02d507f75f5dacea7774487482ac2d66130d89da112db0bd1c581a509da38082dfeda6aea41e8d204a82919c4987dc0fa3daa2b82ce1981c354ff112254a4
 
 
---------------------------------------------------------------------------------------------------------
diff --git a/dev/breeze/pyproject.toml b/dev/breeze/pyproject.toml
index 3004765559d..8650bcd0db6 100644
--- a/dev/breeze/pyproject.toml
+++ b/dev/breeze/pyproject.toml
@@ -76,7 +76,8 @@ dependencies = [
     "twine>=4.0.2",
     "tqdm>=4.67.1",
     "boto3>=1.34.90",
-    "semver>=3.0.4"
+    "semver>=3.0.4",
+    "virtualenv<21" # Temporary pin for 
https://github.com/pypa/hatch/issues/2193
 ]
 
 [project.scripts]
diff --git a/hatch_build.py b/hatch_build.py
index f3d879a4589..d7c63848fa0 100644
--- a/hatch_build.py
+++ b/hatch_build.py
@@ -150,7 +150,7 @@ CORE_EXTRAS: dict[str, list[str]] = {
         "uv>=0.1.32",
     ],
     "virtualenv": [
-        "virtualenv",
+        "virtualenv<21",  # Temporary pin for 
https://github.com/pypa/hatch/issues/2193
     ],
 }
 

Reply via email to