This is an automated email from the ASF dual-hosted git repository.
MartijnVisser pushed a commit to branch ci_utils
in repository
https://gitbox.apache.org/repos/asf/flink-connector-shared-utils.git
The following commit(s) were added to refs/heads/ci_utils by this push:
new 95653f6 [FLINK-39941][python] Pin virtualenv below 21.5 so py38 tox
environments can still be created
95653f6 is described below
commit 95653f67ba511cb1a723f3c16c6262c5d0f9152c
Author: Martijn Visser <[email protected]>
AuthorDate: Mon Sep 7 13:31:56 2026 +0200
[FLINK-39941][python] Pin virtualenv below 21.5 so py38 tox environments
can still be created
tox 3.14.0 pulls in virtualenv unpinned. virtualenv 21.5.0 (2026-06-13)
dropped Python 3.8, so tox can no longer seed the py38 environment that
the flink-connector-kafka v3.4 and v4.0 branches list in their envlist.
virtualenv 21.4.3 runs on the 3.11 base environment and creates 3.8 to
3.13 targets, so the py39 to py311 environments are unaffected.
Generated-by: Claude Code 2.1.263 (Claude Fable 5.1)
---
python/lint-python.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/python/lint-python.sh b/python/lint-python.sh
index 082ea65..0695c59 100755
--- a/python/lint-python.sh
+++ b/python/lint-python.sh
@@ -278,7 +278,7 @@ function install_tox() {
fi
fi
- $CURRENT_DIR/install_command.sh -q tox==3.14.0 2>&1 >/dev/null
+ $CURRENT_DIR/install_command.sh -q tox==3.14.0 "virtualenv<21.5" 2>&1
>/dev/null
if [ $? -ne 0 ]; then
echo "uv pip install tox failed \
please try to exec the script again.\