Skip to content

Commit f35aa5a

Browse files
authored
MAINT: Avoid problematic PySide6 (#12902)
1 parent 922a780 commit f35aa5a

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ stages:
111111
- bash: |
112112
set -e
113113
python -m pip install --progress-bar off --upgrade pip
114-
python -m pip install --progress-bar off "mne-qt-browser[opengl] @ git+https://github.com/mne-tools/mne-qt-browser.git@main" pyvista scikit-learn pytest-error-for-skips python-picard qtpy nibabel sphinx-gallery PySide6
114+
python -m pip install --progress-bar off "mne-qt-browser[opengl] @ git+https://github.com/mne-tools/mne-qt-browser.git@main" pyvista scikit-learn pytest-error-for-skips python-picard qtpy nibabel sphinx-gallery "PySide6!=6.8.0,!=6.8.0.1"
115115
python -m pip uninstall -yq mne
116116
python -m pip install --progress-bar off --upgrade -e .[test]
117117
displayName: 'Install dependencies with pip'
@@ -201,7 +201,7 @@ stages:
201201
displayName: 'PyQt6'
202202
- bash: |
203203
set -eo pipefail
204-
python -m pip install PySide6
204+
python -m pip install "PySide6!=6.8.0,!=6.8.0.1"
205205
mne sys_info -pd
206206
mne sys_info -pd | grep "qtpy .* (PySide6=.*)$"
207207
PYTEST_QT_API=PySide6 pytest ${TEST_OPTIONS}

environment.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: mne
22
channels:
33
- conda-forge
44
dependencies:
5-
- python>=3.10
5+
- python >=3.10
66
- pip
77
- numpy
88
- scipy
@@ -28,25 +28,25 @@ dependencies:
2828
- psutil
2929
- numexpr
3030
- imageio
31-
- spyder-kernels>=1.10.0
32-
- imageio>=2.6.1
33-
- imageio-ffmpeg>=0.4.1
34-
- vtk>=9.2
31+
- spyder-kernels >=1.10.0
32+
- imageio >=2.6.1
33+
- imageio-ffmpeg >=0.4.1
34+
- vtk >=9.2
3535
- traitlets
36-
- pyvista>=0.32,!=0.35.2,!=0.38.0,!=0.38.1,!=0.38.2,!=0.38.3,!=0.38.4,!=0.38.5,!=0.38.6,!=0.42.0
37-
- pyvistaqt>=0.4
38-
- qdarkstyle!=3.2.2
36+
- pyvista >=0.32,!=0.35.2,!=0.38.0,!=0.38.1,!=0.38.2,!=0.38.3,!=0.38.4,!=0.38.5,!=0.38.6,!=0.42.0
37+
- pyvistaqt >=0.4
38+
- qdarkstyle !=3.2.2
3939
- darkdetect
4040
- dipy
4141
- nibabel
42-
- openmeeg>=2.5.5
42+
- openmeeg >=2.5.5
4343
- nilearn
4444
- python-picard
4545
- qtpy
46-
- pyside6
46+
- pyside6 !=6.8.0,!=6.8.0.1
4747
- mne-base
4848
- seaborn-base
49-
- mffpy>=0.5.7
49+
- mffpy >=0.5.7
5050
- ipyevents
5151
- ipywidgets
5252
- ipympl
@@ -59,7 +59,7 @@ dependencies:
5959
- mne-qt-browser
6060
- pymatreader
6161
- eeglabio
62-
- edfio>=0.2.1
62+
- edfio >=0.2.1
6363
- pybv
6464
- mamba
6565
- lazy_loader

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ full-no-qt = [
133133
"xlrd",
134134
]
135135
full-pyqt6 = ["mne[full]"]
136-
full-pyside6 = ["mne[full-no-qt]", "PySide6!=6.7.0"]
136+
full-pyside6 = ["mne[full-no-qt]", "PySide6!=6.7.0,!=6.8.0,!=6.8.0.1"]
137137
# Dependencies for MNE-Python functions that use HDF5 I/O
138138
hdf5 = ["h5io>=0.2.4", "pymatreader"]
139139
# Dependencies for running the test infrastructure

0 commit comments

Comments
 (0)