-
Notifications
You must be signed in to change notification settings - Fork 92
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 setup #945
MAINT: Fix setup #945
Conversation
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 for looking into a fix, could you then please remove this line?
Line 3 in 31a870e
version = attr: mne_bids.__version__ |
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! +1 to merge when CIs are green
Fixed that and a bug with parse. Using this branch on CircleCI we get a nice install now:
|
Codecov Report
@@ Coverage Diff @@
## main #945 +/- ##
=======================================
Coverage 94.39% 94.39%
=======================================
Files 25 25
Lines 3550 3550
=======================================
Hits 3351 3351
Misses 199 199 Continue to review full report at Codecov.
|
Two approvals and green CIs so in it goes. Thanks for the quick reviews @adam2392 @sappelhoff ! |
On latest
main
in a clean env,pip install -ve.
does not work:This import is attempted because
version
is not supplied. (This failure was originally seen on MNE-Python CircleCI).One solution is to change this:to
But a cleaner solution I think is just to explicitly parse the version from
__init__.py
. Then the command works correctly, presumably because ofpip
magic to know what the dependencies of the library are (?), it actually finds the same set (plus whatmne-0.24.1
requires):