fix(deps): pin kubernetes<36 due to broken bearer-token auth#2730
Conversation
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
|
Warning Review limit reached
More reviews will be available in 54 minutes and 35 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
WalkthroughThe ChangesKubernetes version constraint
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Report bugs in Issues Welcome! 🎉This pull request will be automatically processed with the following features: 🔄 Automatic Actions
📋 Available CommandsPR Status Management
Review & Approval
Testing & Validation
Cherry-pick Operations
Label Management
✅ Merge RequirementsThis PR will be automatically approved when the following conditions are met:
📊 Review ProcessApprovers and ReviewersApprovers:
Reviewers:
Available Labels
AI Features
💡 Tips
For more information, please refer to the project documentation or contact the maintainers. |
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.
c78ed07 to
2a59ee1
Compare
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.
What
Pin
kubernetesdependency to>=31.0.0,<36to avoid a broken bearer-token auth regression in v36.0.0.Why
kubernetes v36.0.0 has a regression where
Configuration.auth_settings()no longer recognizes the'authorization'key inapi_key, silently dropping theAuthorizationheader from all API requests. This causes 401/403 errors for any authenticated API call.The upstream fix (kubernetes-client/python#2585) is merged but not yet released. Pin to
<36until a patched v36.x ships.Ref: kubernetes-client/python#2582
Done
kubernetes<36inpyproject.tomlSummary by CodeRabbit