From 7cd68188d810d5cdab46153e424af1a26103c07f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 22 Apr 2024 21:06:28 +0000 Subject: [PATCH 1/4] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.3.7 → v0.4.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.7...v0.4.1) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0b2651345..e0f95f952 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ repos: # Ruff mne - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.3.7 + rev: v0.4.1 hooks: - id: ruff args: ["--fix"] From cdee1fd825ab517e764c5a863c3a646a70c28039 Mon Sep 17 00:00:00 2001 From: Eric Larson Date: Mon, 22 Apr 2024 20:08:21 -0400 Subject: [PATCH 2/4] FIX: Pin --- .github/workflows/tests.yml | 2 +- environment.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index dc14c1ef8..6e90fe690 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -33,7 +33,7 @@ jobs: - os: macos-latest mne: dev kind: conda - python: "3.11" + python: "3.12" - os: windows-latest mne: dev kind: conda diff --git a/environment.yml b/environment.yml index 11877820e..8257e9be1 100644 --- a/environment.yml +++ b/environment.yml @@ -2,9 +2,9 @@ name: mne-nirs channels: - conda-forge dependencies: -- python>=3.8 +- python>=3.9 - pip - mne - nilearn - statsmodels -- pytables +- pytables>=3.8 From 1bed58c06c26816022aa5614c5f70de2a24d53fb Mon Sep 17 00:00:00 2001 From: Eric Larson Date: Mon, 22 Apr 2024 20:08:52 -0400 Subject: [PATCH 3/4] FIX: ARM --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6e90fe690..70651e0c9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -30,7 +30,7 @@ jobs: mne: dev kind: pip python: "3.12" # newest - - os: macos-latest + - os: macos-14 mne: dev kind: conda python: "3.12" From e18a050f32af86b835537830207b5b22f9be7cbd Mon Sep 17 00:00:00 2001 From: Eric Larson Date: Mon, 22 Apr 2024 20:56:25 -0400 Subject: [PATCH 4/4] FIX: Why --- doc/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/conf.py b/doc/conf.py index 6322e9c20..d1b230d34 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -232,6 +232,9 @@ # Type hints for undocumented types ("py:.*", r"mne\.io\..*\.Raw.*"), # RawEDF etc. ] +suppress_warnings = [ + "config.cache", # our rebuild is okay +] # -- Options for HTML output ----------------------------------------------