-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running uv sync --locked
asked to update uv.lock even after uv lock
#8581
Comments
Issue should be reproducible on our workspace here: https://github.com/microsoft/autogen/tree/main/python |
Thanks for the repro. |
Apologies. Fixed in the next release. You can also workaround it by removing the empty |
## Summary It turns out we were omitting empty dependency groups from the lockfile metadata, which was then causing us to reject locks when empty groups were defined. We now include them (that section of the lock is meant to be a true representation of the metadata, and an empty-but-defined group is different from an absent group), though we can ignore them for validation, since it doesn't affect any behavior. Closes #8581.
Thanks so much for the quick fix and explanation! |
To repreduce:
uv 0.4.27
The text was updated successfully, but these errors were encountered: