You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test_set_montage_artinis_basic fails on Python 3.14 #13577
Test failure while building on Python 3.14 (Darwin and Linux).
Steps to reproduce
n/a
Link to data
No response
Expected results
The test should pass (it's fine on Python 3.13)
Actual results
________________________ test_set_montage_artinis_basic ________________________
mne/channels/tests/test_standard_montage.py:296: in test_set_montage_artinis_basic
raw.set_montage("artinis-brite23")
<decorator-gen-22>:12: in set_montage
???
mne/_fiff/meas_info.py:429: in set_montage
_set_montage(info, montage, match_case, match_alias, on_missing)
mne/channels/montage.py:1407: in _set_montage
_set_montage_fnirs(info, mnt_head)
mne/channels/montage.py:1166: in _set_montage_fnirs
source_pos = montage.dig[montage.ch_names.index(source) + num_ficiduals]["r"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E ValueError: list.index(x): x not in list
During handling of the above exception, another exception occurred:
mne/channels/tests/test_standard_montage.py:295: in test_set_montage_artinis_basic
with pytest.raises(ValueError, match="is not in list"):
Activity
welcome commentedon Jan 6, 2026
Hello! 👋 Thanks for opening your first issue here! ❤️ We will try to get back to you soon. 🚴
python3Packages.mne: fix failing test on Python 3.14
python3Packages.mne: fix failing test on Python 3.14
larsoner commentedon Jan 7, 2026
Makes sense! Working on a fix now. Once it's in can you use a pinned version of
mainfrom GitHub or would it help for us to cut a 1.11.1?drammock commentedon Jan 7, 2026
This is pretty clearly just an error message change from py 3.13 to 3.14:
python3Packages.mne: fix failing test on Python 3.14
sarahec commentedon Jan 9, 2026
We can go either way. We'll probably wait for your next regular release and pick it up then.
python3Packages.mne: fix failing test on Python 3.14
python3Packages.mne: fix failing test on Python 3.14
python3Packages.mne: fix failing test on Python 3.14
python3Packages.mne: fix failing test on Python 3.14
python3Packages.mne: fix failing test on Python 3.14
python3Packages.mne: fix failing test on Python 3.14