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

Remove non-existent extras from lockfile #4479

Merged
merged 1 commit into from
Jun 24, 2024
Merged

Remove non-existent extras from lockfile #4479

merged 1 commit into from
Jun 24, 2024

Conversation

charliermarsh
Copy link
Member

Summary

Ultimately decided to view this as part of LockWire normalization: removing references to extras that don't exist. I think it would be nice if the resolver avoided omitting these, but I don't know if it's fully possible.

Closes #4405.

@charliermarsh charliermarsh added bug Something isn't working preview Experimental behavior labels Jun 24, 2024
@charliermarsh
Copy link
Member Author

Another option is to leave these in the lockfile and not validate them at all.

Copy link
Member

@BurntSushi BurntSushi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I like filtering them out instead of including them I think.

@charliermarsh charliermarsh merged commit f6aec0a into main Jun 24, 2024
47 checks passed
@charliermarsh charliermarsh deleted the charlie/ex branch June 24, 2024 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working preview Experimental behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

uv lock fails when specified dependency's extra is effectively no-op (since 0.2.12)
2 participants