Repository: mne-tools/mne-nirs (language: python)

Issue:
Release version 0.0.4
TODO:

- [x] Fix and test with latest release of MNE 0.23
- [x] Align requirements with MNE https://github.com/mne-tools/mne-python/pull/9358#event-4659736563
- [x] Update CIs to match MNE https://github.com/mne-tools/mne-python/pull/9361
- [ ] Maybe get AR(N) models in?? #233 
- [x] Fix circleci


Discussion / hints:

Fix patch:
diff --git a/environment.yml b/environment.yml
index 39eebf76c..a20cb646d 100644
--- a/environment.yml
+++ b/environment.yml
@@ -1,4 +1,3 @@
-
 name: mne-nirs
 channels:
 - conda-forge
@@ -19,16 +18,15 @@ dependencies:
 - joblib
 - psutil
 - numexpr
-- traits
-- pyface!=7.3.0
-- traitsui
 - imageio
 - tqdm
 - spyder-kernels>=1.10.0
 - imageio-ffmpeg>=0.4.1
 - vtk>=9.0.1
-- pyvista>=0.24
-- pyvistaqt>=0.2.0
+- pyvista>=0.30
+- pyvistaqt>=0.4
+- qdarkstyle
+- darkdetect
 - mayavi
 - PySurfer
 - dipy
@@ -36,6 +34,9 @@ dependencies:
 - nilearn>=0.7.0
 - python-picard
 - pyqt!=5.15.3
-- mffpy>=0.5.7
 - mne>=0.21.0
+- mffpy>=0.5.7
+- ipywidgets
 - lxml
+- pip:
+  - ipyvtklink
diff --git a/requirements.txt b/requirements.txt
index be29fdbd5..bec980406 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,3 +1,4 @@
+# requirements for full MNE-Python functionality (other than raw/epochs export)
 numpy>=1.15.4
 scipy>=1.1.0
 matplotlib
@@ -22,13 +23,17 @@ vtk<8.2; platform_system == "Darwin"
 vtk; platform_system != "Darwin"
 mayavi
 PySurfer[save_movie]
-https://github.com/nilearn/nilearn/archive/master.zip
+nilearn
 xlrd
 imageio>=2.6.1
 imageio-ffmpeg>=0.4.1
-pyvista>=0.24
-pyvistaqt>=0.2.0
+pyvista>=0.30
+pyvistaqt>=0.4
 tqdm
 mffpy>=0.5.7
+ipywidgets
+ipyvtklink
+
+# mne-nirs specific requirements
 mne>=0.21.0
 lxml
diff --git a/requirements_doc.txt b/requirements_doc.txt
index 491b5a88e..d8b4e5b29 100644
--- a/requirements_doc.txt
+++ b/requirements_doc.txt
@@ -1,20 +1,26 @@
+# requirements for building docs
 sphinx
-sphinx-multiversion
 https://github.com/numpy/numpydoc/archive/main.zip
-pydata-sphinx-theme
+pydata-sphinx-theme>=0.6.3
 https://github.com/sphinx-gallery/sphinx-gallery/archive/master.zip
+sphinxcontrib-bibtex>=2.1.2
+memory_profiler
+neo
+seaborn
+sphinx_copybutton
+# https://github.com/mne-tools/mne-bids/archive/main.zip
+pyxdf
+
+# mne-nirs specific requirements
+sphinx-multiversion
 matplotlib
 pillow
 numpy
 pandas
 h5py
-nilearn>=0.7.0
-mne>=0.21.0
 https://codeload.github.com/larsoner/sphinx-bootstrap-divs/zip/master
 https://codeload.github.com/rob-luke/mne-bids/zip/nirs
 lets-plot
 memory_profiler
-statsmodels
 Ipython
-lxml
 sphinx-fontawesome


Test patch:
diff --git a/requirements_testing.txt b/requirements_testing.txt
index 1115b54a5..039bd4db0 100644
--- a/requirements_testing.txt
+++ b/requirements_testing.txt
@@ -1,15 +1,18 @@
+# requirements for running tests (on top of environment.yml/requirements.txt)
 pytest!=4.6.0
 pytest-cov
-pytest-mock
 pytest-timeout
+pytest-harvest
 flake8
 flake8-array-spacing
-https://github.com/sphinx-gallery/sphinx-gallery/archive/master.zip
-https://github.com/numpy/numpydoc/archive/main.zip
-https://github.com/codespell-project/codespell/archive/master.zip
+numpydoc
+codespell
 pydocstyle
 check-manifest
 twine
 wheel
+
+# mne-nirs specific requirements
+# redundancy with docs as all doc notebooks are tested
 https://codeload.github.com/rob-luke/mne-bids/zip/nirs
 lets-plot