Skip to content

fix: Pin urllib3 below version 2.4.0 that break back compatibility with older Kubernetes cluster CA on Python 3.13 #5239

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

chafouin
Copy link
Contributor

@chafouin chafouin commented Aug 6, 2025

Closes #5224

📑 Description

Pin urllib3 below version 2.4.0, since this version introduced a breaking change with older Kubernetes cluster CA on Python 3.13, where certain fields are now required in the TLS certificates. Some Kubernetes clusters, especially old one, don't have those fields. Keep calls to the Kubernetes API will fail in those cases. In EKS case, it is unfortunately not possible to recreate the CA without recreating the whole cluster.

The Kubernetes Python library will put in place similar pinning, see kubernetes-client/python#2394.

✅ Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

ℹ Additional Information

Copy link

vercel bot commented Aug 6, 2025

@chafouin is attempting to deploy a commit to the KeepHQ Team on Vercel.

A member of the Team first needs to authorize it.

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. Dependencies Pull requests that update a dependency file labels Aug 6, 2025
@chafouin chafouin changed the title Pin urllib3 below version 2.4.0 that break back compatibility with older Kubernetes cluster CA on Python 3.13 fix: Pin urllib3 below version 2.4.0 that break back compatibility with older Kubernetes cluster CA on Python 3.13 Aug 6, 2025
Copy link

vercel bot commented Aug 6, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
keep Ignored Ignored Preview Aug 19, 2025 6:53am

@shahargl
Copy link
Member

shahargl commented Aug 6, 2025

@chafouin can you dump version to 0.46.6?

Copy link

cursor bot commented Aug 6, 2025

🚨 Bugbot Trial Expired

Your team's Bugbot trial has expired. Please contact your team administrator to turn on the paid plan to continue using Bugbot.

A team admin can activate the plan in the Cursor dashboard.

Copy link
Member

@talboren talboren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dependencies Pull requests that update a dependency file lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[🐛 Bug]: Bump to v0.46.0 issue with Jira povider provisioning
3 participants