Skip to content
Snippets Groups Projects

Add python 3.14 release candidate to advancedtools pipeline

Merged I. Nüske requested to merge f-add-py314-to-pipeline into dev
1 file
+ 22
0
Compare changes
  • Side-by-side
  • Inline
+ 22
0
@@ -162,6 +162,28 @@ unittest_py313:
@@ -162,6 +162,28 @@ unittest_py313:
image: python:3.13
image: python:3.13
script: *python_test_script
script: *python_test_script
 
unittest_py314:
 
allow_failure: true # remove on release
 
tags: [docker]
 
stage: unittest
 
image: python:3.14-rc
 
script: # replace by '*python_test_script' on release
 
# Install cargo manually, source its env, and set it to accept 3.14 as interpreter
 
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
 
- . "$HOME/.cargo/env"
 
- export PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1
 
# Install hdf5 dependencies
 
- apt-get update -y
 
- apt-get install -y pkg-config libhdf5-dev
 
# Install packages
 
- pip install --break-system-packages git+https://gitlab.indiscale.com/caosdb/src/caosdb-pylib.git@dev
 
- pip install --break-system-packages .[all]
 
# Force pytest to current version as 6.x is incompatible with 3.14
 
- pip install --upgrade pip
 
- pip install pytest==8.3.4
 
# Run tests
 
- pytest --cov=caosadvancedtools unittests
 
# Build the sphinx documentation and make it ready for deployment by Gitlab Pages
# Build the sphinx documentation and make it ready for deployment by Gitlab Pages
# Special job for serving a static website. See https://docs.gitlab.com/ee/ci/yaml/README.html#pages
# Special job for serving a static website. See https://docs.gitlab.com/ee/ci/yaml/README.html#pages
pages_prepare: &pages_prepare
pages_prepare: &pages_prepare
Loading