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
Yeah I think this is fine. With --frozen, we don't require that all of the pyproject.toml files are available, since it's common for users to run this in a Docker layer, and only copy over the workspace root. So there actually can be groups referenced that aren't visible to the command.
We can maybe shift this to being based on the lockfile instead? So look at the lockfile to figure out the available groups, rather than looking at the pyproject.toml.
We can maybe shift this to being based on the lockfile instead? So look at the lockfile to figure out the available groups, rather than looking at the pyproject.toml.
That's actually exactly what I'm doing in a script right now when I found this issue. I tried to eliminate that check it in favor of uv export handling the erroring when I found out it doesn't.
Summary
When doing a uv export with
--group
or--only-group
, a non-zero exit code and error are normally shown.However, non-existent groups are not checked for when the
--frozen
flag is defined.Platform
Windows 11 x86_64
Version
uv 0.5.23
Python version
3.11.0
The text was updated successfully, but these errors were encountered: