From 15fb151510c326d39893f34aafea0ed0f97c0f25 Mon Sep 17 00:00:00 2001 From: Andrew Kenworthy Date: Thu, 26 Feb 2026 18:21:00 +0100 Subject: [PATCH 1/2] fix(airflow): Pin virtualenv --- airflow/Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/airflow/Dockerfile b/airflow/Dockerfile index d35fbe9a4..12cddcb02 100644 --- a/airflow/Dockerfile +++ b/airflow/Dockerfile @@ -119,7 +119,11 @@ source /stackable/app/bin/activate # Also install uv to get support for build constraints pip install --no-cache-dir --upgrade pip pip install --no-cache-dir uv==${UV_VERSION} -uv tool install hatch + +# Pin virtualenv due to a breaking change in 21.0.0 which is pulled +# in by hatch. +# See https://github.com/pypa/hatch/issues/2193 +uv tool install hatch --with "virtualenv<21" cd "$(/stackable/patchable --images-repo-root=src checkout airflow ${PRODUCT_VERSION})" From 4ad1180cc00c41b3c7aa64868300c473ce4e96f6 Mon Sep 17 00:00:00 2001 From: Andrew Kenworthy Date: Thu, 26 Feb 2026 18:24:38 +0100 Subject: [PATCH 2/2] changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 15017a68b..84a37a4f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -73,6 +73,7 @@ All notable changes to this project will be documented in this file. - hbase: Removed test class from backport HBASE-29797 to HBase version `2.6.3` ([#1426]). - superset: Pin setup-tools to ensure pkg_resources are installed (needed for `4.1.4` builds) ([#1428]). - ubi10-rust-builder: Add gzip dependency for the ONBUILD step ([#1436]). +- airflow: Pin virtualenv to prevent hatch pulling in a version with a breaking change ([#1437]). [#1336]: https://github.com/stackabletech/docker-images/pull/1336 [#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. [#1433]: https://github.com/stackabletech/docker-images/pull/1433 [#1435]: https://github.com/stackabletech/docker-images/pull/1435 [#1436]: https://github.com/stackabletech/docker-images/pull/1436 +[#1437]: https://github.com/stackabletech/docker-images/pull/1437 ## [25.11.0] - 2025-11-07