|
2 | 2 | build-backend = "hatchling.build" |
3 | 3 | requires = ["hatch-vcs", "hatchling"] |
4 | 4 |
|
| 5 | +[dependency-groups] |
| 6 | +dev = ["pip >= 25.1", "rcssmin", {include-group = "doc"}, {include-group = "test_extra"}] |
| 7 | +# Dependencies for building the documentation |
| 8 | +doc = [ |
| 9 | + "graphviz", |
| 10 | + "intersphinx_registry >= 0.2405.27", |
| 11 | + "ipython != 8.7.0", # also in "full-no-qt" and "test" |
| 12 | + "memory_profiler", |
| 13 | + "mne-bids", |
| 14 | + "mne-connectivity", |
| 15 | + "mne-gui-addons", |
| 16 | + "neo", |
| 17 | + "numpydoc", |
| 18 | + "openneuro-py", |
| 19 | + "psutil", |
| 20 | + "pydata_sphinx_theme >= 0.15.2", |
| 21 | + "pygments >= 2.13", |
| 22 | + "pytest", |
| 23 | + "pyxdf", |
| 24 | + "pyzmq != 24.0.0", |
| 25 | + "seaborn != 0.11.2", |
| 26 | + "selenium >= 4.27.1", |
| 27 | + "sphinx >= 6", |
| 28 | + "sphinx-design", |
| 29 | + "sphinx-gallery >= 0.16", |
| 30 | + "sphinx_copybutton", |
| 31 | + "sphinxcontrib-bibtex >= 2.5", |
| 32 | + "sphinxcontrib-towncrier >=0.5.0a0", |
| 33 | + "sphinxcontrib-youtube", |
| 34 | +] |
| 35 | +test = [ |
| 36 | + "codespell", |
| 37 | + "flaky", |
| 38 | + "ipython != 8.7.0", # for testing notebook backend; also in "full-no-qt" and "doc" |
| 39 | + "mypy", |
| 40 | + "numpydoc", |
| 41 | + "pre-commit", |
| 42 | + "pytest >= 8.0", |
| 43 | + "pytest-cov", |
| 44 | + "pytest-qt", |
| 45 | + "pytest-timeout", |
| 46 | + "ruff", |
| 47 | + "toml-sort", |
| 48 | + "tomli; python_version<'3.11'", |
| 49 | + "twine", |
| 50 | + "vulture", |
| 51 | + "wheel", |
| 52 | +] |
| 53 | +# Dependencies for being able to run additional tests (rare/CIs/advanced devs) |
| 54 | +# Changes here should be reflected in the mne/utils/config.py dev dependencies section |
| 55 | +test_extra = [ |
| 56 | + "edfio >= 0.4.10", |
| 57 | + "eeglabio", |
| 58 | + "imageio >= 2.6.1", |
| 59 | + "imageio-ffmpeg >= 0.4.1", |
| 60 | + "jupyter_client", |
| 61 | + "mne-bids", |
| 62 | + "nbclient", |
| 63 | + "nbformat", |
| 64 | + "neo", |
| 65 | + "nitime", |
| 66 | + "pybv", |
| 67 | + "snirf", |
| 68 | + "sphinx-gallery", |
| 69 | + "statsmodels", |
| 70 | + {include-group = "test"}, |
| 71 | +] |
| 72 | + |
5 | 73 | [project] |
6 | 74 | authors = [ |
7 | 75 | { email = "[email protected]", name = "Alexandre Gramfort"}, |
@@ -52,35 +120,6 @@ scripts = {mne = "mne.commands.utils:main"} |
52 | 120 | [project.optional-dependencies] |
53 | 121 | # Leave this one here for backward-compat |
54 | 122 | data = [] |
55 | | -dev = ["mne[doc,test]", "rcssmin"] |
56 | | -# Dependencies for building the documentation |
57 | | -doc = [ |
58 | | - "graphviz", |
59 | | - "intersphinx_registry >= 0.2405.27", |
60 | | - "ipython != 8.7.0", # also in "full-no-qt" and "test" |
61 | | - "memory_profiler", |
62 | | - "mne-bids", |
63 | | - "mne-connectivity", |
64 | | - "mne-gui-addons", |
65 | | - "neo", |
66 | | - "numpydoc", |
67 | | - "openneuro-py", |
68 | | - "psutil", |
69 | | - "pydata_sphinx_theme >= 0.15.2", |
70 | | - "pygments >= 2.13", |
71 | | - "pytest", |
72 | | - "pyxdf", |
73 | | - "pyzmq != 24.0.0", |
74 | | - "seaborn != 0.11.2", |
75 | | - "selenium >= 4.27.1", |
76 | | - "sphinx >= 6", |
77 | | - "sphinx-design", |
78 | | - "sphinx-gallery >= 0.16", |
79 | | - "sphinx_copybutton", |
80 | | - "sphinxcontrib-bibtex >= 2.5", |
81 | | - "sphinxcontrib-towncrier >= 0.5.0a0", |
82 | | - "sphinxcontrib-youtube", |
83 | | -] |
84 | 123 | full = ["mne[full-no-qt]", "PyQt6 != 6.6.0", "PyQt6-Qt6 != 6.6.0, != 6.7.0"] |
85 | 124 | # Dependencies for full MNE-Python functionality (other than raw/epochs export) |
86 | 125 | # We first define a variant without any Qt bindings. The "complete" variant, mne[full], |
@@ -138,44 +177,6 @@ full-pyqt6 = ["mne[full]"] |
138 | 177 | full-pyside6 = ["mne[full-no-qt]", "PySide6 != 6.7.0, != 6.8.0, != 6.8.0.1, != 6.9.1"] |
139 | 178 | # Dependencies for MNE-Python functions that use HDF5 I/O |
140 | 179 | hdf5 = ["h5io >= 0.2.4", "pymatreader"] |
141 | | -# Dependencies for running the test infrastructure |
142 | | -test = [ |
143 | | - "codespell", |
144 | | - "flaky", |
145 | | - "ipython != 8.7.0", # for testing notebook backend; also in "full-no-qt" and "doc" |
146 | | - "mypy", |
147 | | - "numpydoc", |
148 | | - "pre-commit", |
149 | | - "pytest >= 8.0", |
150 | | - "pytest-cov", |
151 | | - "pytest-qt", |
152 | | - "pytest-timeout", |
153 | | - "ruff", |
154 | | - "toml-sort", |
155 | | - "tomli; python_version < '3.11'", |
156 | | - "twine", |
157 | | - "vulture", |
158 | | - "wheel", |
159 | | -] |
160 | | -# Dependencies for being able to run additional tests (rare/CIs/advanced devs) |
161 | | -# Changes here should be reflected in the mne/utils/config.py dev dependencies section |
162 | | -test_extra = [ |
163 | | - "edfio >= 0.4.10", |
164 | | - "eeglabio", |
165 | | - "imageio >= 2.6.1", |
166 | | - "imageio-ffmpeg >= 0.4.1", |
167 | | - "jupyter_client", |
168 | | - "mne-bids", |
169 | | - "mne[test]", |
170 | | - "nbclient", |
171 | | - "nbformat", |
172 | | - "neo", |
173 | | - "nitime", |
174 | | - "pybv", |
175 | | - "snirf", |
176 | | - "sphinx-gallery", |
177 | | - "statsmodels", |
178 | | -] |
179 | 180 |
|
180 | 181 | [project.urls] |
181 | 182 | "Bug Tracker" = "https://github.com/mne-tools/mne-python/issues/" |
|
0 commit comments