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

Allow distributions to be absent in deserialization #5453

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

charliermarsh
Copy link
Member

Summary

Closes #5434.

@charliermarsh charliermarsh added bug Something isn't working preview Experimental behavior labels Jul 25, 2024
@charliermarsh charliermarsh marked this pull request as ready for review July 25, 2024 17:31

----- stderr -----
warning: `uv sync` is experimental and may change without warning
warning: No `requires-python` value found in the workspace. Defaulting to `>=3.12`.
Copy link
Member

Choose a reason for hiding this comment

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

Maybe we should throw a requires-python in there to reduce the noise?

Copy link
Member Author

Choose a reason for hiding this comment

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

Not sure if we "can" since it's a virtual workspace (not a project). I'll try.

Copy link
Member Author

Choose a reason for hiding this comment

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

Typically it would have at least one member.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah as soon as we add a project field it becomes non-virtual and the package itself gets included in the lockfile (making it non-empty).

@charliermarsh charliermarsh enabled auto-merge (squash) July 25, 2024 17:52
@charliermarsh charliermarsh merged commit 75a042d into main Jul 25, 2024
55 checks passed
@charliermarsh charliermarsh deleted the charlie/empty branch July 25, 2024 18:01
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 sync in empty workspace succeeds and fails
2 participants