wpt icon indicating copy to clipboard operation
wpt copied to clipboard

Support python 3.13

Open thislooksfun opened this issue 1 year ago • 1 comments

Python 3.13 is being aggressively installed by homebrew dependencies, so it's really hard for macOS users to avoid. Trying to run the tests using it fail with an error about _PyErr_WriteUnraisableMsg.

I did some digging and found that the error above is due to a reliance on zstandard==0.22.0. zstandard==0.23.0 fixes that build issue but then I ran into a cryptic traceback for "KeyError: 'version'" that I couldn't figure out how to resolve.

thislooksfun avatar Oct 12 '24 17:10 thislooksfun

@jgraham I saw you did work on updating to support 3.12 (#45929), would you be able to take a look at this?

thislooksfun avatar Oct 12 '24 17:10 thislooksfun

This is probably partly the fact that we quite possibly always just install into a _venv3, which means we don't actually re-install things when the ABI changes.

But more importantly I think this is needing to update cffi?

gsnedders avatar Oct 22 '24 16:10 gsnedders

I've started a pull request in #49503 to add Python 3.13 support. Help is welcome since there is still an issue where the tests fail inside the Python logging code and I don't know why.

MichaelMcDonnell avatar Dec 03 '24 21:12 MichaelMcDonnell

See also: #39359, about cgi being deprecated.

gsnedders avatar Jan 07 '25 18:01 gsnedders

Fixed via #49970

emilio avatar Mar 04 '25 12:03 emilio