$ 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.
I am on the latest Poetry version.
I have searched the issues of this repo and believe that this is not a duplicate.
If an exception occurs when executing a command, I executed it again in debug mode (
-vvvoption).OS version and name: 18.04.3 LTS (Bionic Beaver)
Poetry version: Poetry version 1.0.5
Link of a Gist with the contents of your pyproject.toml file: https://gist.github.com/fgervais/5a33d9df4cca064f02ce7fa6136c7e5e
Issue
I think
poetry env removefails whenvirtualenvs.in-project = true