diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6d0edd5cd6c235545dbd4be39e7929dd7fb7da2a..8e1c8bbae0bc3d51d978519b3dcb8ec471988539 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -51,7 +51,7 @@ build-3.9-macos:
     paths:
       - dist3/
       
-build-3.12-macos-m1:
+build-3.11-macos-m1:
   stage:
     build
   tags:
@@ -60,7 +60,7 @@ build-3.12-macos-m1:
     GIT_SUBMODULE_STRATEGY: recursive
   script:
     - export PATH=/opt/local/bin:$PATH
-    - virtualenv -p python3.12 .
+    - virtualenv -p python3.11 .
     - 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.12-macos-m1:
+test-3.11-macos-m1:
   stage:
     test
   tags:
     - AppleM1
   dependencies:
-    - build-3.12-macos-m1
-  needs: [build-3.12-macos-m1]
+    - build-3.11-macos-m1
+  needs: [build-3.11-macos-m1]
   script:
     - export PATH=/opt/local/bin:$PATH
-    - virtualenv -p python3.12 .
+    - virtualenv -p python3.11 .
     - source bin/activate
     - pip install dist3/*.whl
     - cd tests
@@ -170,14 +170,14 @@ deploy-3.9-macos:
     paths:
       - release/*.whl
       
-deploy-3.12-macos-m1:
+deploy-3.11-macos-m1:
   stage:
     deploy
   tags:
     - AppleM1
   dependencies:
-    - build-3.12-macos-m1
-  needs: [build-3.12-macos-m1]
+    - build-3.11-macos-m1
+  needs: [build-3.11-macos-m1]
   script:
     - mkdir release
     - cp dist3/*.whl release