Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
129 commits
Select commit Hold shift + click to select a range
c16a415
Try use mne-tools action [ci skip]
tsbinns Jun 20, 2026
5def57d
Try to get it to show [skip azp][skip circle]
tsbinns Jun 20, 2026
f0c69bb
Try commit changes [ci skip]
tsbinns Jun 20, 2026
787941b
Try commit changes [ci skip]
tsbinns Jun 20, 2026
37a8300
Just look for diff [ci skip]
tsbinns Jun 20, 2026
7e3260c
Add extended metadata
tsbinns Jun 27, 2026
eb59393
Add other tool calls
tsbinns Jun 27, 2026
e581e39
[skip azp][skip circle]
tsbinns Jun 27, 2026
422eda7
[skip azp][skip circle]
tsbinns Jun 27, 2026
51bce86
[skip azp][skip circle]
tsbinns Jun 27, 2026
edcede6
Update names [skip azp][skip circle]
tsbinns Jun 27, 2026
32177d6
[skip azp][skip circle]
tsbinns Jun 27, 2026
66f3e19
[skip azp][skip circle]
tsbinns Jun 27, 2026
f1ba9df
Update extended metadata [skip azp][skip circle]
tsbinns Jun 27, 2026
7d0656a
[skip azp][skip circle]
tsbinns Jun 27, 2026
ffdc9d0
[skip azp][skip circle]
tsbinns Jun 27, 2026
e099076
[skip azp][skip circle]
tsbinns Jun 27, 2026
7f5a3a4
Update yamllint rules
tsbinns Jun 27, 2026
9ab0346
[skip azp][skip circle]
tsbinns Jun 27, 2026
16e36b2
Add jobs to autofix
tsbinns Jun 30, 2026
98283d0
[skip azp][skip circle]
tsbinns Jun 30, 2026
7f3e9c9
Merge branch 'main' into test_tools
tsbinns Jun 30, 2026
2a28a6e
[skip azp][skip circle]
tsbinns Jun 30, 2026
a2ca5a6
[autofix.ci] apply automated fixes
autofix-ci[bot] Jun 30, 2026
852cf8e
[autofix.ci] apply automated fixes (attempt 2/3)
autofix-ci[bot] Jun 30, 2026
6e1d389
[autofix.ci] apply automated fixes (attempt 3/3)
autofix-ci[bot] Jun 30, 2026
e3b9265
[skip azp][skip circle]
tsbinns Jun 30, 2026
ef0072b
Merge branch 'test_tools' of https://github.com/tsbinns/mne-python in…
tsbinns Jun 30, 2026
5c11f82
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 30, 2026
68534d3
[autofix.ci] apply automated fixes
autofix-ci[bot] Jun 30, 2026
22eb0b1
Remove env update from pre-commit [skip azp][skip circle]
tsbinns Jun 30, 2026
e7d1b0a
Merge branch 'test_tools' of https://github.com/tsbinns/mne-python in…
tsbinns Jun 30, 2026
99b313d
[autofix.ci] apply automated fixes
autofix-ci[bot] Jun 30, 2026
0da3a47
[autofix.ci] apply automated fixes (attempt 2/3)
autofix-ci[bot] Jun 30, 2026
739727e
[autofix.ci] apply automated fixes (attempt 3/3)
autofix-ci[bot] Jun 30, 2026
7968dbf
[skip azp][skip circle]
tsbinns Jul 1, 2026
09a38fe
[autofix.ci] apply automated fixes
autofix-ci[bot] Jul 1, 2026
74b4f83
[autofix.ci] apply automated fixes (attempt 2/3)
autofix-ci[bot] Jul 1, 2026
8223578
[autofix.ci] apply automated fixes (attempt 3/3)
autofix-ci[bot] Jul 1, 2026
7705b4b
Test env checking [skip azp][skip circle]
tsbinns Jul 1, 2026
97f5da6
Merge branch 'test_tools' of https://github.com/tsbinns/mne-python in…
tsbinns Jul 1, 2026
4ca358d
[autofix.ci] apply automated fixes
autofix-ci[bot] Jul 1, 2026
c28dae1
[autofix.ci] apply automated fixes (attempt 2/3)
autofix-ci[bot] Jul 1, 2026
ef67a87
[autofix.ci] apply automated fixes (attempt 3/3)
autofix-ci[bot] Jul 1, 2026
4eaf83e
Test env checking [skip azp][skip circle]
tsbinns Jul 1, 2026
d483288
Reduce codemeta noise [skip azp][skip circle]
tsbinns Jul 1, 2026
eab3c5c
Merge branch 'test_tools' of https://github.com/tsbinns/mne-python in…
tsbinns Jul 1, 2026
e74215c
[autofix.ci] apply automated fixes
autofix-ci[bot] Jul 1, 2026
02565da
[autofix.ci] apply automated fixes (attempt 2/3)
autofix-ci[bot] Jul 1, 2026
caafdb0
[autofix.ci] apply automated fixes (attempt 3/3)
autofix-ci[bot] Jul 1, 2026
e15d5a0
Reduce citation noise [skip azp][skip circle]
tsbinns Jul 1, 2026
65a569d
Merge branch 'test_tools' of https://github.com/tsbinns/mne-python in…
tsbinns Jul 1, 2026
dd29a24
[skip azp][skip circle]
tsbinns Jul 1, 2026
b8ff85a
[skip azp][skip circle]
tsbinns Jul 1, 2026
f906620
[skip azp][skip circle]
tsbinns Jul 1, 2026
88d2b3c
Use env check action in old unit tests [skip azp][skip circle]
tsbinns Jul 1, 2026
314fbf8
Test new mne-tools layout [skip azp][skip circle]
tsbinns Jul 2, 2026
741df2e
Test new mne-tools layout [skip azp][skip circle]
tsbinns Jul 2, 2026
117b2db
Test new mne-tools layout [skip azp][skip circle]
tsbinns Jul 2, 2026
2ecdf87
[autofix.ci] apply automated fixes
autofix-ci[bot] Jul 2, 2026
3b49fef
Replace tools with actions [skip azp][skip circle]
tsbinns Jul 2, 2026
53f9e0b
Merge branch 'test_tools' of https://github.com/tsbinns/mne-python in…
tsbinns Jul 2, 2026
de91d46
[autofix.ci] apply automated fixes
autofix-ci[bot] Jul 2, 2026
dabb498
Test actions in SPEC0 workflow [skip azp][skip circle]
tsbinns Jul 2, 2026
08f720c
Test actions in SPEC0 workflow [skip azp][skip circle]
tsbinns Jul 2, 2026
e397b64
Test actions in SPEC0 workflow [skip azp][skip circle]
tsbinns Jul 2, 2026
6324006
[autofix.ci] apply automated fixes
autofix-ci[bot] Jul 2, 2026
c6c43e4
Test actions in SPEC0 workflow [skip azp][skip circle]
tsbinns Jul 2, 2026
62acd9b
Merge branch 'test_tools' of https://github.com/tsbinns/mne-python in…
tsbinns Jul 2, 2026
48c83fb
[autofix.ci] apply automated fixes
autofix-ci[bot] Jul 2, 2026
f1b085b
Test actions in SPEC0 workflow [skip azp][skip circle]
tsbinns Jul 3, 2026
7254713
Merge branch 'test_tools' of https://github.com/tsbinns/mne-python in…
tsbinns Jul 3, 2026
969b0fa
[autofix.ci] apply automated fixes
autofix-ci[bot] Jul 3, 2026
86dbe19
[skip azp][skip circle]
tsbinns Jul 3, 2026
9415f79
[autofix.ci] apply automated fixes
autofix-ci[bot] Jul 3, 2026
c394071
Remove pre-commit call from SPEC0 workflow [skip azp][skip circle]
tsbinns Jul 3, 2026
d4f0646
Remove testing workflows
tsbinns Jul 9, 2026
e357e08
Move dependency fixing out of SPEC0 workflow [skip azp][skip circle]
tsbinns Jul 9, 2026
6f53697
Update step name [ci skip]
tsbinns Jul 9, 2026
be40ab3
Merge remote-tracking branch 'upstream/main' into test_tools
tsbinns Jul 9, 2026
e9234f7
[autofix.ci] apply automated fixes
autofix-ci[bot] Jul 9, 2026
871fd3e
Fix pyproject comment for old CI
tsbinns Jul 11, 2026
e0e2779
Update pyproject info for citation and codemeta
tsbinns Jul 11, 2026
afe4012
Update citation and codemeta [skip azp][skip circle]
tsbinns Jul 11, 2026
a15404f
[autofix.ci] apply automated fixes
autofix-ci[bot] Jul 11, 2026
d82d1e8
[autofix.ci] apply automated fixes (attempt 2/3)
autofix-ci[bot] Jul 11, 2026
7d04563
[autofix.ci] apply automated fixes (attempt 3/3)
autofix-ci[bot] Jul 11, 2026
0dca11e
Update old lockfile CI compile command
tsbinns Jul 11, 2026
9751eba
Disable citation and codemeta updating
tsbinns Jul 11, 2026
6205ffd
Try switch xvfb and qt checks
tsbinns Jul 11, 2026
c72f283
Merge branch 'test_tools' of https://github.com/tsbinns/mne-python in…
tsbinns Jul 11, 2026
25c917b
[autofix.ci] apply automated fixes
autofix-ci[bot] Jul 11, 2026
3f50632
Retrigger CI
tsbinns Jul 11, 2026
02d29ba
Try fix azure pipelines [skip circle][skip actions]
tsbinns Jul 11, 2026
6643f27
Merge branch 'main' of https://github.com/mne-tools/mne-python into t…
tsbinns Jul 20, 2026
f2a83e4
[autofix.ci] apply automated fixes
autofix-ci[bot] Jul 20, 2026
68b76fd
Update overrides in env.yml [skip circle][skip azp]
tsbinns Jul 20, 2026
6c51507
[autofix.ci] apply automated fixes
autofix-ci[bot] Jul 20, 2026
524853c
[skip circle][skip azp]
tsbinns Jul 20, 2026
2f3908a
Avoid uv cache in autofix [skip circle][skip azp]
tsbinns Jul 20, 2026
1361049
Switch to expected begin-end sequence [skip circle][skip azp]
tsbinns Jul 22, 2026
3e69059
Merge remote-tracking branch 'upstream/main' into test_tools
tsbinns Jul 22, 2026
6b3d41c
[skip circle][skip azp]
tsbinns Jul 22, 2026
9b5aed6
Migrate calls from personal fork to mne-tools
tsbinns Jul 22, 2026
c5fd5ae
Merge branch 'main' into test_tools
tsbinns Jul 22, 2026
5a03865
[skip circle][skip azp]
tsbinns Jul 22, 2026
e871c7f
Fix bad action calls [skip circle][skip azp]
tsbinns Jul 22, 2026
8ebd67e
[autofix.ci] apply automated fixes
autofix-ci[bot] Jul 22, 2026
efbdb76
Add note about missing dep group recursion logic
tsbinns Jul 22, 2026
73bec2d
Revert temp changes for checking citation and codemeta gen
tsbinns Jul 22, 2026
9fbf85b
Add extended-metadata description
tsbinns Jul 22, 2026
13edaf4
Make SPEC0 workflow create PR again
tsbinns Jul 22, 2026
bc761d5
Use executable bash scripts
tsbinns Jul 23, 2026
ca93aa2
Use qt import check action [skip azp]
tsbinns Jul 23, 2026
29b061f
Try fix bad circleci perms
tsbinns Jul 23, 2026
24b6597
Retry qt import check [skip azp]
tsbinns Jul 23, 2026
7bff118
Try fix bad circleci perms [skip azp]
tsbinns Jul 23, 2026
ce829a1
Fix bad pip-pre perms [skip circle][skip azp]
tsbinns Jul 23, 2026
0cf5ceb
Retry qt import in tests [skip circle][skip azp]
tsbinns Jul 23, 2026
49d3385
Retry qt import in tests [skip circle][skip azp]
tsbinns Jul 23, 2026
548ec17
Retry qt import in tests [skip circle][skip azp]
tsbinns Jul 23, 2026
8c1aa53
Retry qt import in tests [skip circle][skip azp]
tsbinns Jul 23, 2026
cf0de26
Test actions with path changes [skip circle][skip azp]
tsbinns Jul 23, 2026
7fc6596
Retry [skip circle][skip azp]
tsbinns Jul 23, 2026
8ef76fc
Try changed action [skip circle][skip azp]
tsbinns Jul 23, 2026
df51875
[skip circle][skip azp]
tsbinns Jul 23, 2026
9c3efe5
[skip circle][skip azp]
tsbinns Jul 23, 2026
5a64a11
Retry [skip circle][skip azp]
tsbinns Jul 23, 2026
a98fa48
Ignore zizmor [skip circle][skip azp]
tsbinns Jul 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ jobs:
- run:
name: Check Qt
command: |
set -x
./tools/check_qt_import.sh ${MNE_QT_BACKEND}
curl https://raw.githubusercontent.com/mne-tools/mne-tools/main/tools/check_qt_import.sh -o check_qt_import.sh
bash check_qt_import.sh $MNE_QT_BACKEND
# Load tiny cache so that ~/.mne does not need to be created below
- restore_cache:
keys:
Expand Down
55 changes: 55 additions & 0 deletions .extended_metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# This file contains additional metadata about MNE-Python, beyond what is contained in `pyproject.toml`.
# This information is used by the actions in MNE-Tools to generate `CITATION.cff` and `codemeta.json`.
package_name: MNE-Python
Comment thread
tsbinns marked this conversation as resolved.
date_created: '2010-12-26'
date_published: '2014-08-04'
application_category: Neuroscience
code_doi: 10.5281/zenodo.592483
compound_surnames:
- García Alanis
- van Vliet
- De Santis
- Dupré la Tour
- de la Torre
- de Jong
- de Montalivet
- van den Bosch
- Van den Bossche
- Van Der Donckt
- van der Meer
- van Harmelen
- Visconti di Oleggio Castello
- van Es
preferred_citation:
title: MEG and EEG Data Analysis with MNE-Python
journal: Frontiers in Neuroscience
type: article
year: 2013
volume: 7
issue: 267
start: 1
end: 13
doi: 10.3389/fnins.2013.00267
authors:
- family-names: Gramfort
given-names: Alexandre
- family-names: Luessi
given-names: Martin
- family-names: Larson
given-names: Eric
- family-names: Engemann
given-names: Denis A.
- family-names: Strohmeier
given-names: Daniel
- family-names: Brodbeck
given-names: Christian
- family-names: Goj
given-names: Roman
- family-names: Jas
given-names: Mainak
- family-names: Brooks
given-names: Teon
- family-names: Parkkonen
given-names: Lauri
- family-names: Hämäläinen
given-names: Matti S.
47 changes: 46 additions & 1 deletion .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions:
contents: read

jobs:
autofix:
autofix-changelog-headers:
name: Autofix and style
runs-on: ubuntu-latest
steps:
Expand All @@ -24,3 +24,48 @@ jobs:
- uses: j178/prek-action@v2.0.5
- uses: autofix-ci/action@c5b2d67aa2274e7b5a18224e8171550871fc7e4a
if: success() || failure()
autofix-dependencies:
name: Autoupdate 'old' CI lockfile, README dependencies, and environment file
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7.0.0
with:
persist-credentials: false
- uses: astral-sh/setup-uv@v8.2.0
with:
version: ">=0.9"
activate-environment: true
enable-cache: false
python-version: "3.12"
- name: Update 'old' CI lockfile
# uv pip compile requires setting the python version for the environment explicitly in the command :(
run: |
uv pip compile pyproject.toml \
--python "3.10" --python-platform "x86_64-unknown-linux-gnu" \
--group test --group lockfile_extras \
--resolution lowest-direct \
--format pylock.toml --output-file tools/pylock.ci-old.toml \
--no-cache
- name: Validate 'old' CI lockfile
uses: tsbinns/mne-tools/actions/check-lockfile@tools-actions
with:
project-root: ${{ github.workspace }}
lockfile-path: tools/pylock.ci-old.toml
groups: lockfile_extras
- name: Sync dependencies to README
uses: tsbinns/mne-tools/actions/sync-dependencies-to-readme@tools-actions
with:
project-root: ${{ github.workspace }}
ignore-upper-pins: numpy
- name: Sync dependencies to environment file
uses: tsbinns/mne-tools/actions/sync-dependencies-to-environment-file@tools-actions
with:
project-root: ${{ github.workspace }}
extras: full,full-no-qt,hdf5
# manually specify extras groups to sync, as logic for recursion into other groups isn't implemented in the action yet
# e.g., `full` includes `mne[full-no-qt]`, but the action won't recognise this, so we need to specify `full-no-qt` explicitly
additional-dependencies: pip,mamba,conda,nomkl,noqt5
pip-dependencies: pymef
requirements-overrides: PySide6==6.11.1,vtk==9.6.2
- uses: autofix-ci/action@c5b2d67aa2274e7b5a18224e8171550871fc7e4a
if: success() || failure()
25 changes: 4 additions & 21 deletions .github/workflows/spec_zero.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,36 +41,19 @@ jobs:
timeout-minutes: 10
with:
detached: true
- uses: astral-sh/setup-uv@v8.3.2
with:
version: ">=0.9"
activate-environment: true
python-version: "3.12"
- name: Setup Python
uses: actions/setup-python@v6.2.0
- name: Install dependencies
run: uv pip install -e . packaging requests tomlkit prek
run: pip install --upgrade packaging requests tomlkit
- name: Update tracked dependencies
run: python ./tools/dev/spec_zero_update_versions.py
- name: Sync updated dependencies to README
run: python tools/sync_dependencies.py
- name: Create lockfile for old CI
# uv pip compile requires setting the python version explicitly in the command :(
run: |
uv pip compile pyproject.toml \
--python "3.10" --python-platform "x86_64-unknown-linux-gnu" \
--group test --group lockfile_extras \
--resolution lowest-direct \
--format pylock.toml --output-file tools/pylock.ci-old.toml
python tools/github_actions_check_old_lockfile.py
- run: prek auto-update
- name: check if files changed
run: |
git diff && git status --porcelain
if [[ $(git status --porcelain) ]]; then
echo "dirty=true" >> $GITHUB_OUTPUT
fi
id: status
- uses: j178/prek-action@v2.0.5
if: steps.status.outputs.dirty == 'true'
- name: Create PR
run: |
set -xeo pipefail
Expand All @@ -85,4 +68,4 @@ jobs:
git push origin spec_zero
PR_NUM=$(gh pr create --base main --head spec_zero --title "MAINT: Update dependency specifiers" --body "Created by spec_zero [GitHub action](https://github.com/mne-tools/mne-python/actions/runs/${{ github.run_id }}). <br> <br> *Adjustments may need to be made to shims in \`mne/fixes.py\` and elswhere in this or another PR. \`make -C tools/dev dep\` is a good starting point for finding potential updates.*")
echo "Opened https://github.com/mne-tools/mne-python/pull/${PR_NUM}" >> $GITHUB_STEP_SUMMARY
if: steps.status.outputs.dirty == 'true' && (success() || failure())
if: steps.status.outputs.dirty == 'true'
16 changes: 13 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ jobs:
if: startswith(matrix.kind, 'pip') && startswith(matrix.os, 'macos')
# Python (if conda)
- uses: mamba-org/setup-micromamba@v3
id: setup-micromamba
with:
environment-file: ${{ env.CONDA_ENV }}
environment-name: mne
Expand All @@ -118,6 +119,9 @@ jobs:
-v
if: matrix.kind == 'conda'
timeout-minutes: 20
- name: Make conda python available to later steps
run: echo "${{ steps.setup-micromamba.outputs.environment-path }}/bin" >> "$GITHUB_PATH" # zizmor: ignore[template-injection]
if: matrix.kind == 'conda'
# Python (if old)
- uses: astral-sh/setup-uv@v8.3.2
with:
Expand All @@ -130,7 +134,11 @@ jobs:
- run: bash ./tools/github_actions_verify_python.sh "${{ matrix.python }}"
- run: bash ./tools/github_actions_dependencies.sh
timeout-minutes: 10
- run: python ./tools/github_actions_check_old_env.py
- name: Check 'old' CI environment
uses: tsbinns/mne-tools/actions/check-environment@tools-actions
with:
project-root: ${{ github.workspace }}
groups: lockfile_extras
if: matrix.kind == 'old'
# Minimal commands on Linux (macOS stalls)
- uses: actions/cache@v6.1.0
Expand All @@ -141,8 +149,10 @@ jobs:
- run: bash ./tools/get_minimal_commands.sh
if: startswith(matrix.os, 'ubuntu') && matrix.kind != 'minimal' && matrix.kind != 'old' && matrix.kind != 'pip-ft'
- run: bash ./tools/github_actions_infos.sh
# Check Qt
- run: bash ./tools/check_qt_import.sh $MNE_QT_BACKEND
- name: Check Qt import
uses: tsbinns/mne-tools/actions/check-qt-import@tools-actions
with:
qt-backend: ${{ env.MNE_QT_BACKEND }}
if: env.MNE_QT_BACKEND != ''
- name: Run tests with no testing data
run: MNE_SKIP_TESTING_DATASET_TESTS=true pytest -m "not (ultraslowtest or pgtest)" -n "$PYTEST_XDIST_N" --dist loadscope --timeout=120 --timeout-method=thread -o faulthandler_timeout=110 $COV_ARGS --tb=short -vv -rfE mne/
Expand Down
9 changes: 0 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,6 @@ repos:
- id: toml-sort-fix
files: pyproject.toml

# dependencies
- repo: local
hooks:
- id: update-env-file
name: Copy dependency changes from pyproject.toml to environment.yml
language: python
entry: ./tools/hooks/update_environment_file.py
files: '^(pyproject.toml|tools/hooks/update_environment_file.py)$'

# zizmor
- repo: https://github.com/woodruffw/zizmor-pre-commit
rev: v1.28.0
Expand Down
2 changes: 2 additions & 0 deletions .yamllint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ rules:
document-start: disable
new-lines:
type: platform
indentation:
indent-sequences: consistent
25 changes: 13 additions & 12 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,20 +70,21 @@ Dependencies

The minimum required dependencies to run MNE-Python are:

.. ↓↓↓ BEGIN CORE DEPS LIST. DO NOT EDIT! HANDLED BY PRE-COMMIT HOOK ↓↓↓

- `Python <https://www.python.org>`__ ≥ 3.10
- `NumPy <https://numpy.org>`__ ≥ 2.0
- `SciPy <https://scipy.org>`__ ≥ 1.14
- `Matplotlib <https://matplotlib.org>`__ ≥ 3.9
- `Pooch <https://www.fatiando.org/pooch/latest/>`__ ≥ 1.5
.. ↓↓↓ BEGIN CORE DEPS LIST. DO NOT EDIT! HANDLED BY MNE-TOOLS ↓↓↓

- `python <https://www.python.org>`__ ≥ 3.10
- `decorator <https://pypi.org/project/decorator/>`__ ≥ 5.1
- `jinja2 <https://jinja.palletsprojects.com/>`__ ≥ 3.1
- `lazy_loader <https://pypi.org/project/lazy-loader/>`__ ≥ 0.3
- `matplotlib <https://matplotlib.org>`__ ≥ 3.9
- `numpy <https://numpy.org>`__ ≥ 2.0,
- `packaging <https://packaging.pypa.io/>`__
- `pooch <https://www.fatiando.org/pooch>`__ ≥ 1.5
- `scipy <https://scipy.org/>`__ ≥ 1.14
- `tqdm <https://tqdm.github.io>`__ ≥ 4.66
- `Jinja2 <https://palletsprojects.com/p/jinja/>`__ ≥ 3.1
- `decorator <https://github.com/micheles/decorator>`__ ≥ 5.1
- `lazy-loader <https://pypi.org/project/lazy_loader>`__ ≥ 0.3
- `packaging <https://packaging.pypa.io/en/stable/>`__
- `typing-extensions <https://typing-extensions.readthedocs.io/>`__ ≥ 4.15

.. ↑↑↑ END CORE DEPS LIST. DO NOT EDIT! HANDLED BY PRE-COMMIT HOOK ↑↑↑
.. ↑↑↑ END CORE DEPS LIST. DO NOT EDIT! HANDLED BY MNE-TOOLS ↑↑↑

Contributing
^^^^^^^^^^^^
Expand Down
18 changes: 14 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,17 @@ stages:
pool:
vmImage: 'ubuntu-latest'
variables:
MNE_TOOLS_DIR: '$(Pipeline.Workspace)/mne-tools'
DISPLAY: ':99'
PYTEST_XDIST_N: '2' # Microsoft-hosted agents have 2 cores
MNE_TEST_ALLOW_SKIP: '^$' # nothing
MNE_BROWSER_PRECOMPUTE: 'false'
steps:
- bash: ./tools/setup_xvfb.sh
- bash: |
set -xeo pipefail
git clone https://github.com/mne-tools/mne-tools.git "$MNE_TOOLS_DIR"
displayName: Clone mne-tools
- bash: bash $(MNE_TOOLS_DIR)/tools/setup_xvfb.sh
displayName: Setup up Xvfb
- task: Cache@2
inputs:
Expand All @@ -66,7 +71,7 @@ stages:
python -m pip install --progress-bar off --upgrade pip
python -m pip install --progress-bar off --upgrade --only-binary=":all:" -e . --group=test "mne-qt-browser @ https://github.com/mne-tools/mne-qt-browser/archive/refs/heads/main.zip" pyvista scikit-learn python-picard qtpy nibabel sphinx-gallery "PySide6!=6.8.0,!=6.8.0.1,!=6.8.1.1,!=6.9.1" pandas neo pymatreader antio defusedxml curryreader pymef openmeeg
displayName: Install dependencies with pip
- bash: ./tools/check_qt_import.sh PySide6
- bash: bash $(MNE_TOOLS_DIR)/tools/check_qt_import.sh PySide6
displayName: Check Qt import
- bash: |
set -xeo pipefail
Expand Down Expand Up @@ -95,12 +100,17 @@ stages:
pool:
vmImage: 'ubuntu-latest'
variables:
MNE_TOOLS_DIR: '$(Pipeline.Workspace)/mne-tools'
DISPLAY: ':99'
PYTEST_XDIST_N: '2' # Microsoft-hosted agents have 2 cores
TEST_OPTIONS: "--tb=short --cov=mne --cov-report=xml --cov-append -vv mne/gui mne/viz/_brain mne/viz/backends mne/viz/tests/test_evoked.py mne/report"
MNE_TEST_ALLOW_SKIP: '^$' # nothing (can be overridden below)
steps:
- bash: ./tools/setup_xvfb.sh
- bash: |
set -xeo pipefail
git clone https://github.com/mne-tools/mne-tools.git "$MNE_TOOLS_DIR"
displayName: Clone mne-tools
- bash: bash $(MNE_TOOLS_DIR)/tools/setup_xvfb.sh
displayName: Setup up Xvfb
- task: UsePythonVersion@0
inputs:
Expand Down Expand Up @@ -128,7 +138,7 @@ stages:
displayName: Cache testing data
- bash: ./tools/github_actions_download.sh
displayName: Download testing data
- bash: ./tools/check_qt_import.sh PySide6
- bash: bash $(MNE_TOOLS_DIR)/tools/check_qt_import.sh PySide6
displayName: Check Qt import
- bash: |
set -xeo pipefail
Expand Down
12 changes: 6 additions & 6 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# THIS FILE IS AUTO-GENERATED BY tools/hooks/update_environment_file.py AND WILL BE OVERWRITTEN
# THIS FILE IS AUTO-GENERATED BY MNE-TOOLS AND WILL BE OVERWRITTEN
name: mne
channels:
- conda-forge
Expand All @@ -13,15 +13,14 @@ dependencies:
- dipy >=0.8
- edfio >=0.4.10
- eeglabio
- ffmpeg =8.1.2
- filelock >=3.18.0
- h5io >=0.2.4
- h5py >=2.4
- imageio >=2.6.1
- imageio-ffmpeg >=0.4.1
- ipyevents
- ipympl
- ipython >=2.0,!=8.7.0
- ipython !=8.7.0,>=2.0
- ipywidgets
- jinja2 >=3.1
- joblib >=0.8
Expand All @@ -37,10 +36,10 @@ dependencies:
- nomkl
- noqt5
- numba >=0.35
- numpy >=2.0,<3
- numpy <3,>=2.0
- openmeeg >=2.5.7
- packaging
- pandas >=2.2,!=3.0.4
- pandas !=3.0.4,>=2.2
- pillow
- pip
- pooch >=1.5
Expand Down Expand Up @@ -69,5 +68,6 @@ dependencies:
- vtk ==9.6.2
- xlrd
- pip:
- typing-extensions>=4.15; python_version < "3.11"
- pymef
- pyobjc-framework-Cocoa >=5.2.0;platform_system=='Darwin'
- pyobjc-framework-Cocoa>=5.2.0; platform_system == "Darwin"
Loading
Loading