Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .gitlab/templates/cached-testrunner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@
fi

source $EXT_CACHE_VENV/bin/activate
python -m pip install cmake setuptools_rust Cython
# Cython 3.3.0's cp315 wheel SIGSEGVs on pre-rc1 3.15. The pyproject.toml
# [build-system] pin (#19861) does not apply to this EXT_CACHE_VENV install.
if [ "$PYTHON_VERSION" = "3.15" ]; then
python -m pip install cmake setuptools_rust 'Cython<3.3'
else
python -m pip install cmake setuptools_rust Cython
fi
python scripts/ext_cache.py restore
deactivate
after_script: |
Expand Down
7 changes: 5 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,11 @@ COPY .python-version /home/bits/
# Allow running datadog-ci in CI with npx
RUN npm install -g @datadog/datadog-ci

# Install pyenv and necessary Python versions
RUN git clone --depth 1 --branch "v2.6.31" https://github.com/pyenv/pyenv "${PYENV_ROOT}" \
# Install pyenv and necessary Python versions.
# 3.15-dev is a rolling CPython 3.15 branch clone. Bumping pyenv retriggers
# .github/workflows/testrunner.yml so the image is not stuck on 3.15.0b3+dev
# (Jun 30 2026); rc1-built cp315 wheels fail to import on that interpreter.
RUN git clone --depth 1 --branch "v2.8.4" https://github.com/pyenv/pyenv "${PYENV_ROOT}" \
&& pyenv local | xargs -L 1 pyenv install \
&& cd -

Expand Down
Loading