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

ansible: install Python 3.12 on RHEL 9 machines - #4484

Merged
richardlau merged 1 commit into
nodejs:mainfrom
richardlau:rhel9-release
Oct 7, 2026
Merged

richardlau merged 1 commit into
nodejs:mainfrom
richardlau:rhel9-release

Conversation

@richardlau

@richardlau richardlau commented Sep 25, 2026 •

Copy link
Copy Markdown
Member

System Python (3.9) is too old for Node.js' scripts. For the test machines, newer Python 3 was installed in tap2junit set up, but we do not install tap2junit on the release machines.

Install Python 3.12 as a virtualenv as part of baselayout, but do not replace /usr/bin/python3 so it continues to point to system Python 3.9 and not break dnf.

Refs: #4480 (comment)

@richardlau

Copy link
Copy Markdown
Member Author

Deployed. Retrying the failed nightlies: https://ci-release.nodejs.org/job/iojs+release/12114/

@richardlau

Copy link
Copy Markdown
Member Author

Deployed. Retrying the failed nightlies: https://ci-release.nodejs.org/job/iojs+release/12114/

Well that hasn't worked 😞. I think what I need to do is create a Python 3.14 venv in /home/iojs/venv/bin
https://ci-release.nodejs.org/job/iojs+release/12114/nodes=rhel9-x64-release/console

13:45:59 PATH=/home/iojs/venv/bin:/home/iojs/nghttp2/src:/home/iojs/wrk:/usr/lib/ccache:/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

System Python (3.9) is too old for Node.js' scripts. For the test
machines, newer Python 3 was installed in tap2junit set up, but we
do not install tap2junit on the release machines.

Install Python 3.12 as a virtualenv as part of baselayout, but do
not replace `/usr/bin/python3` so it continues to point to system
Python 3.9 and not break dnf.

Signed-off-by: Richard Lau <richard.lau@ibm.com>
@richardlau richardlau changed the title ansible: install Python 3.14 on RHEL 9 machines ansible: install Python 3.12 on RHEL 9 machines Sep 25, 2026
@richardlau

richardlau commented Sep 25, 2026 •

Copy link
Copy Markdown
Member Author

Updated to use a virtualenv. Picked Python 3.12 instead of 3.14 to match what the test machines are using to minimize variance.

Retrying nightly again: https://ci-release.nodejs.org/job/iojs+release/12115/
(It's passed the Python version check and is at least building. Will probably take a few hours given there's no prior ccache.)

@richardlau
richardlau merged commit 0cebb10 into nodejs:main Oct 7, 2026
1 check passed
@richardlau
richardlau deleted the rhel9-release branch October 7, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants