3030 persist-credentials : false
3131 - uses : actions/setup-python@v6
3232 with :
33- python-version : ' 3.13 '
33+ python-version : ' 3.14 '
3434 - uses : pre-commit/action@v3.0.1
3535 - run : pip install mypy numpy scipy vulture
3636 - run : mypy
@@ -77,11 +77,11 @@ jobs:
7777 python : ' 3.13'
7878 kind : conda
7979 - os : macos-latest # arm64 (Apple Silicon): Sequoia
80- python : ' 3.13 '
81- kind : mamba
80+ python : ' 3.14 '
81+ kind : pip
8282 - os : macos-15-intel # intel: Sequoia
8383 python : ' 3.13'
84- kind : mamba
84+ kind : pip
8585 - os : windows-latest
8686 python : ' 3.11'
8787 kind : mamba
@@ -123,31 +123,16 @@ jobs:
123123 with :
124124 python-version : ${{ matrix.python }}
125125 if : startswith(matrix.kind, 'pip')
126+ id : setup-python
127+ # Workaround macOS path behavior with login shells (which puts system Python first)
128+ - run : echo "export PATH=\"$(dirname ${{ steps.setup-python.outputs.python-path }}):$PATH\"" | tee -a ~/.bash_profile # zizmor: ignore[template-injection]
129+ if : startswith(matrix.kind, 'pip') && startswith(matrix.os, 'macos')
126130 # Python (if conda)
127- - name : Fixes for conda
128- run : |
129- # For some reason on Linux we get crashes
130- if [[ "$RUNNER_OS" == "Linux" ]]; then
131- sed -i "/numba/d" environment.yml
132- fi
133- # And on Windows and macOS PySide6.9.0 segfaults
134- if [[ "$RUNNER_OS" == "macOS" ]]; then
135- sed -i "" "s/ - PySide6 .*/ - PySide6 =6.9.2/g" environment.yml
136- sed -i "" "s/ - vtk .*/ - vtk =9.5.1/g" environment.yml
137-
138- else
139- sed -i "s/ - PySide6 .*/ - PySide6 =6.9.2/g" environment.yml
140- sed -i "s/ - vtk .*/ - vtk =9.5.1/g" environment.yml
141- if [[ "$RUNNER_OS" == "Windows" ]]; then
142- echo "MNE_IS_OSMESA=true" | tee -a $GITHUB_ENV
143- fi
144- fi
145- if : matrix.kind == 'conda' || matrix.kind == 'mamba'
146131 - uses : mamba-org/setup-micromamba@v3
147132 with :
148133 environment-file : ${{ env.CONDA_ENV }}
149134 environment-name : mne
150- log-level : ${{ runner.debug == '1' && 'debug' || ' info' }}
135+ log-level : ' info'
151136 create-args : >-
152137 python=${{ env.PYTHON_VERSION }}
153138 -v
@@ -162,6 +147,7 @@ jobs:
162147 **/pylock.ci-old.toml
163148 python-version : ${{ matrix.python }}
164149 if : matrix.kind == 'old'
150+ - run : bash ./tools/github_actions_verify_python.sh
165151 - run : bash ./tools/github_actions_dependencies.sh
166152 - run : python ./tools/github_actions_check_old_env.py
167153 if : matrix.kind == 'old'
0 commit comments