CI: Update CentOS 9 to Python 3.13

This commit is contained in:
Tim Wojtulewicz 2025-08-19 09:35:49 -07:00
parent 8d89e035fd
commit 963ee89528
2 changed files with 9 additions and 3 deletions

2
NEWS
View file

@ -11,6 +11,8 @@ We would like to thank ... for their contributions to this release.
Breaking Changes
----------------
- Python 3.10 is now required for Zeek and all of its associated subprojects.
- The ``&optional`` script attribute will now error when applied to anything that's
not a record field. Previously, this would have surprising behavior.

View file

@ -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