You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ep...@apache.org on 2025/12/08 08:31:34 UTC
(airflow) 16/27: [v3-1-test] Also limit urllib3 to < 2.6.0 in k8s tests - for use in v3-1-tests (#59152) (#59158)
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 f92c28c3cd73aa1f6d80f67e2024f77d1ed06a93
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Sun Dec 7 16:36:31 2025 +0100
[v3-1-test] Also limit urllib3 to < 2.6.0 in k8s tests - for use in v3-1-tests (#59152) (#59158)
(cherry picked from commit a129c2cbd713e099d4d7cf15249cf9eb820c23db)
---
kubernetes-tests/pyproject.toml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/kubernetes-tests/pyproject.toml b/kubernetes-tests/pyproject.toml
index bced4f3384d..90ddc85ea62 100644
--- a/kubernetes-tests/pyproject.toml
+++ b/kubernetes-tests/pyproject.toml
@@ -41,6 +41,10 @@ dependencies = [
"apache-airflow-task-sdk",
# Requests 3 if it will be released, will be heavily breaking.
"requests>=2.32.0,<3",
+ # 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
+ "urllib3>=2.1.0,<2.6.0",
]
[tool.pytest]