Skip to content

Commit 3b9e633

Browse files
authored
fix(deps): pin kubernetes<36 due to broken bearer-token auth (#2730)
* Pin kubernetes<36 due to broken bearer-token auth kubernetes v36.0.0 has a regression where auth_settings() no longer recognizes the 'authorization' key in api_key, silently dropping the Authorization header from all API requests. The upstream fix (PR #2585) is merged but not yet released. Pin to <36 until a patched v36.x ships. Ref: kubernetes-client/python#2582 * Update lock file Remove aiohttp, frozenlist, multidict, propcache, yarl and async-timeout dependencies. Pin kubernetes to <36. Update cloup to 3.1.0 and cyclopts to 4.16.1. * Update kubernetes version constraint to exclude 36.0.0 The kubernetes dependency constraint is changed from `>=31.0.0,<36` to `>=31.0.0,!=36.0.0` to allow versions 36.0.1 and above while excluding the broken 36.0.0 release that has bearer-token authentication issues.
1 parent 5010f8a commit 3b9e633

2 files changed

Lines changed: 11 additions & 666 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ dependencies = [
9090
"deepdiff>=8.0.1",
9191
"jinja2>=3.1.4",
9292
"jsonschema>=4.20.0",
93-
"kubernetes>=31.0.0",
93+
"kubernetes>=31.0.0,!=36.0.0", # Excluded: v36.0.0 has broken bearer-token auth (https://github.com/kubernetes-client/python/issues/2582), remove once v36.0.1+ ships with the fix
9494
"packaging>=24.1",
9595
"pyhelper-utils>=0.0.42",
9696
"python-benedict>=0.33.2",

0 commit comments

Comments
 (0)