From 6175fed46b05fd64b20840861ae7e4f3c3a49519 Mon Sep 17 00:00:00 2001 From: fspreck <f.spreckelsen@indiscale.com> Date: Fri, 12 Apr 2024 15:54:23 +0200 Subject: [PATCH] PIPELINE: Install rust dependencies for 3.13 --- .gitlab-ci.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 48260ef2..eca5828e 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: -- GitLab