From 2fda922ae1407441e57de9cdc745315123be453d Mon Sep 17 00:00:00 2001 From: kamilswiec Date: Sun, 5 Mar 2023 16:37:54 +0200 Subject: [PATCH 1/5] docs:mention VIRTUAL_ENV in virtualenvs.create configuration --- docs/configuration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index 7966750b230..45fbc313424 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -280,8 +280,8 @@ Use parallel execution when using the new (`>=1.1.0`) installer. Create a new virtual environment if one doesn't already exist. If set to `false`, Poetry will not create a new virtual environment. If it detects a virtual environment -in `{cache-dir}/virtualenvs` or `{project-dir}/.venv` it will install dependencies into them, otherwise it will install -dependencies into the systems python environment. +in `{cache-dir}/virtualenvs` or `{project-dir}/.venv` or in `VIRTUAL_ENV` it will install dependencies +into them, otherwise it will install dependencies into the systems python environment. {{% note %}} If Poetry detects it's running within an activated virtual environment, it will never create a new virtual environment, From 4d498f9e9e8b999cd3e04619b2a35253c419acb7 Mon Sep 17 00:00:00 2001 From: kamilswiec Date: Sun, 5 Mar 2023 21:00:41 +0200 Subject: [PATCH 2/5] docs:suggestion change --- docs/configuration.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index 45fbc313424..7bc9c83938d 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -279,9 +279,9 @@ Use parallel execution when using the new (`>=1.1.0`) installer. Create a new virtual environment if one doesn't already exist. -If set to `false`, Poetry will not create a new virtual environment. If it detects a virtual environment -in `{cache-dir}/virtualenvs` or `{project-dir}/.venv` or in `VIRTUAL_ENV` it will install dependencies -into them, otherwise it will install dependencies into the systems python environment. +If set to `false`, Poetry will not create a new virtual environment. If it detects already enabled virtual +environment or existing one in `{cache-dir}/virtualenvs` or `{project-dir}/.venv` it will +install dependencies into them, otherwise it will install dependencies into the systems python environment. {{% note %}} If Poetry detects it's running within an activated virtual environment, it will never create a new virtual environment, From a90f08704746c12289ebe16c1beb09655af923d2 Mon Sep 17 00:00:00 2001 From: kamilswiec Date: Sun, 5 Mar 2023 21:03:34 +0200 Subject: [PATCH 3/5] fix:trailing whitespaces --- docs/configuration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index 7bc9c83938d..78f23d27152 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -279,8 +279,8 @@ Use parallel execution when using the new (`>=1.1.0`) installer. Create a new virtual environment if one doesn't already exist. -If set to `false`, Poetry will not create a new virtual environment. If it detects already enabled virtual -environment or existing one in `{cache-dir}/virtualenvs` or `{project-dir}/.venv` it will +If set to `false`, Poetry will not create a new virtual environment. If it detects already enabled virtual +environment or existing one in `{cache-dir}/virtualenvs` or `{project-dir}/.venv` it will install dependencies into them, otherwise it will install dependencies into the systems python environment. {{% note %}} From a18f28ff319e0931673abd28a9c5028e97027e83 Mon Sep 17 00:00:00 2001 From: kamilswiec <31224592+kamilswiec@users.noreply.github.com> Date: Thu, 9 Mar 2023 16:46:32 +0200 Subject: [PATCH 4/5] Update docs/configuration.md Co-authored-by: Bjorn Neergaard --- docs/configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/configuration.md b/docs/configuration.md index 78f23d27152..cfe49af643f 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -280,7 +280,7 @@ Use parallel execution when using the new (`>=1.1.0`) installer. Create a new virtual environment if one doesn't already exist. If set to `false`, Poetry will not create a new virtual environment. If it detects already enabled virtual -environment or existing one in `{cache-dir}/virtualenvs` or `{project-dir}/.venv` it will +environment or an existing one in `{cache-dir}/virtualenvs` or `{project-dir}/.venv` it will install dependencies into them, otherwise it will install dependencies into the systems python environment. {{% note %}} From 8f0bbe5ab7965efcd4acd3b085be5d6bd2784344 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Randy=20D=C3=B6ring?= <30527984+radoering@users.noreply.github.com> Date: Tue, 16 May 2023 18:05:52 +0200 Subject: [PATCH 5/5] Update docs/configuration.md --- docs/configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/configuration.md b/docs/configuration.md index cfe49af643f..1fb21e38461 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -279,7 +279,7 @@ Use parallel execution when using the new (`>=1.1.0`) installer. Create a new virtual environment if one doesn't already exist. -If set to `false`, Poetry will not create a new virtual environment. If it detects already enabled virtual +If set to `false`, Poetry will not create a new virtual environment. If it detects an already enabled virtual environment or an existing one in `{cache-dir}/virtualenvs` or `{project-dir}/.venv` it will install dependencies into them, otherwise it will install dependencies into the systems python environment.