diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 48260ef28fa4644262c008ac58e702afeac51606..eca5828e1ceb96b2c1f1e86c828c90cdf7fbd290 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -70,7 +70,6 @@ unittest_py3.8:
   script: &python_test_script
     # Python docker has problems with tox and pip so use plain pytest here
     - touch ~/.pylinkahead.ini
-    - pip install 'cargo;python_version>="3.13"'  # TODO: Check whether this is still necessary after an official 3.13 release
     - pip install pynose pytest pytest-cov jsonschema>=4.4.0 setuptools
     - pip install .
     - python -m pytest unittests
@@ -115,8 +114,14 @@ unittest_py3.13:
   stage: test
   needs: [ ]
   image: python:3.13-rc
-  script: *python_test_script
-
+  script:
+    # TODO: Replace by '*python_test_script' as soon as 3.13 has been officially released.
+    # Python docker has problems with tox and pip so use plain pytest here
+    - apt update && apt install cargo
+    - touch ~/.pylinkahead.ini
+    - pip install pynose pytest pytest-cov jsonschema>=4.4.0 setuptools
+    - pip install .
+    - python -m pytest unittests
 
 # Trigger building of server image and integration tests
 trigger_build: