Skip to content

regular venv environment manager duplicates Hatch-managed environments #1471

@flying-sheep

Description

@flying-sheep

See here: the recommended environment on top (which is the currently selected one) comes from my Hatch extension’s env manager, but the “venv” env manager shows the same environment. The only difference I can see is that it adds bin/python to the path.

Should I set the path of the environment to the binary in my extension to prevent this?

If so, which one is used to deduplicate? Are they deduplicated at all or will the venv env manager just pick up and duplicate everything it ever sees?

readonly displayPath: string;

readonly environmentPath: Uri;

readonly execInfo: PythonEnvironmentExecutionInfo;

Image

Metadata

Metadata

Assignees

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