Comments (5)
Python 3.12 (released on October, and already included as the default Python version on some Linux distros) removes ssl.wrap_socket()
. And when you try running wptserve with Python 3.12, the errors you get are:
Failed to start HTTP server on port 8443; is something already using that port?
Please ensure all the necessary WPT subdomains are mapped to a loopback device in /etc/hosts.
See https://web-platform-tests.org/running-tests/from-local-system.html#system-setup for instructions.
Failed to start HTTP server on port 8444; is something already using that port?
Please ensure all the necessary WPT subdomains are mapped to a loopback device in /etc/hosts.
See https://web-platform-tests.org/running-tests/from-local-system.html#system-setup for instructions.
Failed to start HTTP server on port 8445; is something already using that port?
Please ensure all the necessary WPT subdomains are mapped to a loopback device in /etc/hosts.
See https://web-platform-tests.org/running-tests/from-local-system.html#system-setup for instructions.
Please ensure all the necessary WPT subdomains are mapped to a loopback device in /etc/hosts.
See https://web-platform-tests.org/running-tests/from-local-system.html#system-setup for instructions.
Failed to start HTTP server on port 8446; is something already using that port?
Please ensure all the necessary WPT subdomains are mapped to a loopback device in /etc/hosts.
See https://web-platform-tests.org/running-tests/from-local-system.html#system-setup for instructions.
which makes it seem like an issue with your system configuration, rather than anything wrong with wptserve.
Chromium seems to work around this by shipping a copy of Python 3.11 as part of their development tooling, and using that instead of the system-provided version. I'm not sure how the other major browsers deal with this; I ran into it when trying something on Servo.
from wpt.
Chromium seems to work around this by shipping a copy of Python 3.11 as part of their development tooling, and using that instead of the system-provided version. I'm not sure how the other major browsers deal with this; I ran into it when trying something on Servo.
For WebKit depends on the port; for the Apple ports we mostly assume (and only really support/defend) that people are using the Xcode-packaged Python, which for Xcode 15 is Python 3.9.
from wpt.
The wptserve side of this seemingly got fixed, completely coincidentally, in #44447.
@andreubotella I presume the WebSockets server fails to start and also shows up in the logs?
from wpt.
The wptserve side of this seemingly got fixed, completely coincidentally, in #44447.
@andreubotella I presume the WebSockets server fails to start and also shows up in the logs?
Oh, I didn't notice that! I was testing this with Servo's wpt submodule and with a local branch that I hadn't updated recently.
Indeed, in master
the only failure is for wss:
[2024-02-12 08:50:55,054 wss on port 53353] INFO - Create socket on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 53353))
[2024-02-12 08:50:55,054 wss on port 53353] CRITICAL - Please ensure all the necessary WPT subdomains are mapped to a loopback device in /etc/hosts.
See https://web-platform-tests.org/running-tests/from-local-system.html#system-setup for instructions.
from wpt.
Oh, I didn't notice that!
I mean I only noticed because my PR (#44428, which added tests which trigger this DeprecationWarning) now has a conflict!
from wpt.
Related Issues (20)
- [css-color] Tests assume old hsl()/hsla() clipping behavior or depend on unclear gamut mapping to sRGB HOT 9
- Add support for testing native find-in-page search results
- Are css/css-contain/contain-layout-baseline-005.html css/css-contain/contain-layout-button-001.html correct? HOT 8
- [css-color] css/css-color/parsing/color-computed-relative-color.html assumes conversion to hwb is lossless HOT 5
- The wpt Writing Tests documentation should be updated HOT 4
- infrastructure/testdriver/click_iframe_crossorigin.sub.html can fail in Firefox HOT 1
- REGRESSION(c3a572d): TypeError: can't compare offset-naive and offset-aware datetimes
- lint for tests with link rel=match and testharness.js
- Do not run tests for PRs still in draft mode HOT 1
- Fa
- Firefox Android runs missing since May 12
- tools/unittests (Python 3.12) are failing
- Lovely
- Azure Pipeline run queued and not restarted HOT 17
- iss
- tytg
- WebVTT rendering tests fail widely because of UA-specific cue backgrounds HOT 2
- Incorrect test added for text-transform HOT 4
- UAX 14 not strictly required by css-text HOT 2
- wpt.live lists files instead of tests HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wpt.