Skip to content

Commit 1fb6074

Browse files
authored
[WIP] fix: possible fix for CCI breakage (#1238)
* [WIP] fix: possible fix for CCI breakage This is intended to resolve #1237. For some unknown reason, when I execute the notebook at `examples/workflows/plot_simulate_somato.py`, after installing `mne-1.11.0`. I can reproduce the issue. The issue reproduces only if Python is set to 3.13 or 3.12, but not 3.11. I think the key line in the script that is the problem is this https://github.com/jonescompneurolab/hnn-core/blob/master/examples/workflows/plot_simulate_somato.py#L45 I honestly don't know why this is suddenly an issue *now*, since it's been months since we changed the CircleCI Python version we use, and this notebook hasn't been touched in 3 years, and as far as I can tell the version of MNE being used in our CircleCI runs hasn't changed between this week and last week (both 1.11.0). I will note that the error only occurs if there is no pre-existing folder named `MNE-somato-data` in your `~/mne_data` folder. You must delete that folder every time in order to redownload it, and trigger the bug. The bug doesn't appear if you already have that folder. This PR may be good enough to fix our issue, but it's possible that we've identified some sort of weird upstream bug with `from mne.datasets import somato` that only occurs in rare situations. We should investigate and then tell MNE about it if the problem is inherent to them instead of to our notebook here. * debug: force full CircleCI rebuild py3.11
1 parent 47d854e commit 1fb6074

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.circleci/build_cache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Change the following version number to trigger a complete rebuild of the doc in CircleCI.
2-
v4
2+
v5

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
command: |
2929
export PATH=~/miniconda/bin:$PATH
3030
conda update --yes --quiet conda
31-
conda create -n testenv --yes pip python=3.13
31+
conda create -n testenv --yes pip python=3.11
3232
source activate testenv
3333
# necessary due to https://github.com/mpi4py/mpi4py/issues/335#issuecomment-1486366039
3434
rm $CONDA_PREFIX/compiler_compat/ld

0 commit comments

Comments
 (0)