Skip to content

uv run --with should not allow modifications to the --with environment #7643

@charliermarsh

Description

@charliermarsh

The --with dependencies use a cached environment based on the resolved dependencies. If users modify that environment, it could affect --with invocations in other projects.

Instead, I think we should run these commands in an empty virtual environment, with the base and --with environments layered atop, such that any modifications don't affect the --with environment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions