[wpt-sync] Sync PR 64027 - pywebsocket3: work on Python 3.15
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox162 fixed)
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 64027 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64027
Details from upstream follow.
Timothy Nikkel <tnikkel@gmail.com> wrote:
pywebsocket3: work on Python 3.15
Python 3.15 removed http.server.CGIHTTPRequestHandler. WebSocketRequestHandler
subclasses it, so importing pywebsocket3 fails and wpt serve can't start.wpt doesn't use pywebsocket3's CGI support, so subclass
SimpleHTTPRequestHandler instead, on every Python version so that CI runs the
same code as 3.15. Passing CGI paths to standalone.py now exits with an error.This isn't fixed upstream yet (GoogleChromeLabs/pywebsocket3#49), so like the
Python 3.12 fix in #45929 it's a change to the vendored copy.Tested on Python 3.15 by running websockets/ in Firefox, no unexpected results.
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•26 days ago
|
| Assignee | ||
Updated•26 days ago
|
| Assignee | ||
Updated•25 days ago
|
| Assignee | ||
Updated•25 days ago
|
| Assignee | ||
Updated•24 days ago
|
| Assignee | ||
Updated•24 days ago
|
| Assignee | ||
Updated•24 days ago
|
| Assignee | ||
Updated•24 days ago
|
| Assignee | ||
Updated•24 days ago
|
| Assignee | ||
Updated•24 days ago
|
| Assignee | ||
Updated•24 days ago
|
| Assignee | ||
Updated•24 days ago
|
| Assignee | ||
Updated•24 days ago
|
| Assignee | ||
Updated•24 days ago
|
| Assignee | ||
Updated•24 days ago
|
| Assignee | ||
Updated•24 days ago
|
| Assignee | ||
Updated•24 days ago
|
| Assignee | ||
Updated•24 days ago
|
| Assignee | ||
Updated•24 days ago
|
| Assignee | ||
Comment 1•24 days ago
|
||
The PR was not expected to affect any tests, but the try push wasn't a success. Check the try results for infrastructure issues
| Assignee | ||
Comment 3•19 days ago
|
||
Test result changes from PR not available.
Comment 4•18 days ago
|
||
| bugherder | ||
Description
•