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

Depend on python3-legacy-cgi for F41+ #68

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

FrostyX
Copy link
Contributor

@FrostyX FrostyX commented Sep 10, 2024

Fix #64

The Python cgi module is deprecated since Python 3.11 and removed from the standard library since Python 3.13. According to PEP 594 https://peps.python.org/pep-0594/#cgi
there is no drop-in replacement for cgi.FieldStorage. Since we use it for POST requests, I spent a couple of hours trying to reimplement our code using python3-multipart but I am not getting closer to a working solution.

Let's not pay the technical debt yet and depend python3-legacy-cgi for as long as we can.

Fix release-engineering#64

The Python `cgi` module is deprecated since Python 3.11 and removed
from the standard library since Python 3.13. According to PEP 594
https://peps.python.org/pep-0594/#cgi
there is no drop-in replacement for `cgi.FieldStorage`. Since we use
it for POST requests, I spent a couple of hours trying to reimplement
our code using python3-multipart but I am not getting closer to a
working solution.

Let's not pay the technical debt yet and depend `python3-legacy-cgi`
for as long as we can.
Copy link
Member

@praiskup praiskup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@praiskup
Copy link
Member

This is breaking the CI. Merging early.

@praiskup praiskup merged commit e21e165 into release-engineering:main Sep 11, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FTBFS dist-git in Fedora Rawhide
3 participants