Skip to content

Commit b45bcf0

Browse files
committed
pin urrllib3 for K8S cert compatibility
1 parent d6340b8 commit b45bcf0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ dependencies = [
2121
"jinja2",
2222
"polars-lts-cpu",
2323
"textual",
24+
# urllib>=2.4.0 fails to validate DLS Kubernetes certificates
25+
# https://github.com/kubernetes-client/python/issues/2394
26+
"urllib3<2.4.0",
2427
]
2528

2629
dynamic = ["version"]
@@ -58,7 +61,7 @@ version_file = "src/edge_containers_cli/_version.py"
5861

5962
[tool.pyright]
6063
typeCheckingMode = "standard"
61-
reportMissingImports = false # Ignore missing stubs in imported modules
64+
reportMissingImports = false # Ignore missing stubs in imported modules
6265

6366
[tool.pytest.ini_options]
6467
# Run pytest with all our checkers, and don't spam us with massive tracebacks on error

0 commit comments

Comments
 (0)