mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00

Python 3.8 went "end of life" in October 2024 and Fedora 42 dropped this version already, so the "python" CI job is currently failing. Thus it's time to drop support for this Python version in QEMU, too. While we're at it, also look for "python3.13" in the configure script. Message-ID: <20250425120710.879518-1-thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
26 lines
575 B
Docker
26 lines
575 B
Docker
# Python library testing environment
|
|
|
|
FROM fedora:latest
|
|
MAINTAINER John Snow <jsnow@redhat.com>
|
|
|
|
# Please keep this list sorted alphabetically
|
|
ENV PACKAGES \
|
|
gcc \
|
|
make \
|
|
python3 \
|
|
python3-pip \
|
|
python3-tox \
|
|
python3-virtualenv \
|
|
python3.10 \
|
|
python3.11 \
|
|
python3.12 \
|
|
python3.13 \
|
|
python3.9
|
|
|
|
RUN dnf install -y $PACKAGES
|
|
RUN rpm -q $PACKAGES | sort > /packages.txt
|
|
# As a final step configure the user (if env is defined)
|
|
ARG USER
|
|
ARG UID
|
|
RUN if [ "${USER}" ]; then \
|
|
id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi
|