Skip to content

poetry env remove with virtualenvs.in-project = true #2124

@fgervais

Description

@fgervais

Issue

I think poetry env remove fails when virtualenvs.in-project = true

$ poetry env info

Virtualenv
Python:         3.6.9
Implementation: CPython
Path:           /home/fgervais/personal/test/.venv
Valid:          True

System
Platform: linux
OS:       posix
Python:   /usr

$ poetry config --list
cache-dir = "/home/fgervais/.cache/pypoetry"
virtualenvs.create = true
virtualenvs.in-project = true
virtualenvs.path = "{cache-dir}/virtualenvs"  # /home/fgervais/.cache/pypoetry/virtualenvs
$ poetry env remove 3.6.9

[ValueError]
Environment "test-dT4kcP9T-py3.6" does not exist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/cliRelated to the command linearea/venvRelated to virtualenv managementkind/bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions