spyne icon indicating copy to clipboard operation
spyne copied to clipboard

Replace cgi.parse_header() with custom function for Python 3.13 compat

Open t-8ch opened this issue 1 year ago • 2 comments

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 #712

Note: There is another usage of cgi in spyne/server/twisted/http.py, but I have no idea how twisted works, and it's not part of my usecase.

@bgermann Could you give this a try in the Debian packaging?

t-8ch avatar Oct 09 '24 07:10 t-8ch

With this, one test fails even with Python 3.12.

bgermann avatar Oct 09 '24 08:10 bgermann

@bgermann Please try again

t-8ch avatar Oct 09 '24 11:10 t-8ch

what's holding this one up?

hansnoir avatar Jun 25 '25 11:06 hansnoir