diff --git a/ci/centos-stream-9/Dockerfile b/ci/centos-stream-9/Dockerfile index ad8b6e7a70..0c0451f06c 100644 --- a/ci/centos-stream-9/Dockerfile +++ b/ci/centos-stream-9/Dockerfile @@ -34,9 +34,9 @@ RUN dnf -y --nobest install \ openssl \ openssl-devel \ procps-ng \ - python3 \ - python3-devel \ - python3-pip\ + python3.13 \ + python3.13-devel \ + python3.13-pip\ sqlite \ swig \ 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 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