- OS version and name: macOS Montery version 12.4
- Poetry version: 1.2.0b2
Issue
When calling poetry using environment variables to configure options, they do not seem to be respected. From the documentation, I would expect to be able to create a virtual environment without pip using something like the following:
POETRY_VIRTUALENVS_OPTIONS_NO_PIP=true POETRY_VIRTUALENVS_IN_PROJECT=true POETRY_VIRTUALENVS_PATH=.venv poetry install
The last two values work. Poetry is installed in the project in a folder named .venv -- however, pip is still in the site-packages folder.
I've tried the other "options" as well, and tried different ways to name them but have not been successful.
Are options able to be configured by environment variables?
-vvvoption).Issue
When calling
poetryusing environment variables to configure options, they do not seem to be respected. From the documentation, I would expect to be able to create a virtual environment withoutpipusing something like the following:POETRY_VIRTUALENVS_OPTIONS_NO_PIP=true POETRY_VIRTUALENVS_IN_PROJECT=true POETRY_VIRTUALENVS_PATH=.venv poetry installThe last two values work. Poetry is installed in the project in a folder named
.venv-- however,pipis still in thesite-packagesfolder.I've tried the other "options" as well, and tried different ways to name them but have not been successful.
Are options able to be configured by environment variables?