Skip to content

Commit 655125a

Browse files
committed
Wheels: do not run the GUI backends test
test_display_sideeffects.py opens on screen windows: the view creation crashes on the headless macOS runners, and the Windows CPython used by cibuildwheel has no tkinter.
1 parent e4e14a5 commit 655125a

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎pyproject.toml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,10 @@ skip = ["*-musllinux_*"]
8282
build-verbosity = 1
8383
test-requires = ["pytest", "svgwrite>=1.4"]
8484
test-sources = ["test"]
85-
# the tests use paths relative to the test directory
86-
test-command = "python -c \"import os, sys, pytest; os.chdir('test'); sys.exit(pytest.main(['-q', '-p', 'no:cacheprovider']))\""
85+
# the tests use paths relative to the test directory. The GUI backends test
86+
# opens on screen windows: it crashes on the headless macOS runners, and the
87+
# Windows CPython used by cibuildwheel has no tkinter
88+
test-command = "python -c \"import os, sys, pytest; os.chdir('test'); sys.exit(pytest.main(['-q', '-p', 'no:cacheprovider', '--ignore=test_display_sideeffects.py']))\""
8789

8890
[tool.cibuildwheel.linux]
8991
archs = ["auto64"]

0 commit comments

Comments
 (0)