Skip to content

Commit 71d782a

Browse files
committed
ci: use pure-Python PyYAML for Windows Python 3.15 tests
Disable the optional LibYAML extension before test dependency installation. Python 3.15 has no matching PyYAML wheel, and GPU test runners do not configure MSVC. Validated a source-built pure-Python wheel with an unavailable compiler; 268 CI-tool and Core tests plus 55 subtests passed against it.
1 parent be28657 commit 71d782a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎.github/workflows/test-wheel-windows.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,13 +336,15 @@ jobs:
336336
# TODO: remove allow-prereleases once 3.15 is officially supported
337337
allow-prereleases: ${{ startsWith(matrix.PY_VER, '3.15') }}
338338

339-
- name: Enable Scientific Python Nightly Wheels for Python 3.15
339+
- name: Configure test dependencies for Python 3.15
340340
if: ${{ (env.TEST_BINDINGS == 'true' || env.TEST_CORE == 'true' || env.TEST_PYTHON == 'true') &&
341341
startsWith(matrix.PY_VER, '3.15') }}
342342
shell: bash --noprofile --norc -xeuo pipefail {0}
343343
run: |
344344
echo "PIP_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple" >> "$GITHUB_ENV"
345345
echo "PIP_ONLY_BINARY=numpy" >> "$GITHUB_ENV"
346+
# PyYAML has no cp315 wheels; use its pure-Python build without MSVC.
347+
echo "PYYAML_FORCE_LIBYAML=0" >> "$GITHUB_ENV"
346348
347349
- name: Verify LongPathsEnabled
348350
run: |

0 commit comments

Comments
 (0)