This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new a129c2cbd71 Also limit urllib3 to < 2.6.0 in k8s tests - for use in
v3-1-tests (#59152)
a129c2cbd71 is described below
commit a129c2cbd713e099d4d7cf15249cf9eb820c23db
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sun Dec 7 16:34:02 2025 +0100
Also limit urllib3 to < 2.6.0 in k8s tests - for use in v3-1-tests (#59152)
---
kubernetes-tests/pyproject.toml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/kubernetes-tests/pyproject.toml b/kubernetes-tests/pyproject.toml
index 0caddfb394f..34b9037c8cd 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]