Skip to content

Allow .venv as folder name and not just venv when creating minimal reproductions using info plugin #8349

@schneekluth

Description

@schneekluth

Context

When using the Python Extension in vscode the command palette allows to easily create Virtual Environments but they have a fixed folder name .venv/.

Image

Description

Currently the Info Plugin only respects folders for Virtual Environments named venv/. If you create a minimal reproduction example the created zip is less than a megabyte in size:

Image

If the folder name is .venv the content of this folder is included in the generated zip which results in a filesize of roughly 30 megabytes and a warning is shown:

Image

Would it be possible to allow virtual environment folders to be names .venv?

Related links

Use Cases

Creating a virtual environment in vscode is way quicker and less prone to errors as using the CLI. vscode provides handy commands that even novice users can easily understand.

Visuals

No response

Before submitting

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue reports a bug

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions