This is an automated email from the ASF dual-hosted git repository.
ephraimanierobi pushed a commit to branch v3-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit eb327681576baaa0e0d2c7d28f501bacc33bbe5d
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sat Dec 6 15:29:25 2025 +0100
[v3-1-test] Limit urllib3 to <2.6.0 during latest boto tests (#59130)
(#59132)
This is follow up after #59108 as latest boto tests might upgrade
urllib3.
(cherry picked from commit 40ee29ce3cd00ddd30ed9a2a9bd743b5f51fbd3b)
Co-authored-by: Jarek Potiuk <[email protected]>
---
Dockerfile.ci | 6 +++++-
scripts/docker/entrypoint_ci.sh | 6 +++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/Dockerfile.ci b/Dockerfile.ci
index c4921b7df90..e82f35e7da5 100644
--- a/Dockerfile.ci
+++ b/Dockerfile.ci
@@ -1324,8 +1324,12 @@ function check_boto_upgrade() {
echo
# shellcheck disable=SC2086
${PACKAGING_TOOL_CMD} uninstall ${EXTRA_UNINSTALL_FLAGS} aiobotocore s3fs
|| true
+
+ # Urllib 2.6.0 breaks kubernetes client because kubernetes client uses
deprecated in 2.0.0 and
+ # removed in 2.6.0 `getheaders()` call (instead of `headers` property.
+ # Tracked in https://github.com/kubernetes-client/python/issues/2477
# shellcheck disable=SC2086
- ${PACKAGING_TOOL_CMD} install ${EXTRA_INSTALL_FLAGS} --upgrade
"boto3<1.38.3" "botocore<1.38.3"
+ ${PACKAGING_TOOL_CMD} install ${EXTRA_INSTALL_FLAGS} --upgrade
"boto3<1.38.3" "botocore<1.38.3" "urllib3<2.6.0"
}
function check_upgrade_sqlalchemy() {
diff --git a/scripts/docker/entrypoint_ci.sh b/scripts/docker/entrypoint_ci.sh
index 28fd6300966..dabb4a59eff 100755
--- a/scripts/docker/entrypoint_ci.sh
+++ b/scripts/docker/entrypoint_ci.sh
@@ -303,8 +303,12 @@ function check_boto_upgrade() {
echo
# shellcheck disable=SC2086
${PACKAGING_TOOL_CMD} uninstall ${EXTRA_UNINSTALL_FLAGS} aiobotocore s3fs
|| true
+
+ # Urllib 2.6.0 breaks kubernetes client because kubernetes client uses
deprecated in 2.0.0 and
+ # removed in 2.6.0 `getheaders()` call (instead of `headers` property.
+ # Tracked in https://github.com/kubernetes-client/python/issues/2477
# shellcheck disable=SC2086
- ${PACKAGING_TOOL_CMD} install ${EXTRA_INSTALL_FLAGS} --upgrade
"boto3<1.38.3" "botocore<1.38.3"
+ ${PACKAGING_TOOL_CMD} install ${EXTRA_INSTALL_FLAGS} --upgrade
"boto3<1.38.3" "botocore<1.38.3" "urllib3<2.6.0"
}
# Upgrade sqlalchemy to the latest version to run tests with it