uv icon indicating copy to clipboard operation
uv copied to clipboard

Workspace per project lockfile and virtual environment

Open dudicoco opened this issue 1 year ago • 6 comments

Hi,

Currently, in workspace mode uv will install a virtual environment and will create a global lock file in the project root.

Please allow to have a separate .venv and uv.lock per project.

The use case for this is that in a monorepo you might want to have strict separate dependencies per project but have the ability to efficiently resolve and install the dependencies in one command.

This is how pnpm workspace install works with the shared-workspace-lockfile option set to false.

dudicoco avatar Nov 15 '24 14:11 dudicoco