Roundup Tracker - Issues

Message7936

Author rouilj
Recipients Heiko, rouilj, schlatterbeck
Date 2024-01-17.16:57:03
Message-id <1705510623.4.0.666246632266.issue2551274@roundup.psfhosted.org>
In-reply-to
> Now since FieldStorage is already deprecated in python (going away in 3.13) 

It's not just FieldStorage that is deprecated but all of cgi.py.

I have already vendored cgi.py under roundup/anypy/vendored/cgi.py so Roundup can
run under 3.13. This works (tested using a 3.13 alpha docker image).

Alternatives are discussed at:

  https://discuss.python.org/t/alternative-function-for-deprecated-cgi/21960/11

which addresses mostly wsgi (not CGI) use a, vendored cgi.py works.

When we drop python2 support, replacing cgi.py would be a more tractable project,
but the glib solutions to use the email module for parsing put/post bodies etc. are not
trivial replacements.
History
Date User Action Args
2024-01-17 16:57:03rouiljsetmessageid: <1705510623.4.0.666246632266.issue2551274@roundup.psfhosted.org>
2024-01-17 16:57:03rouiljsetrecipients: + rouilj, schlatterbeck, Heiko
2024-01-17 16:57:03rouiljlinkissue2551274 messages
2024-01-17 16:57:03rouiljcreate