This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v3-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v3-1-test by this push:
new 3be8d33b508 [v3-1-test] Also limit urllib3 to < 2.6.0 in k8s tests -
for use in v3-1-tests (#59152) (#59158)
3be8d33b508 is described below
commit 3be8d33b508ebf35f6dc594218991fffc785b7bb
Author: Jarek Potiuk <[email protected]>
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]