Skip to content

chore: use dependency-groups - #880

Merged
henryiii merged 4 commits into
pypa:mainfrom
henryiii:henryiii/chore/depgrps
May 21, 2025
Merged

henryiii merged 4 commits into
pypa:mainfrom
henryiii:henryiii/chore/depgrps

Conversation

@henryiii

Copy link
Copy Markdown
Contributor

Use dependency-groups, drop the [test]/[docs]/[typing] extras.

@henryiii
henryiii force-pushed the henryiii/chore/depgrps branch 2 times, most recently from 7c13aad to f5b5c99 Compare April 2, 2025 04:18
@henryiii

henryiii commented Apr 2, 2025

Copy link
Copy Markdown
Contributor Author

pre-commit.ci autofix

@henryiii
henryiii force-pushed the henryiii/chore/depgrps branch 2 times, most recently from ff850e2 to 087163a Compare May 6, 2025 14:36
@henryiii
henryiii force-pushed the henryiii/chore/depgrps branch from 087163a to e79ea92 Compare May 14, 2025 04:11
henryiii and others added 3 commits May 14, 2025 14:42
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
@henryiii
henryiii force-pushed the henryiii/chore/depgrps branch from e79ea92 to 4f18fbc Compare May 14, 2025 18:42
@layday

layday commented May 14, 2025

Copy link
Copy Markdown
Member

pip supports dependency groups now - can we use it?

@henryiii

Copy link
Copy Markdown
Contributor Author

Sure, but where? We are using tox so I don't think we need it anywhere? But yes, --group in uv or pip will work.

@henryiii

henryiii commented May 14, 2025 •

Copy link
Copy Markdown
Contributor Author

If you mean in readthedocs, uv is faster. Upgrading pip then pip installing with a group would work, but would be slower. Both have native support.

@layday

layday commented May 14, 2025

Copy link
Copy Markdown
Member

Sorry, I did mean in RTD. Just seems slightly odd to rely on asdf here - I'd prefer if there was a "blessed" way to use uv. If there isn't, maybe we should stick to pip?

@henryiii

Copy link
Copy Markdown
Contributor Author

asdf is the recommendation from the RtD team, and that's what they use to set things up too. If you request python, it gets installed with asdf. They do have caching for some modules (not uv), but it's only a second or two, and cuts the docs time in more than half usually.

@henryiii
henryiii merged commit a0e0b3a into pypa:main May 21, 2025
@henryiii
henryiii deleted the henryiii/chore/depgrps branch May 21, 2025 20:16
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