Skip to content
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

Replace cgi which will be deprecated in Python 3.11 #2309

Merged
merged 2 commits into from
Aug 25, 2022

Conversation

florimondmanca
Copy link
Member

Prompted by #2302 which surfaced a warning in the upcoming Python 3.11 as cgi is being deprecated as per PEP-594.

@florimondmanca florimondmanca added the refactor Issues and PRs related to code refactoring label Jul 14, 2022
@j178
Copy link
Member

j178 commented Jul 15, 2022

There is another use in test_multipart.py actually.

httpx/_utils.py Outdated Show resolved Hide resolved
httpx/_utils.py Outdated Show resolved Hide resolved
@edmorley
Copy link

edmorley commented Nov 9, 2022

Hi! Do you have a rough idea of when the next release of httpx might be that includes this change? We use error on warnings in tests, and so currently need to filter this out via pytest's filterwarnings when running on Python 3.11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Issues and PRs related to code refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants