Skip to content

Commit 7f14650

Browse files
committed
ci: Skip GUI backends on 3.15 for now
We can re-enable these once the packages have tested wheels available, and Tk doesn't freeze.
1 parent 1ce3b3c commit 7f14650

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎.github/workflows/tests.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ jobs:
252252
# Sphinx is needed to run sphinxext tests
253253
python -m pip install --upgrade sphinx!=6.1.2
254254
255-
if [[ "${{ matrix.python-version }}" != 3.*t ]]; then
255+
if [[ "${{ matrix.python-version }}" != 3.*t && "${{ matrix.python-version }}" != 3.15 ]]; then
256256
# GUI toolkits are pip-installable only for some versions of Python
257257
# so don't fail if we can't install them. Make it easier to check
258258
# whether the install was successful by trying to import the toolkit
@@ -334,6 +334,9 @@ jobs:
334334
if [[ "${{ matrix.python-version }}" == 3.*t ]]; then
335335
export PYTHON_GIL=0
336336
fi
337+
if [[ "${{ matrix.python-version }}" == 3.15* ]]; then
338+
export PYTEST_ADDOPTS="-k 'not test_backends_interactive'"
339+
fi
337340
pytest -rfEsXR -n auto \
338341
--maxfail=50 --timeout=300 --durations=25 \
339342
--cov-report=xml --cov=lib --log-level=DEBUG --color=yes

0 commit comments

Comments
 (0)