Skip to content

Exported VIRTUAL_ENV=... results in warnings #209

@Ravencentric

Description

@Ravencentric

After #194, setup-uv now exports the env var VIRTUAL_ENV. The top level project API (e.g., uv sync) does not respect this and emits the following warning:

warning: `VIRTUAL_ENV=.venv/bin` does not match the project environment path `.venv` and will be ignored` upon invocation.

I understand the reasoning behind the change, but I think it should be opt-in rather than the default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions