Skip to content

Add --no-install-local to uv syncΒ #14866

@danielgafni

Description

@danielgafni

Summary

This flag would be similar to --no-install-workspace, but it would also affect local non-workspace dependencies.

This is desired in optimized docker builds where we don't want to install frequently changing local packages before installing heavy third party dependencies.

Currently this workflow is well supported when depending on other packages from the same workspace, but these packages may also come from other workspaces.

Example

Current command:

uv sync --no-install-workspace \
        --no-install-package anam-face-extraction \
        --no-install-package anam-syncnet \
        --no-install-package anam-data-utils \
        --no-install-package anam-dagster \
        --no-install-package anam-training-data \
        ...

Desired command:

uv sync --no-install-local

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or improvement to existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions