File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -167,7 +167,6 @@ stages:
167167 displayName : Check Qt import
168168 - bash : |
169169 set -xeo pipefail
170- python -m pip install "PySide6!=6.8.0,!=6.8.0.1,!=6.9.1"
171170 mne sys_info -pd
172171 mne sys_info -pd | grep "qtpy .* (PySide6=.*)$"
173172 export MNE_TEST_ALLOW_SKIP="^.*PySide6 causes segfaults.*$"
@@ -176,6 +175,7 @@ stages:
176175 displayName: PySide6
177176 - bash : |
178177 set -xeo pipefail
178+ python -m pip install PyQt6
179179 mne sys_info -pd
180180 mne sys_info -pd | grep "qtpy .* (PyQt6=.*)$"
181181 PYTEST_QT_API=PyQt6 pytest -m "not ultraslowtest" ${TEST_OPTIONS}
Original file line number Diff line number Diff line change @@ -384,6 +384,8 @@ def test_gui_api_qt(renderer_interactive_pyvistaqt):
384384 """Test GUI API with the Qt backend."""
385385 from qtpy import API_NAME as api
386386
387- if os .getenv ("AZURE_CI" ) == "true" and api == "PySide6" :
388- pytest .skip ("PySide6 causes segfaults on Azure" )
387+ if (
388+ os .getenv ("AZURE_CI" ) == "true" or os .getenv ("GITHUB_ACTIONS" ) == "true"
389+ ) and api == "PySide6" :
390+ pytest .skip ("PySide6 causes intermittent segfaults on CIs" )
389391 test_gui_api_notebook (None , None , backend = "qt" )
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ if [[ "$MNE_CI_KIND" == "pip"* ]] || [[ "$MNE_CI_KIND" == "minimal" ]]; then
88 # We should test an eager import somewhere, might as well be here
99 echo " EAGER_IMPORT=true" | tee -a $GITHUB_ENV
1010 # Make sure nothing unexpected is skipped
11- echo " MNE_TEST_ALLOW_SKIP=.*(Requires (spm|brainstorm) dataset| CUDA not|Numba not).*" | tee -a $GITHUB_ENV
11+ echo " MNE_TEST_ALLOW_SKIP=.*(CUDA not|Numba not|PySide6 causes segfaults ).*" | tee -a $GITHUB_ENV
1212 fi
1313 echo " MNE_QT_BACKEND=PySide6" | tee -a $GITHUB_ENV
1414elif [[ " $MNE_CI_KIND " == " old" ]]; then
@@ -19,7 +19,7 @@ elif [[ "$MNE_CI_KIND" == "conda" ]]; then
1919 echo " Setting conda env vars for $MNE_CI_KIND "
2020 echo " CONDA_ENV=environment.yml" | tee -a $GITHUB_ENV
2121 echo " MNE_LOGGING_LEVEL=warning" | tee -a $GITHUB_ENV
22- echo " MNE_TEST_ALLOW_SKIP=.*(Requires (spm|brainstorm) dataset| CUDA not|Accelerate|Flakey verbose behavior).*" | tee -a $GITHUB_ENV
22+ echo " MNE_TEST_ALLOW_SKIP=.*(CUDA not|Accelerate|Flakey verbose behavior|PySide6 causes segfaults ).*" | tee -a $GITHUB_ENV
2323 # Our cache_dir test has problems when the path is too long, so prevent it from getting too long
2424 if [[ " $CI_OS_NAME " == " macos" * ]]; then
2525 echo " PYTEST_DEBUG_TEMPROOT=/tmp" | tee -a $GITHUB_ENV
You can’t perform that action at this time.
0 commit comments