Skip to content

Commit 992d101

Browse files
ci(testrunner): pin Cython below 3.3 on the 3.15 venv cache
EXT_CACHE_VENV installs Cython outside pyproject.toml, so PR 19861 does not cover it. Cython 3.3.0 cp315 wheels SIGSEGV on pre-rc1 3.15.
1 parent 496f6a1 commit 992d101

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.gitlab/templates/cached-testrunner.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,13 @@
1818
fi
1919
2020
source $EXT_CACHE_VENV/bin/activate
21-
python -m pip install cmake setuptools_rust Cython
21+
# Cython 3.3.0's cp315 wheel SIGSEGVs on pre-rc1 3.15. The pyproject.toml
22+
# [build-system] pin (#19861) does not apply to this EXT_CACHE_VENV install.
23+
if [ "$PYTHON_VERSION" = "3.15" ]; then
24+
python -m pip install cmake setuptools_rust 'Cython<3.3'
25+
else
26+
python -m pip install cmake setuptools_rust Cython
27+
fi
2228
python scripts/ext_cache.py restore
2329
deactivate
2430
after_script: |

0 commit comments

Comments
 (0)