Skip to content

Stop using deprecated urllib3 API #2169

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

Closed
arcivanov opened this issue Dec 26, 2023 · 0 comments · Fixed by #2175
Closed

Stop using deprecated urllib3 API #2169

arcivanov opened this issue Dec 26, 2023 · 0 comments · Fixed by #2175
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@arcivanov
Copy link
Contributor

What happened (please include outputs or screenshots):

/home/arcivanov/.config/kubernator/python/20/kubernetes/client/exceptions.py:91: DeprecationWarning: HTTPResponse.getheaders() is deprecated and will be removed in urllib3 v2.1.0. Instead access HTTPResponse.headers directly.
  self.headers = http_resp.getheaders()

What you expected to happen:
No deprecation warning

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

  • Kubernetes version (kubectl version):
  • OS (e.g., MacOS 10.13.6):
  • Python version (python --version)
  • Python client version (pip list | grep kubernetes)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
1 participant