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

feat: add uv version to lock file #11353

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Aditya-PS-05
Copy link
Contributor

Closes #11319

Add uv version information to uv.lock file to track which version of uv
was used to generate or update the lock file.

Before:

Screenshot from 2025-02-09 18-27-45

After:

Screenshot from 2025-02-09 18-32-11

This makes it possible to:

  • Track which uv version generated/modified the lock file

Current problem here:
I didn't updated the snapshots and the tests which are failing, because I first want to make sure, I am currently solving the issue in a current way.

@Aditya-PS-05 Aditya-PS-05 changed the title feat: add uv version to lock file (#11319) feat: add uv version to lock file Feb 9, 2025
@samypr100
Copy link
Collaborator

samypr100 commented Feb 9, 2025

Note, I'd considering getting the version from the uv-version crate rather than CARGO_PKG_VERSION 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Indicate the version of uv that was used to generate/update the uv.lock file in the file itself
2 participants