Skip to content
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

Use dev-dependencies and requires-dev for lockfile compatibility #8501

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

charliermarsh
Copy link
Member

Summary

Per discussion on Discord, we're going to keep these names for now (changed in #8391 but not yet released) for compatibility. They're just cosmetic, but with the changes as-is, if you ran an older uv version over a newer lockfile...

  • For uv sync: the lockfile would be invalidated, and we'd re-resolve.
  • For uv sync --frozen: we'd silently skip the development dependencies.

We'll change these names in the future once we've added better error handling around lockfile versions (#8465).

@charliermarsh charliermarsh added the compatibility Compatibility with a specification or another tool label Oct 23, 2024
@charliermarsh charliermarsh merged commit 70976ea into tracking/735 Oct 23, 2024
62 checks passed
@charliermarsh charliermarsh deleted the charlie/rev branch October 23, 2024 13:32
zanieb added a commit that referenced this pull request Oct 28, 2024
…8599)

## Summary

Unfortunately, it looks like we lost
#8501 somewhere in a bad rebase.
This PR re-adds the change, with compatibility for those lockfiles
created in v0.4.27. I'm not certain we should actually merge this. It
might be less painful and confusing to just bite the bullet on the
change.

---------

Co-authored-by: Zanie Blue <contact@zanie.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility Compatibility with a specification or another tool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants