CI: Update CentOS 9 to Python 3.13

(cherry picked from commit 963ee89528)
This commit is contained in:
Tim Wojtulewicz 2025-08-19 09:35:49 -07:00
parent 347684685d
commit 80bddf9953

View file

@ -34,9 +34,9 @@ RUN dnf -y --nobest install \
openssl \ openssl \
openssl-devel \ openssl-devel \
procps-ng \ procps-ng \
python3 \ python3.13 \
python3-devel \ python3.13-devel \
python3-pip\ python3.13-pip\
sqlite \ sqlite \
swig \ swig \
tar \ tar \
@ -47,4 +47,8 @@ RUN dnf -y --nobest install \
# Set the crypto policy to allow SHA-1 certificates - which we have in our tests # Set the crypto policy to allow SHA-1 certificates - which we have in our tests
RUN dnf -y --nobest install crypto-policies-scripts && update-crypto-policies --set LEGACY RUN dnf -y --nobest install crypto-policies-scripts && update-crypto-policies --set LEGACY
# Override the default python3.9 installation paths with 3.13
RUN alternatives --install /usr/bin/python3 python3 /usr/bin/python3.13 10
RUN alternatives --install /usr/bin/pip3 pip3 /usr/bin/pip3.13 10
RUN pip3 install websockets junit2html RUN pip3 install websockets junit2html