-
Notifications
You must be signed in to change notification settings - Fork 36
test: declare test runner dependencies #388
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: master
Are you sure you want to change the base?
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 |
|---|---|---|
|
|
@@ -57,8 +57,11 @@ docs = [ | |
| "dargs>=0.4.1", | ||
| ] | ||
| test = [ | ||
| 'fakegaussian>=0.0.3', | ||
| 'coverage', | ||
|
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.
It is genuinely test-only, so this extra is the right place: That makes this the same failure mode as #359, which was accepted and fixed in #385 by declaring the package. It mattered less while CI also ran |
||
| 'dpgui', | ||
| 'fakegaussian>=0.0.3', | ||
| 'mock', | ||
| 'pytest', | ||
| ] | ||
| gui = [ | ||
| 'dpgui', | ||
|
|
||
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.
Good change, and it is the strongest possible check on the extra: CI now exercises the declared contract for real instead of papering over it. That is also why the
asegap I noted onpyproject.tomlis worth closing in the same PR. Until this line changed, a wrong extra was harmless; from here on it is what CI trusts.