From 1227fc9abfc725bd81512ab5cc5ee3a84f476f1f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Konrad=20V=C3=B6lkel?= <konrad.voelkel@hhu.de>
Date: Wed, 24 Apr 2024 21:45:38 +0000
Subject: [PATCH] Update .gitlab-ci.yml file

---
 .gitlab-ci.yml | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 275ccf5..2ac3999 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,16 +14,14 @@ jupyter-build:
   stage: build
   image: sphinxdoc/sphinx-latexpdf
   script:
-    - python3.11 -V  # Print out python version for debugging
-    - python3.11 -m pip install virtualenv
-    - python3.11 -m pip install --upgrade pip
-    - python3.11 -m pip install --upgrade setuptools
+    - alias python=python3.11
+    - python -V  # Print out python version for debugging
+    - pip install --upgrade pip
+    - pip install virtualenv
     - virtualenv venv
     - source venv/bin/activate
-    - python3.11 -m pip install --upgrade pip
-    - python3.11 -m pip install --upgrade setuptools # fix distutils problems?
-    - python3.11 -m pip install -r requirements.txt -v
-    - alias python=python3.11  # for jb clean ...
+    - pip install --upgrade setuptools # fix distutils problems?
+    - pip install -r requirements.txt -v
     - jupyter-book clean .
     - jupyter-book build . --builder html
     - jupyter-book build . --builder pdflatex
-- 
GitLab