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

Add uv sync --no-locals to skip syncing local dependencies #6398

Closed
wants to merge 1 commit into from

Conversation

charliermarsh
Copy link
Member

@charliermarsh charliermarsh commented Aug 22, 2024

Summary

This PR adds a flag (name TBD) that skips the installation of any local dependencies, allowing users to prime a Docker layer by copying over just the lockfile.

See: #4028

@charliermarsh
Copy link
Member Author

I sort of hate the name, and I don't think we've resolved the issue of "flag for only omitting the current project".

@charliermarsh charliermarsh added enhancement New feature or request cache Caching of packages and metadata labels Aug 22, 2024
@zanieb
Copy link
Member

zanieb commented Aug 22, 2024

Hoping a good name comes to me overnight...

crates/distribution-types/src/resolution.rs Show resolved Hide resolved
docs/guides/integration/docker.md Show resolved Hide resolved
@zanieb
Copy link
Member

zanieb commented Aug 23, 2024

We could still support --no-install-locals, but I did #6538 / #6539 / #6540 for now using this implementation

@zanieb zanieb closed this Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cache Caching of packages and metadata enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants