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

Tempita dependency uses cgi and is thus not compatible with Python 3.13 #33

Closed
kiilerix opened this issue Sep 22, 2024 · 5 comments
Closed

Comments

@kiilerix
Copy link

Gearbox depends on https://pypi.org/project/Tempita/ which seems to be quite dead. http://pythonpaste.org/tempita/ doesn't work and I don't know if they have an issue tracker.

tempita uses cgi.escape . cgi was removed in Python 3.13 . Gearbox and TurboGears thus doesn't seem to support Python 3.13 .

@kiilerix
Copy link
Author

Pylons/webob#437 is also a problem for proper support for Python 3.13 .

In both cases, it can be worked around by installing legacy-cgi from pypi.

@amol-
Copy link
Member

amol- commented Sep 27, 2024

cgi removal has been a TODO for a while, removing it in TurboGears and associated projects is easy, but so far the blocker has been WebOb. Until WebOb removes CGI dependency, it doesn't make much sense for TurboGears to do so.

@kiilerix
Copy link
Author

But since WebOb didn't catch up yet, it might be a dead dependency that will have to be replaced by something else.

@amol-
Copy link
Member

amol- commented Sep 29, 2024

But since WebOb didn't catch up yet, it might be a dead dependency that will have to be replaced by something else.

I think that including https://pypi.org/project/legacy-cgi/ in the dependencies of TurboGears might be a reasonable fix for the moment. I'll try to reach to WebOb maintainers and see what's blocking the removal.

Regarding Tempita, there is a TurboGears fork: https://github.com/TurboGears/tempita and I'm already talking with maintainers to get permissions to cut releases.

@amol-
Copy link
Member

amol- commented Nov 12, 2024

Tempita 0.6.0 has been released on PyPi and no longer depends on cgi module

@amol- amol- closed this as completed Nov 12, 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