Skip to content

Commit a71bb30

Browse files
authored
fix(airflow): Pin virtualenv (#1437)
1 parent 8920934 commit a71bb30

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ All notable changes to this project will be documented in this file.
7373
- hbase: Removed test class from backport HBASE-29797 to HBase version `2.6.3` ([#1426]).
7474
- superset: Pin setup-tools to ensure pkg_resources are installed (needed for `4.1.4` builds) ([#1428]).
7575
- ubi10-rust-builder: Add gzip dependency for the ONBUILD step ([#1436]).
76+
- airflow: Pin virtualenv to prevent hatch pulling in a version with a breaking change ([#1437]).
7677

7778
[#1336]: https://github.com/stackabletech/docker-images/pull/1336
7879
[#1337]: https://github.com/stackabletech/docker-images/pull/1337
@@ -115,6 +116,7 @@ All notable changes to this project will be documented in this file.
115116
[#1433]: https://github.com/stackabletech/docker-images/pull/1433
116117
[#1435]: https://github.com/stackabletech/docker-images/pull/1435
117118
[#1436]: https://github.com/stackabletech/docker-images/pull/1436
119+
[#1437]: https://github.com/stackabletech/docker-images/pull/1437
118120

119121
## [25.11.0] - 2025-11-07
120122

airflow/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,11 @@ source /stackable/app/bin/activate
119119
# Also install uv to get support for build constraints
120120
pip install --no-cache-dir --upgrade pip
121121
pip install --no-cache-dir uv==${UV_VERSION}
122-
uv tool install hatch
122+
123+
# Pin virtualenv due to a breaking change in 21.0.0 which is pulled
124+
# in by hatch.
125+
# See https://github.com/pypa/hatch/issues/2193
126+
uv tool install hatch --with "virtualenv<21"
123127

124128
cd "$(/stackable/patchable --images-repo-root=src checkout airflow ${PRODUCT_VERSION})"
125129

0 commit comments

Comments
 (0)