You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug 1940455 [wpt PR 49970] - Add support for Python 3.13, a=testonly
Automatic update from web-platform-tests
Import fork of Python cgi library into wptserve
This code has been dropped from Python 3.13, but we depend on
FieldStorage as part of the request API. The easiest option here is to
directly import the code that we are already using (the last version
on the 3.12 branch, but with the deprecation warning removed), along
with a copy of the PSF License which covers the cgi module code.
--
Use vendored cgi lib in wptserve
--
Update third party deps for Python 3.13 support
--
Fix lock in QueueHandler class to be a dummy implementation of the Lock API
This is required since the logging module started using the lock as a context manager,
and calling the acquire and release methods.
--
Update getting context manager when running serve directly
Remove code only needed for Python < 3.4 and ensure that we always use the spawn
form of multiprocessing to avoid problems with fork and locks.
--
Update tox configurations to include Python 3.13
--
Update Azure configuration for Python 3.13
--
Update taskcluster configuration for Python 3.13
--
Exclude cgi code from flake8
--
Ignore errors in imported cgi module
Just adding this to the excludes doesn't work, because we still check the imported
code.
--
Add cgi tests
Lightly modified from the version in Python 3.12 as follows:
* Inlined check__all__ function
* Converted the use of ignore_warnings helper to use warning module directly
--
Update Pillow for Python>=3.9
--
Remove dep on typed-ast
This is no longer support in Python 3.13, and no longer required for Python>=3.8
--
Fix cgi tests to be compatible with behaviour of older Python versions
--
Add types to NullLock and rename to NullRLock
--
Update assert_png to check for magic bytes directly
This avoids the use of imghdr which was removed in Ptyhon 3.13
--
wpt-commits: c80b8b9f035ac4c9d8c238e8389caee6f76a97fc, c1fd85e0337d69ba3fdacd27b69ce25cf486d2ef, 36548a344ca86a9a8d3fe5968469dc49d2ce9931, d22ded6ced64889f09de80b309601521ce1a43d5, 5ddbf24f7390d28c992797353236660143d92599, 2ae5ea7bd1d3498e623ce4436cb26be3ab1a6d15, ac6d6f7bfbe74f647ebce82dc6b5c9c2cfdd7bc5, d1f396d8983543511f0208509a076a2072163815, 408f275bd0c40fe7d4895ce4eec75bf6c7f40ee7, 3f5d5c6a6c1b5e720804b7dd8db94d14dfbaf74d, 43595084855f54ce85d89aaebb4a5302bcb7270c, a0e0465d0d0238b56328d7237e63f71806b1ea59, 43dc34dd9389475155a50209035520b67d3a5a38, 16730d4b2572f230665aa653d6d98e7ec6e78d2c, 06f93bb52645f20f8c28547741e2161f97109393, 9f1d2f767cf880a5b1d6092b0cef4e356c0e7619
wpt-pr: 49970
0 commit comments