Skip to content

chore: use dep groups#109

Merged
cpburnz merged 1 commit intocpburnz:masterfrom
henryiii:henryiii/chore/depgroups
Mar 7, 2026
Merged

chore: use dep groups#109
cpburnz merged 1 commit intocpburnz:masterfrom
henryiii:henryiii/chore/depgroups

Conversation

@henryiii
Copy link
Contributor

@henryiii henryiii commented Mar 6, 2026

This is a suggestion if you like it. It makes uv run pytest work out of the box (or uv run python, or uv run python -m unitest, etc). And to check benchmarking, you can do pip install -e. --group=benchmark.

Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
@henryiii henryiii force-pushed the henryiii/chore/depgroups branch from 0c4030b to e34226e Compare March 6, 2026 14:58
@cpburnz cpburnz merged commit fda7c31 into cpburnz:master Mar 7, 2026
@cpburnz
Copy link
Owner

cpburnz commented Mar 7, 2026

I wasn't aware of dependency groups. Thanks.

Quick question: is the "dev" group required for uv, or was that more of an example to define dev dependencies?

@henryiii
Copy link
Contributor Author

henryiii commented Mar 7, 2026

uv will install a group named dev by default, which means you can support uv run without any uv specific configuration.

@cpburnz
Copy link
Owner

cpburnz commented Mar 7, 2026

It looks like pytest>=8 works with Python 3.9 and my usage, so I'm just reducing the required version, and merging them into the "dev" group.

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.

2 participants