[v24.x backport] build: test on Python 3.14 #61370
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Python v3.14 -- October 7th
PR-URL: #59983
Reviewed-By: Marco Ippolito [email protected]
Reviewed-By: Stefan Stojanovic [email protected]
Reviewed-By: Stewart X Addison [email protected]
Refs: #60874
Situation
Node.js 24.x (Active LTS) build fails with Python 3.14.
Python 3.14 is:
py install defaultChange
Backports #59983 (commit 8bc7dfd) to v24.x branch.
The commit message from the backport should be modified, removing the outdated "release candidate 3" text. It is currently:
Python 3.14 was released as GA on 2025-10-07 and is therefore no longer pre-release.
https://www.python.org/downloads/release/python-3140rc3/ states:
Use of the GitHub Actions' actions/setup-python flag setting
allow-prereleases: trueis removed from the backport as suggested by @richardlau in #60874 and explicitly requested by @aduh95. Since the workflow usesPYTHON_VERSION: '3.14'and this is a released Python version, the flag is not necessary.