镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

[v7.x] ci: use Python 3.14 for the WPT server on macOS (#6029) - #6069

Open
mrityunjay-pandey wants to merge 1 commit into
nodejs:v7.xfrom
mrityunjay-pandey:backport/v7.x-ci-macos-python
Open

mrityunjay-pandey wants to merge 1 commit into
nodejs:v7.xfrom
mrityunjay-pandey:backport/v7.x-ci-macos-python

Conversation

@mrityunjay-pandey

Copy link
Copy Markdown
Contributor

This relates to...

Backport of #6029 to v7.x.

Rationale

The macOS runner image ships Python 3.15, which removed http.server.CGIHTTPRequestHandler. pywebsocket3, which the WPT server uses, still imports it, so every "Test with Node.js N on macos-latest" job fails on v7.x. That affects every open v7.x pull request, for example #6024 and #6036–#6039. #6029 fixed this on main by pinning Python 3.14 on macOS. This applies the same step to v7.x.

Changes

Features

N/A

Bug Fixes

N/A (CI only)

Breaking Changes and Deprecations

N/A

Status

The macOS jobs of this PR's own CI run show whether the fix works on v7.x.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.16%. Comparing base (14c296f) to head (6a2d1ef).

Additional details and impacted files
@@           Coverage Diff           @@
##             v7.x    #6069   +/-   ##
=======================================
  Coverage   93.16%   93.16%           
=======================================
  Files         112      112           
  Lines       37632    37632           
=======================================
+ Hits        35059    35060    +1     
+ Misses       2573     2572    -1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants