Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert lazy loading (importing) packages #13124

Draft
wants to merge 48 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
0c504b7
Revert "handle lazy loading through .pyi type stubs (#12072)"
cbrnr Feb 23, 2025
1f00b19
Revert "ENH: use lazy loading (#11838)"
cbrnr Feb 23, 2025
7bafe87
ruff
cbrnr Feb 23, 2025
b4426cc
Style
cbrnr Feb 23, 2025
fb2676e
Various fixes
cbrnr Feb 23, 2025
269e0d3
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 24, 2025
d8b963f
Fix ruff errors
cbrnr Feb 24, 2025
0f82b9c
More fixes
cbrnr Feb 24, 2025
bb7ac08
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 24, 2025
c4222a9
More fixes
cbrnr Feb 24, 2025
edafe19
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 24, 2025
70f8d34
gui fixes
cbrnr Feb 24, 2025
255531a
More gui
cbrnr Feb 24, 2025
0c5ed99
Add missing file
cbrnr Feb 24, 2025
2c0026f
More fixes
cbrnr Feb 24, 2025
ed67948
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 24, 2025
4b55795
Even more
cbrnr Feb 24, 2025
e84e5e3
Revert
cbrnr Feb 24, 2025
305cd63
Undelete
cbrnr Feb 24, 2025
a992cd2
[autofix.ci] apply automated fixes
autofix-ci[bot] Feb 24, 2025
3402942
Remove script
cbrnr Feb 24, 2025
e77340d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 24, 2025
325213a
Add missing imports
cbrnr Feb 24, 2025
6599745
Fix imports
cbrnr Feb 24, 2025
107948c
Nest SciPy
cbrnr Feb 24, 2025
7799c20
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 24, 2025
71c345e
Remove lazy-loader core dep (temporary fix)
cbrnr Feb 25, 2025
1a007bb
Do not export xdawn
cbrnr Feb 25, 2025
a279410
Export source_space
cbrnr Feb 25, 2025
753f92a
Explicit source_space exports
cbrnr Feb 25, 2025
5bd359d
More explicit exports
cbrnr Feb 25, 2025
f563516
More
cbrnr Feb 25, 2025
aa5cd17
Export BaseTFR
cbrnr Feb 25, 2025
4406c5b
Fix fft
cbrnr Feb 25, 2025
d800621
Remove public exports
cbrnr Feb 25, 2025
ffad545
Add __all__
cbrnr Feb 25, 2025
1fb130e
Add missing submodules
cbrnr Feb 26, 2025
af1ddcd
Merge branch 'main' into revert-lazyloader
cbrnr Feb 26, 2025
2c90634
Fix import nesting test
cbrnr Feb 26, 2025
5e2f83c
Revert
cbrnr Feb 26, 2025
d2c5d80
Adjust nesting test
cbrnr Feb 27, 2025
fb63ce4
Merge branch 'main' into revert-lazyloader
cbrnr Feb 27, 2025
7843ad5
Add missing export
cbrnr Feb 27, 2025
ae518da
csr_matrix -> csr_array
cbrnr Feb 27, 2025
50bc4e0
Fix csr_array
cbrnr Feb 27, 2025
27db5fb
Add more missing exports
cbrnr Feb 27, 2025
a21a1a1
More missing exports
cbrnr Feb 27, 2025
6fed24e
Use minimum_phase from fixes
cbrnr Feb 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ The minimum required dependencies to run MNE-Python are:
- `tqdm <https://tqdm.github.io>`__
- `Jinja2 <https://palletsprojects.com/p/jinja/>`__
- `decorator <https://github.com/micheles/decorator>`__
- `lazy-loader <https://pypi.org/project/lazy_loader>`__ ≥ 0.3
- `packaging <https://packaging.pypa.io/en/stable/>`__

.. ↑↑↑ END CORE DEPS LIST. DO NOT EDIT! HANDLED BY PRE-COMMIT HOOK ↑↑↑
Expand Down
1 change: 0 additions & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"python>= 3.10",
"decorator",
"jinja2",
"lazy_loader >= 0.3",
"matplotlib >= 3.6",
"numpy >= 1.23,<3",
"packaging",
Expand Down
1 change: 0 additions & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ dependencies:
- jinja2
- joblib
- jupyter
- lazy_loader >=0.3
- mamba
- matplotlib >=3.7
- mffpy >=0.5.7
Expand Down
Loading
Loading