deps: migrate to tests group#345
Conversation
Signed-off-by: nstarman <nstarman@users.noreply.github.com>
|
@patrick-kidger I don't want to mark this review ready until I can confirm the CI passes. |
|
So I was actually noodling on this problem a couple of days ago for Equinox. I ended up splitting the dev dependencies into three groups: So I'm +1 on doing this same split -- very similar to what you have here -- across the rest of the packages I maintain. The only detail I decided on was to continue using WDYT? (Side note, there is one other outstanding wart here, which is that we still have |
The primary difference is public API.
A little bit more complicated, but I think it's possible to do with |
Signed-off-by: nstarman <nstarman@users.noreply.github.com>
|
@patrick-kidger I've assumed that |
|
Ach, looks like something is wrong with MLX. Looking at ml-explore/mlx#2402, it might suffice to either switch the dependency to Otherwise LGTM! |
See ml-explore/mlx#2402 Signed-off-by: nstarman <nstarman@users.noreply.github.com>
As the CI now passes I think this is ready to merge -- doing so! |
pip 25.1+ implements PEP 735 dependency groups.
Only people developing jaxtyping are effected, and generally devs keep (/ are willing to keep) their pip updated.
This also makes the following easy for non-pip-using devs:
uv run --group tests pytest