Skip to content

Move test dependencies into a test dependency group - #455

Merged
Zethson merged 1 commit into
mainfrom
test-dependency-group
Sep 6, 2026
Merged

Zethson merged 1 commit into
mainfrom
test-dependency-group

Conversation

@Zethson

@Zethson Zethson commented Sep 6, 2026

Copy link
Copy Markdown
Member

pytest and coverage were part of the dev extra, so running just the test suite meant pulling in the linters, type checker and stubs as well. A test dependency group separates the two, and matches the convention the rest of the scverse packages follow, which lets tooling install a testable environment with --group test without guessing at an extra name.

CI syncs the new group alongside the existing extras, so it installs the same set of packages as before.

pytest and coverage were part of the `dev` extra, so running just the test
suite meant pulling in the linters, type checker and stubs as well. A `test`
dependency group separates the two, and matches the convention the rest of the
scverse packages follow, which lets tooling install a testable environment with
`--group test` without guessing at an extra name.

CI syncs the new group alongside the existing extras, so it installs the same
set of packages as before.

Signed-off-by: Lukas Heumos <lukas.heumos@posteo.net>
@Zethson
Zethson force-pushed the test-dependency-group branch from 77d563f to 6c58949 Compare September 6, 2026 18:40
@Zethson
Zethson merged commit 46390f3 into main Sep 6, 2026
10 checks passed
@Zethson
Zethson deleted the test-dependency-group branch September 6, 2026 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant