diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 90c83c8130a..da38f32d560 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,7 +43,7 @@ jobs: name: pypi url: https://pypi.org/p/mne steps: - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v5 with: name: dist path: dist diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index deff634aa03..b78825d7c9a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -50,7 +50,7 @@ jobs: pytest: name: '${{ matrix.os }} / ${{ matrix.kind }} / ${{ matrix.python }}' needs: style - timeout-minutes: 80 + timeout-minutes: 85 runs-on: ${{ matrix.os }} defaults: run: diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 31a0db70cec..d70e6864a1d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -251,9 +251,9 @@ stages: 3.10 pip: TEST_MODE: 'pip' PYTHON_VERSION: '3.10' - 3.12 pip pre: + 3.13 pip pre: TEST_MODE: 'pip-pre' - PYTHON_VERSION: '3.12' + PYTHON_VERSION: '3.13' steps: - task: UsePythonVersion@0 inputs: diff --git a/doc/install/installers.rst b/doc/install/installers.rst index 9d480b27e4b..5a16cc2ca66 100644 --- a/doc/install/installers.rst +++ b/doc/install/installers.rst @@ -17,7 +17,7 @@ Platform-specific installers :class-content: text-center :name: install-linux - .. button-link:: https://github.com/mne-tools/mne-installers/releases/download/v1.10.0/MNE-Python-1.10.0_0-Linux.sh + .. button-link:: https://github.com/mne-tools/mne-installers/releases/download/v1.10.1/MNE-Python-1.10.1_0-Linux.sh :ref-type: ref :color: primary :shadow: @@ -31,14 +31,14 @@ Platform-specific installers .. code-block:: console - $ sh ./MNE-Python-1.10.0_0-Linux.sh + $ sh ./MNE-Python-1.10.1_0-Linux.sh .. tab-item:: macOS (Intel) :class-content: text-center :name: install-macos-intel - .. button-link:: https://github.com/mne-tools/mne-installers/releases/download/v1.10.0/MNE-Python-1.10.0_0-macOS_Intel.pkg + .. button-link:: https://github.com/mne-tools/mne-installers/releases/download/v1.10.1/MNE-Python-1.10.1_0-macOS_Intel.pkg :ref-type: ref :color: primary :shadow: @@ -54,7 +54,7 @@ Platform-specific installers :class-content: text-center :name: install-macos-apple - .. button-link:: https://github.com/mne-tools/mne-installers/releases/download/v1.10.0/MNE-Python-1.10.0_0-macOS_M1.pkg + .. button-link:: https://github.com/mne-tools/mne-installers/releases/download/v1.10.1/MNE-Python-1.10.1_0-macOS_M1.pkg :ref-type: ref :color: primary :shadow: @@ -70,7 +70,7 @@ Platform-specific installers :class-content: text-center :name: install-windows - .. button-link:: https://github.com/mne-tools/mne-installers/releases/download/v1.10.0/MNE-Python-1.10.0_0-Windows.exe + .. button-link:: https://github.com/mne-tools/mne-installers/releases/download/v1.10.1/MNE-Python-1.10.1_0-Windows.exe :ref-type: ref :color: primary :shadow: @@ -156,7 +156,7 @@ To remove the MNE-Python distribution provided by our installers above: .. code-block:: bash $ which python - /home/username/mne-python/1.10.0_0/bin/python + /home/username/mne-python/1.10.1_0/bin/python $ rm -Rf /home/$USER/mne-python $ rm /home/$USER/.local/share/applications/mne-python-*.desktop @@ -170,7 +170,7 @@ To remove the MNE-Python distribution provided by our installers above: .. code-block:: bash $ which python - /Users/username/Applications/MNE-Python/1.10.0_0/.mne-python/bin/python + /Users/username/Applications/MNE-Python/1.10.1_0/.mne-python/bin/python $ rm -Rf /Users/$USER/Applications/MNE-Python # if user-specific $ rm -Rf /Applications/MNE-Python # if system-wide diff --git a/mne/_fiff/tests/test_meas_info.py b/mne/_fiff/tests/test_meas_info.py index b0150d00828..119829fce0a 100644 --- a/mne/_fiff/tests/test_meas_info.py +++ b/mne/_fiff/tests/test_meas_info.py @@ -953,6 +953,7 @@ def test_csr_csc(tmp_path): assert_array_equal(ct_read.toarray(), ct.toarray()) +@pytest.mark.slowtest @testing.requires_testing_data def test_check_compensation_consistency(): """Test check picks compensation.""" @@ -1067,6 +1068,7 @@ def test_invalid_subject_birthday(): assert "birthday" not in raw.info["subject_info"] +@pytest.mark.slowtest @pytest.mark.parametrize( "fname", [ diff --git a/mne/forward/tests/test_make_forward.py b/mne/forward/tests/test_make_forward.py index 0a6b86d60c1..6629dd0b3d1 100644 --- a/mne/forward/tests/test_make_forward.py +++ b/mne/forward/tests/test_make_forward.py @@ -431,6 +431,7 @@ def test_make_forward_solution_basic(): make_forward_solution(fname_raw, fname_trans, fname_src, fname_bem_meg) +@pytest.mark.slowtest @requires_openmeeg_mark() @pytest.mark.parametrize( "n_layers", diff --git a/mne/tests/test_source_estimate.py b/mne/tests/test_source_estimate.py index e4fa5a36b25..b64ba792a6c 100644 --- a/mne/tests/test_source_estimate.py +++ b/mne/tests/test_source_estimate.py @@ -1615,6 +1615,7 @@ def test_vol_adjacency(): assert np.all(adjacency2.data == 1) +@pytest.mark.slowtest @testing.requires_testing_data def test_spatial_src_adjacency(): """Test spatial adjacency functionality.""" diff --git a/mne/utils/tests/test_config.py b/mne/utils/tests/test_config.py index 7c4aa3c7bab..8d567583682 100644 --- a/mne/utils/tests/test_config.py +++ b/mne/utils/tests/test_config.py @@ -272,6 +272,7 @@ def _worker_update_config_loop(home_dir, worker_id, iterations=10): return worker_id +@pytest.mark.slowtest def test_parallel_get_set_config(tmp_path: Path): """Test that uses parallel workers to get and set config. diff --git a/tools/install_pre_requirements.sh b/tools/install_pre_requirements.sh index 24e705e50d7..3ab8a424daa 100755 --- a/tools/install_pre_requirements.sh +++ b/tools/install_pre_requirements.sh @@ -17,7 +17,8 @@ python -m pip install $STD_ARGS pip setuptools packaging \ threadpoolctl cycler fonttools kiwisolver pyparsing pillow python-dateutil \ patsy pytz tzdata nibabel tqdm trx-python joblib numexpr \ "$QT_BINDING!=6.9.1" \ - py-cpuinfo blosc2 hatchling "formulaic>=1.1.0" + py-cpuinfo blosc2 hatchling "formulaic>=1.1.0" \ + pyarrow python -m pip uninstall -yq numpy echo "::endgroup::" echo "::group::Scientific Python Nightly Wheels" @@ -29,12 +30,11 @@ python -m pip install $STD_ARGS --only-binary ":all:" --default-timeout=60 \ "matplotlib>=3.11.0.dev0" \ "pandas>=3.0.0.dev0" \ "dipy>=1.10.0.dev0" \ - "pyarrow>=20.0.0.dev0" \ "tables>=3.10.3.dev0" \ "statsmodels>=0.15.0.dev697" \ "h5py>=3.13.0" echo "::endgroup::" - +# No "pyarrow>=22.0.0.dev0" because of https://github.com/apache/arrow/issues/47308 # No Numba because it forces an old NumPy version echo "::group::VTK"