From e0e67c973b12c1dddaad6c2e12035ab8032be7cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Corn=C3=A9=20Lukken?= <lukken@astron.nl>
Date: Wed, 23 Apr 2025 13:52:37 +0000
Subject: [PATCH] Limit python version to 3.12

---
 .gitlab-ci.yml              | 4 +++-
 docker/ci-runner/Dockerfile | 2 +-
 tox.ini                     | 2 +-
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2b625b4..3ab468a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,7 @@
 default:
-  image: $CI_REGISTRY_IMAGE/ci-build-runner:$CI_COMMIT_REF_SLUG
+  image:
+    name: $CI_REGISTRY_IMAGE/ci-build-runner:$CI_COMMIT_REF_SLUG
+    pull_policy: "always"
   before_script:
     - python --version # For debugging
   cache:
diff --git a/docker/ci-runner/Dockerfile b/docker/ci-runner/Dockerfile
index f6155b7..6268a1a 100644
--- a/docker/ci-runner/Dockerfile
+++ b/docker/ci-runner/Dockerfile
@@ -1,4 +1,4 @@
-FROM python:3.13
+FROM python:3.12
 
 RUN python -m pip install --upgrade pip
 RUN pip install --upgrade tox twine
diff --git a/tox.ini b/tox.ini
index 0624c2a..7991ecf 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
 [tox]
 # Generative environment list to test all supported Python versions
-envlist = py3{9,10,11,12,13},black,pep8,pylint
+envlist = py3{9,10,11,12},black,pep8,pylint
 min_version = 4.3.3
 requires =
     tox-ignore-env-name-mismatch >= 0.2.0
-- 
GitLab