-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Stop using deprecated urllib3 API #2170
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
Conversation
Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Keywords which can automatically close issues and at(@) or hashtag(#) mentions are not allowed in commit messages. The list of commits with invalid commit messages:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Welcome @arcivanov! |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: arcivanov The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
as the start of the file shows:
the file is generated, fix needs to go to the generator. |
@yliaog will do, thanks! |
@yliaog well, this is curious. Openapi-generator for python switched to httpx from requests in the year 2020: https://github.com/openapi-generators/openapi-python-client/blob/fe76d59a2bae07b884cca75304734762547557e1/CHANGELOG.md#020---2020-03-22 What version of the generator are we even using? |
export OPENAPI_GENERATOR_COMMIT="v4.3.0" python/scripts/update-client.sh Line 25 in 1992802
|
@yliaog the version v4.3.0 is prehistoric as well (current is 7.2.0) and I feel there is a zero chance that the upstream will entertain a patch at this point in time. Would you be amenable to a post-generation patch file similar to this? python/scripts/update-client.sh Line 75 in 1992802
|
@yliaog this has been fixed in the later versions, namely here: https://github.com/OpenAPITools/openapi-generator/blob/a5d3fb4f601e4bced19f39cb6d82799a71531282/samples/client/echo_api/python/openapi_client/rest.py#L54 Would you entertain a patch? |
a patch is fine, provide comment on why is the patch, and when it can be removed. |
fixes #2169
What type of PR is this?
/kind cleanup
/kind deprecation
What this PR does / why we need it:
Stop using deprecated urllib3 API.
Which issue(s) this PR fixes:
Fixes #2169
Special notes for your reviewer:
Does this PR introduce a user-facing change?
No.
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: