Skip to content

Support custom venv locations for uv sync #5229

@andriygm

Description

@andriygm

uv pip install supports the VIRTUAL_ENV environment variable, allowing package installation into venvs not located in the same directory as the project. uv sync would also benefit from being able to install packages into external venvs (perhaps as a flag?)

Since uv sync also creates venvs if they don't exist, it should do so in the custom location.

Metadata

Metadata

Assignees

Labels

needs-decisionUndecided if this should be doneprojectsRelated to project management capabilities

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions