Skip to content

Comments

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

Closed
charliermarsh wants to merge 1 commit intomainfrom
charlie/locals
Closed

Add uv sync --no-locals to skip syncing local dependencies#6398
charliermarsh wants to merge 1 commit intomainfrom
charlie/locals

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 improvement to existing functionality 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...

@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 improvement to existing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants