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

Python 3.13: Replace cgi module #712

Open
bgermann opened this issue Sep 19, 2024 · 1 comment · May be fixed by #713
Open

Python 3.13: Replace cgi module #712

bgermann opened this issue Sep 19, 2024 · 1 comment · May be fixed by #713

Comments

@bgermann
Copy link

Describe the bug
PEP 594 has led to the removal of the cgi module in Python 3.13.
spyne makes use of that module.

To Reproduce
Running the test suite fails with
E ModuleNotFoundError: No module named 'cgi'

Additional context
This was reported as Debian bug #1082317.

@bgermann
Copy link
Author

bgermann commented Oct 8, 2024

@t-8ch You probably want to fix this to keep Elbe building with Debian trixie.

t-8ch added a commit to t-8ch/spyne that referenced this issue Oct 9, 2024
The cgi module has been deprecated since Python 3.11 and got removed in
Python 3.13. Replace the cgi.parse_header() function with a custom one,
as recommended by the Python documentation.

Closes arskom#712
t-8ch added a commit to t-8ch/spyne that referenced this issue Oct 9, 2024
The cgi module has been deprecated since Python 3.11 and got removed in
Python 3.13. Replace the cgi.parse_header() function with a custom one,
as recommended by the Python documentation.

Closes arskom#712
t-8ch added a commit to t-8ch/spyne that referenced this issue Oct 9, 2024
The cgi module has been deprecated since Python 3.11 and got removed in
Python 3.13. Replace the cgi.parse_header() function with a custom one,
as recommended by the Python documentation.

Closes arskom#712
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant