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

cgi and cgitb packages are deprecated and will be removed in Python 3.13 #79

Closed
cdent opened this issue Aug 26, 2023 · 3 comments
Closed

Comments

@cdent
Copy link
Collaborator

cdent commented Aug 26, 2023

Paste uses the cgi package extensively in the main code as well as in tests.

The package is deprecated and will be removed in Python 3.13.

The main functions used are escape and FieldStorage. Replacing escape is fairly straightforward, FieldStorage less so.

This issue has been created to highlight that this is coming.

cgitb is also used and will be removed in the same Python version.

Fixes from consumers of Paste encouraged.

@cdent cdent changed the title cgi package is deprecated and will be removed in Python 3.13 cgi and cgitb packages are deprecated and will be removed in Python 3.13 Aug 26, 2023
@ondrejj
Copy link

ondrejj commented Oct 25, 2023

Fedora build fails due to this problem. More info:

https://bugzilla.redhat.com/show_bug.cgi?id=2246056

@cdent
Copy link
Collaborator Author

cdent commented Oct 26, 2023

Fixes from consumers of Paste encouraged.

If Fedora needs to package Paste, then ideally someone from the Fedora community, or other distribution, would provide patches to address this issue.

From the README:

Paste is in maintenance mode and recently moved from bitbucket to github. Patches are accepted to keep it on life support, but for the most part, please consider using other options.

@cdent
Copy link
Collaborator Author

cdent commented May 1, 2024

Fixed in #92 #94 #95

@cdent cdent closed this as completed May 1, 2024
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

No branches or pull requests

2 participants