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 animation test flakiness specific to Chrome for Testing (Dev & Canary) HOT 1
- ./wpt serve fails with Python 3.12 (default on fedora39) HOT 2
- Trusted types tests timeout in failure case HOT 1
- `./wpt run firefox` runs Firefox release instead of Nightly HOT 3
- Running wdspec directly via pytest is unable to collect all tests HOT 3
- [wdspec] add fixture to wait for several WebDriver BiDi events HOT 8
- XColumns class in anchor test?
- Passing a basename (alone) to manifest.load_and_update causes a FileNotFoundError
- paint-context-001.svg has incorrect expectation
- Chrome and Firefox are not installed with `--install-browser` flag for integration tests
- Race condition in css-contain/container-queries/font-relative-units-dynamic.html for `cap` & `rcap`?
- Trouble following "Chrome for Android" documentation
- Phuoc Nguyen
- update-expectations using fallback HOT 4
- html-aam/roles-contextual.html includes scenario that is recommended against by html-aria spec HOT 1
- `ImageData(buffer, w, opt h), Uint8ClampedArray argument type check` test fails for all browsers HOT 1
- Tests that compete for globally shared resources are flaky when run in parallel HOT 2
- Wrong expectations for percentage interpolation in text-decoration-thickness-interpolation.html
- `text-indent` does not affect the selected file label for file inputs
- pointerrawupdate is expected not to work in non-secure contexts
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.