Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Python 3.13 and Pyramid

42 views
Skip to first unread message

Laurent Daverio

unread,
Oct 22, 2024, 5:45:41 PM10/22/24
to pylons-...@googlegroups.com
Hello List,

I'm trying Python 3.13 for the first time today (better late than never), and my CI tests seem to indicate that Pyramid might have problems with Python 3.13, because Pyramid requires WebOb, which requires cgi, and cgi seems to have been removed from the standard library in 3.13. From the Github issues I see there might be other problems, but I was wondering what the roadmap was :)

Thanks in advance,
Laurent.

 

Theron Luhn

unread,
Oct 22, 2024, 5:49:31 PM10/22/24
to 'Jonathan Vanasco' via pylons-discuss
I’ve opened a PR to fix the 1.8 branch, so hopefully we can get a release soon.  https://github.com/Pylons/webob/pull/469

In the meantime, workaround is to install the `legacy-cgi` package.

— Theron



--
You received this message because you are subscribed to the Google Groups "pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/CAB7cU6wABSop5B7aHnaJCnL1vMQaKEfo%2B3SBrBNtSfFCF0267w%40mail.gmail.com.

Laurent Daverio

unread,
Oct 22, 2024, 5:54:51 PM10/22/24
to pylons-...@googlegroups.com
Oh, many thanks for the info :) I had checked out the Github issues, but I had overlooked the PRs, sorry :/

As for me, I don't need Python 3.13 just yet: FreeBSD ports have been stuck at 3.11 for months, and Debian 12 also uses 3.11. So, I will probably stay with that version for now.

Laurent Daverio

unread,
Oct 22, 2024, 6:09:00 PM10/22/24
to pylons-...@googlegroups.com
I've added :
"legacy-cgi>=2.6; python_version>='3.13'",
in my `pyproject.toml`file, as suggested by the PR discussions, and it fixed the tests for me :) Thanks again!

Laurent.

Delta Regeer

unread,
Oct 23, 2024, 5:25:38 PM10/23/24
to pylons-...@googlegroups.com
I’ll try and get to this tonight.

Delta Regeer

unread,
Oct 23, 2024, 11:20:55 PM10/23/24
to pylons-...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages