-
Notifications
You must be signed in to change notification settings - Fork 34
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
[MAINT] Fix failing unit tests & update CI packages #157
Conversation
It just came out yesterday so this is a bit tough. Probably better to use |
Checks still failing due to separate missing Should this be added to |
Sure I think that would be okay |
Sorry if this is very basic, I'm not familiar with CI stuff. PyQt6 is still not installed for the I see that this file is called to install the dependicies: Should the PyQt6 dependency be added here? |
To keep it simple I would just modify the CircleCI code here to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Switched unit tests with Python 3.8 -> 3.9, since the recent update to the minimum Python version for MNE was now causing these tests to fail.
UpdateWasn't just PyQt6 that was missing from CircleCI, pyvistaqt as well as several packages in Rather than list everything again in the CircleCI config, I:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @tsbinns !
* [MAINT] Specify data copy behaviour * [MAINT] Updated required MNE version * Revert "[MAINT] Updated required MNE version" This reverts commit bfb175e. * [MAINT] Specify data copy behaviour for MNE>1.5 * [MAINT] Add missing PyQt6 * Revert "[MAINT] Add missing PyQt6" This reverts commit 5836037. * [MAINT] Add missing PyQt6 to CircleCI * [MAINT] Add missing pyvistaqt to CircleCI * [MAINT] Switch unit tests Python 3.8 to 3.9 * [MAINT] Add missing sphinx extension to CircleCI * [MAINT] Add missing sphinx extension to CircleCI * [MAINT] Add missing sphinx extensions to CircleCI * [MAINT] Add missing sphinx extensions to CircleCI * [MAINT] Add missing doc requirements to CircleCI
* upstream/main: (56 commits) [CI] Fix CIs (mne-tools#164) Fix azure Fix CIs New dev for v0.7 [RELEASE] V0.6 (mne-tools#162) Try azure again [CI] Fix azure (mne-tools#161) Add gitblame [MAINT] Run black, isort, ruff, and other auto-linters on entire package (mne-tools#159) [MAINT] Replace setup.py with pyproject.toml (mne-tools#160) [BUG] Fixed issue w/ different rank-indices length (mne-tools#158) [MAINT] Refactor bivariate and multivariate methods into separate files (mne-tools#156) [MAINT] Fix failing unit tests & update CI packages (mne-tools#157) fixed grammar mistake switched to array indices & added inline comments updated default non-zero rank tolerance removed redundant list creation removed redundant ignored word switched to masked indices for multivariate conn updated time ...
Following #12121 in mne-python, the dev. version of MNE, the behaviour of the
Epochs.get_data()
method has been changed such that in v1.7, a copy of the data will be returned by default (rather than the current view).Without specifying the
copy
parameter, aFutureWarning
is raised:FutureWarning: The current default of copy=False will change to copy=True in 1.7. Set the value of copy explicitly to avoid this warning
This is causing several of the CI tests to fail when using the MNE dev. version.
Changes
Explicitly set
copy=False
in all instances whereEpochs.get_data() is called
. As I understand it the returned data is not modified itself, so returning a view should be sufficient.N.B.: Since the
copy
parameter was added in MNE v1.6, we need to update the MNE version inrequirements.txt
to >= 1.6.