From 6008892a97162f0b763e8ca408d2d39dc89e8f88 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20M=C3=B6bius?= <moebius@cs.rwth-aachen.de>
Date: Tue, 14 Nov 2023 12:18:22 +0100
Subject: [PATCH] Switch to python 3.12 on M1 Apple

---
 .gitlab-ci.yml | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5f1cff3..6d0edd5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -51,7 +51,7 @@ build-3.9-macos:
     paths:
       - dist3/
       
-build-3.9-macos-m1:
+build-3.12-macos-m1:
   stage:
     build
   tags:
@@ -60,7 +60,7 @@ build-3.9-macos-m1:
     GIT_SUBMODULE_STRATEGY: recursive
   script:
     - export PATH=/opt/local/bin:$PATH
-    - virtualenv -p python3.9 .
+    - virtualenv -p python3.12 .
     - source bin/activate
     - python setup.py bdist_wheel --dist-dir dist3
   artifacts:
@@ -110,17 +110,17 @@ test-3.9-macos:
     - cd tests
     - python -m unittest discover
 
-test-3.9-macos-m1:
+test-3.12-macos-m1:
   stage:
     test
   tags:
     - AppleM1
   dependencies:
-    - build-3.9-macos-m1
-  needs: [build-3.9-macos-m1]
+    - build-3.12-macos-m1
+  needs: [build-3.12-macos-m1]
   script:
     - export PATH=/opt/local/bin:$PATH
-    - virtualenv -p python3.9 .
+    - virtualenv -p python3.12 .
     - source bin/activate
     - pip install dist3/*.whl
     - cd tests
@@ -170,14 +170,14 @@ deploy-3.9-macos:
     paths:
       - release/*.whl
       
-deploy-3.9-macos-m1:
+deploy-3.12-macos-m1:
   stage:
     deploy
   tags:
     - AppleM1
   dependencies:
-    - build-3.9-macos-m1
-  needs: [build-3.9-macos-m1]
+    - build-3.12-macos-m1
+  needs: [build-3.12-macos-m1]
   script:
     - mkdir release
     - cp dist3/*.whl release
-- 
GitLab