Skip to content

Commit 2bc159e

Browse files
github-actions[bot]pre-commit-ci[bot]larsoner
authored
MAINT: Update dependency specifiers (#13459)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Eric Larson <[email protected]>
1 parent 147ff59 commit 2bc159e

File tree

5 files changed

+16
-15
lines changed

5 files changed

+16
-15
lines changed

.github/workflows/credit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ jobs:
4040
git checkout -b credit
4141
git commit -am "MAINT: Update code credit"
4242
git push origin credit
43-
PR_NUM=$(gh pr create --base main --head credit --title "MAINT: Update code credit" --body "Created by credit [GitHub action](https://github.com/mne-tools/mne-python/actions/runs/${{ github.run_id }})." --label "no-changelog-entry-needed")
43+
PR_NUM=$(gh pr create --base main --head credit --title "MAINT: Update code credit" --body "Created by credit [GitHub action](https://github.com/mne-tools/mne-python/actions/runs/${{ github.run_id }}). <br> <br> *Adjustments may need to be made to `doc/changes/credit_tools.py` or `.mailmap` etc. to get CircleCI to pass.*" --label "no-changelog-entry-needed")
4444
echo "Opened https://github.com/mne-tools/mne-python/pull/${PR_NUM}" >> $GITHUB_STEP_SUMMARY
4545
if: steps.status.outputs.dirty == 'true'

.github/workflows/spec_zero.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@ jobs:
5757
git checkout -b spec_zero
5858
git commit -am "MAINT: Update dependency specifiers"
5959
git push origin spec_zero
60-
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 }})." --label "no-changelog-entry-needed")
60+
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 in this or another PR. `git grep TODO VERSION` is a good starting point for finding potential updates.*" --label "no-changelog-entry-needed")
6161
echo "Opened https://github.com/mne-tools/mne-python/pull/${PR_NUM}" >> $GITHUB_STEP_SUMMARY
6262
if: steps.status.outputs.dirty == 'true'

environment.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ dependencies:
4545
- PySide6 !=6.9.1
4646
- python-neo
4747
- python-picard
48-
- pyvista >=0.32,!=0.35.2,!=0.38.0,!=0.38.1,!=0.38.2,!=0.38.3,!=0.38.4,!=0.38.5,!=0.38.6,!=0.42.0
49-
- pyvistaqt >=0.4
48+
- pyvista >=0.42.1
49+
- pyvistaqt >=0.11
5050
- qdarkstyle !=3.2.2
5151
- qtpy
52-
- scikit-learn >=1.3.0
52+
- scikit-learn >=1.3
5353
- scipy >=1.11
5454
- sip
5555
- snirf

mne/viz/backends/_pyvista.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,8 @@ def __init__(
212212
):
213213
from .._3d import _get_3d_option
214214

215-
_require_version("pyvista", "use 3D rendering", "0.32")
215+
# TODO VERSION change whenever PyVista min gets updated:
216+
_require_version("pyvista", "use 3D rendering", "0.42")
216217
multi_samples = _get_3d_option("multi_samples")
217218
# multi_samples > 1 is broken on macOS + Intel Iris + volume rendering
218219
if platform.system() == "Darwin":

pyproject.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ dependencies = [
2323
"decorator",
2424
"jinja2",
2525
"lazy_loader >= 0.3",
26-
"matplotlib >= 3.8", # released: 2023/09/15
27-
"numpy >= 1.26,<3", # released: 2023/09/16
26+
"matplotlib >= 3.8", # released 2023-09-15, will become 3.9 on 2026-05-15
27+
"numpy >= 1.26, < 3", # released 2023-09-16, will become 2.0 on 2026-06-16
2828
"packaging",
2929
"pooch >= 1.5",
30-
"scipy >= 1.11", # released: 2023/06/25
30+
"scipy >= 1.11", # released 2023-06-28, will become 1.12 on 2026-01-19
3131
"tqdm",
3232
]
3333
description = "MNE-Python project for MEG and EEG data analysis."
@@ -78,7 +78,7 @@ doc = [
7878
"sphinx-gallery >= 0.16",
7979
"sphinx_copybutton",
8080
"sphinxcontrib-bibtex >= 2.5",
81-
"sphinxcontrib-towncrier >=0.5.0a0",
81+
"sphinxcontrib-towncrier >= 0.5.0a0",
8282
"sphinxcontrib-youtube",
8383
]
8484
full = ["mne[full-no-qt]", "PyQt6 != 6.6.0", "PyQt6-Qt6 != 6.6.0, != 6.7.0"]
@@ -112,17 +112,17 @@ full-no-qt = [
112112
"nilearn",
113113
"numba",
114114
"openmeeg >= 2.5.7",
115-
"pandas >= 2.1", # released: 2023/08/30
115+
"pandas >= 2.1", # released 2023-08-30, will become 2.2 on 2026-01-19
116116
"pillow", # for `Brain.save_image` and `mne.Report`
117117
"pyarrow", # only needed to avoid a deprecation warning in pandas
118118
"pybv",
119119
"pyobjc-framework-Cocoa >= 5.2.0; platform_system == 'Darwin'",
120120
"python-picard",
121-
"pyvista >= 0.32, != 0.35.2, != 0.38.0, != 0.38.1, != 0.38.2, != 0.38.3, != 0.38.4, != 0.38.5, != 0.38.6, != 0.42.0",
122-
"pyvistaqt >= 0.4",
121+
"pyvista >= 0.42.1", # released 2023-09-06, will become 0.43 on 2025-12-06
122+
"pyvistaqt >= 0.11", # released 2023-06-30, no newer version available
123123
"qdarkstyle != 3.2.2",
124124
"qtpy",
125-
"scikit-learn >=1.3.0", # released: 2023/06/30
125+
"scikit-learn >= 1.3", # released 2023-06-30, will become 1.4 on 2026-01-17
126126
"sip",
127127
"snirf",
128128
"statsmodels",
@@ -152,7 +152,7 @@ test = [
152152
"pytest-timeout",
153153
"ruff",
154154
"toml-sort",
155-
"tomli; python_version<'3.11'",
155+
"tomli; python_version < '3.11'",
156156
"twine",
157157
"vulture",
158158
"wheel",

0 commit comments

Comments
 (0)