Repository: autoreject/autoreject (language: python)

Issue:
FIX modulenotfound error
cc @agramfort 


Discussion / hints:
should be good to go @jasmainak 
Thanks for the hotfix @agramfort 

Fix patch:
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 5961d764..1dcbc3cb 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -17,7 +17,6 @@ jobs:
                 name: Install packages
                 command: |
                     python3 -m pip install --progress-bar off --upgrade pip setuptools wheel psutil
-                    python3 -m pip install --progress-bar off -e .[full]
                     python3 -m pip install --progress-bar off -e .[doc]
             - run:
                 name: Print system information
diff --git a/LICENSE b/LICENSE
index fa2ca0e0..d9383904 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2016-2021, autoreject developers
+Copyright (c) 2016-2022, autoreject developers
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
diff --git a/README.rst b/README.rst
index d6fdc466..53334488 100644
--- a/README.rst
+++ b/README.rst
@@ -60,7 +60,7 @@ and it should not give any error messages.
 Below, we list the dependencies for ``autoreject``.
 All required dependencies are installed automatically when you install ``autoreject``.
 
-* ``mne`` (>=0.24)
+* ``mne`` (>=1.0)
 * ``numpy`` (>=1.20)
 * ``scipy`` (>=1.6)
 * ``scikit-learn`` (>=0.24)
@@ -69,9 +69,7 @@ All required dependencies are installed automatically when you install ``autorej
 
 Optional dependencies are:
 
-* ``tqdm`` (for nice progress-bars when setting ``verbose=True``)
-* ``h5io`` (for writing ``autoreject`` objects using the HDF5 format)
-* ``openneuro-py`` (>= 2021.7, for fetching data from OpenNeuro.org)
+* ``openneuro-py`` (>= 2021.10.1, for fetching data from `OpenNeuro.org <https://openneuro.org>`_)
 
 Quickstart
 ==========
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 5a92dc01..89228473 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -45,7 +45,6 @@ stages:
         addToPath: true
     - bash: |
         set -e
-        pip install -e .[full]
         pip install -e .[test]
       displayName: Install autoreject
     - script: pip install --upgrade https://github.com/mne-tools/mne-python/zipball/main
diff --git a/doc/whats_new.rst b/doc/whats_new.rst
index 7e99722c..561990ef 100644
--- a/doc/whats_new.rst
+++ b/doc/whats_new.rst
@@ -15,7 +15,7 @@ What's new?
 Changelog
 ~~~~~~~~~
 
-- Nothing yet
+- ``autoreject`` now requires ``mne >= 1.0``, by `Mainak Jas`_, `Alex Gramfort`_, and `Stefan Appelhoff`_ in :github:`#267` and :github:`#268`
 
 .. _0.3:
 
diff --git a/setup.py b/setup.py
index ae203b37..d92bf283 100644
--- a/setup.py
+++ b/setup.py
@@ -52,25 +52,20 @@
                     'meg preprocessing analysis'),
           python_requires='~=3.7',
           install_requires=[
-              'numpy >= 1.8',
-              'scipy >= 0.16',
+              'numpy >= 1.20',
+              'scipy >= 1.6',
               'mne[hdf5] >= 1.0',
-              'scikit-learn >= 0.18',
+              'scikit-learn >= 0.24',
               'joblib',
-              'matplotlib >= 1.3',
+              'matplotlib >= 3.3',
           ],
           extras_require={
-              'full': [
-                  'tqdm',
-                  'h5io'
-              ],
               'test': [
                   'pytest',
                   'pytest-cov',
                   'pytest-sugar',
                   'check-manifest',
                   'flake8',
-                  'pooch'
               ],
               'doc': [
                   'sphinx',
@@ -82,7 +77,6 @@
                   'cython',
                   'pillow',
                   'openneuro-py >= 2021.10.1',
-                  'pooch'
               ]
           },
           packages=find_packages(),


Test patch:
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index d2c133bd..5ed15287 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -82,7 +82,7 @@ jobs:
     - uses: actions/checkout@v2
     - name: Test extras install
       run: |
-        pip install .[full]
+        pip install .
         python -c 'import autoreject; print(autoreject.__version__)'
         python -c 'import tqdm; print(tqdm.__version__)'
         python -c 'import h5io; print(h5io.__version__)'
@@ -108,7 +108,6 @@ jobs:
         python-version: ${{ matrix.python-version }}
     - name: Install autoreject
       run: |
-        pip install -e .[full]
         pip install -e .[test]
     - name: Install mne (master|stable)
       if: "matrix.os == 'ubuntu-latest'"