-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Add a dev dependency group #13264
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
base: main
Are you sure you want to change the base?
Add a dev dependency group #13264
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,12 @@ | |
build-backend = "hatchling.build" | ||
requires = ["hatch-vcs", "hatchling"] | ||
|
||
[dependency-groups] | ||
dev = [ | ||
"mne[dev]", | ||
"PySide6 != 6.7.0, != 6.8.0, != 6.8.0.1", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. didn't we have issues in interactivity with PySide6? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not sure, but I'm happy to change it to |
||
] | ||
|
||
[project] | ||
authors = [ | ||
{email = "[email protected]", name = "Alexandre Gramfort"}, | ||
|
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.
I believe to really get everything one needs to do
mne[full-pyside6,test-extra,dev]
(or subfull-pyside6
forfull
to get PyQt6)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.
Just like with extras, we can add as many dependency groups as we like. I'd say that really everything should probably not be assigned to
dev
, but maybedev-full
or something like that. A more lightweight dev setup should probably also be supported by thetest
dependency group.Regarding the warning on duplicate extras and dependency group names, uv does not have any issue with it. pip does not support dependency groups AFAIK, so we should be good.