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

Support editables in uv sync #3692

Merged
merged 1 commit into from
May 21, 2024
Merged

Conversation

konstin
Copy link
Member

@konstin konstin commented May 21, 2024

This is bare-bones support for editables in uv sync as basis for workspace support, notably without lockfile integration. It leverages the existing ResolvedEditables infrastructure.

This is bare-bones support for editables in `uv run` as basis for workspace support. It leverages the existing `ResolvedEditables` infrastructure.
@konstin konstin added the preview Experimental behavior label May 21, 2024
@konstin konstin changed the title Support editables in uv run Support editables in uv sync May 21, 2024
@konstin konstin enabled auto-merge (squash) May 21, 2024 11:28
@konstin konstin merged commit fbae550 into main May 21, 2024
44 checks passed
@konstin konstin deleted the konsti/support-editables-in-uv-run branch May 21, 2024 11:30
// TODO(konsti): Read editables from lockfile.
let editables = ResolvedEditables::default();
let editables = ResolvedEditables::resolve(
Vec::new(), // TODO(konsti): Read editables from lockfile
Copy link
Member

Choose a reason for hiding this comment

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

Wait, but this PR doesn't actually add anything, does it?

Copy link
Member

Choose a reason for hiding this comment

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

I intentionally removed this in favor of a default impl.

Copy link
Member Author

Choose a reason for hiding this comment

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

I see, i'll revert it until we have editable from the lockfile then: #3696

konstin added a commit that referenced this pull request May 21, 2024
charliermarsh pushed a commit that referenced this pull request May 21, 2024
This reverts commit #3692 until we get the editables from the lockfile.
charliermarsh pushed a commit that referenced this pull request May 21, 2024
This reverts commit #3692 until we get the editables from the lockfile.
charliermarsh added a commit that referenced this pull request May 21, 2024
## Summary

This is just a re-apply of #3696, which @konstin accidentally reverted
in #3585.

Co-authored-by: konsti <konstin@mailbox.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
preview Experimental behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants