You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Switch to pylock.toml from our test-requirements.txt lockfile #3437
Actually, there's a standardized lockfile now. Pip's support for it is in beta, but I figure we can switch to it whenever. In particular, it looks like we can swap pip compile requirements.in --universal -o requirements.txt to uv pip compile requirements.in -o pylock.toml (I don't know if we can do test-requirements.in and docs-requirements.in in the same file...)
I expect uv pip compile pyproject.toml --universal --group test --group docs --python-version=3.10 -o pylock.toml to work (with dependency groups test and docs added to pyproject.toml), but currently that doesn't compile the dependency groups as separate -- so everything is locked to the same exact version. Unfortunately, that's not good enough for us!
Reading through the pylock.toml spec, I think this can be supported. So I guess we just need uv to fix this (or for me to find the right flag, maybe?)...
Activity
A5rocks commentedon May 25, 2026
I expect
uv pip compile pyproject.toml --universal --group test --group docs --python-version=3.10 -o pylock.tomlto work (with dependency groupstestanddocsadded topyproject.toml), but currently that doesn't compile the dependency groups as separate -- so everything is locked to the same exact version. Unfortunately, that's not good enough for us!Reading through the
pylock.tomlspec, I think this can be supported. So I guess we just needuvto fix this (or for me to find the right flag, maybe?)...Reference: astral-sh/uv#13060