diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2023-03-19 10:54:09 +0100 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2023-03-19 11:23:30 +0100 |
commit | f821dbb599c67a2fa0d349b24f23bb6b8855368f (patch) | |
tree | f5796919f6d11d3deae6fdfae645781932cfd528 /.gitlab-ci/Dockerfile | |
parent | 960ef271edf9e6968d8c1d46bc8652576cd762c1 (diff) | |
download | pygobject-f821dbb599c67a2fa0d349b24f23bb6b8855368f.tar.gz |
Drop Python 3.7 support and update CI envs
Python 3.7 will be EOL in 3 months, so before the next release.
* Update the Python versions in the CI images
* Bump the docker base image from focal to jammy to test against a newer stack.
This triggers new deprecation warnings which we need to disable for now.
* Bump the old docker based image to from buster to bullseye, moving
from Python 3.7 to 3.9.
Diffstat (limited to '.gitlab-ci/Dockerfile')
-rw-r--r-- | .gitlab-ci/Dockerfile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/.gitlab-ci/Dockerfile b/.gitlab-ci/Dockerfile index 5883d913..6af00202 100644 --- a/.gitlab-ci/Dockerfile +++ b/.gitlab-ci/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:focal +FROM ubuntu:jammy ENV DEBIAN_FRONTEND=noninteractive @@ -43,10 +43,9 @@ ENV PYTHON_CONFIGURE_OPTS="--enable-shared" RUN curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash RUN pyenv install pypy3.8-7.3.11 -RUN pyenv install --debug 3.7.16 RUN pyenv install --debug 3.8.16 RUN pyenv install --debug 3.9.16 -RUN pyenv install --debug 3.10.9 -RUN pyenv install --debug 3.11.1 +RUN pyenv install --debug 3.10.10 +RUN pyenv install --debug 3.11.2 ENV PATH="/usr/lib/ccache:${PATH}" |