From 2068ce8e512ebddc34dbf63f5857d498781244ae Mon Sep 17 00:00:00 2001 From: Altynbek Orumbayev Date: Wed, 23 Oct 2024 10:45:12 +0200 Subject: [PATCH] fix: enforces poetry setting to prefer active python instance --- .../production_python_smart_contract_python/poetry.toml | 1 + .../production_python_smart_contract_typescript/poetry.toml | 1 + .../generators/starter_python_smart_contract_python/poetry.toml | 1 + .../starter_python_smart_contract_typescript/poetry.toml | 1 + examples/production_python/poetry.toml | 1 + examples/starter_python/poetry.toml | 1 + template_content/poetry.toml | 1 + 7 files changed, 7 insertions(+) diff --git a/examples/generators/production_python_smart_contract_python/poetry.toml b/examples/generators/production_python_smart_contract_python/poetry.toml index ab1033b..5fcef8c 100644 --- a/examples/generators/production_python_smart_contract_python/poetry.toml +++ b/examples/generators/production_python_smart_contract_python/poetry.toml @@ -1,2 +1,3 @@ [virtualenvs] in-project = true +prefer-active-python = true diff --git a/examples/generators/production_python_smart_contract_typescript/poetry.toml b/examples/generators/production_python_smart_contract_typescript/poetry.toml index ab1033b..5fcef8c 100644 --- a/examples/generators/production_python_smart_contract_typescript/poetry.toml +++ b/examples/generators/production_python_smart_contract_typescript/poetry.toml @@ -1,2 +1,3 @@ [virtualenvs] in-project = true +prefer-active-python = true diff --git a/examples/generators/starter_python_smart_contract_python/poetry.toml b/examples/generators/starter_python_smart_contract_python/poetry.toml index ab1033b..5fcef8c 100644 --- a/examples/generators/starter_python_smart_contract_python/poetry.toml +++ b/examples/generators/starter_python_smart_contract_python/poetry.toml @@ -1,2 +1,3 @@ [virtualenvs] in-project = true +prefer-active-python = true diff --git a/examples/generators/starter_python_smart_contract_typescript/poetry.toml b/examples/generators/starter_python_smart_contract_typescript/poetry.toml index ab1033b..5fcef8c 100644 --- a/examples/generators/starter_python_smart_contract_typescript/poetry.toml +++ b/examples/generators/starter_python_smart_contract_typescript/poetry.toml @@ -1,2 +1,3 @@ [virtualenvs] in-project = true +prefer-active-python = true diff --git a/examples/production_python/poetry.toml b/examples/production_python/poetry.toml index ab1033b..5fcef8c 100644 --- a/examples/production_python/poetry.toml +++ b/examples/production_python/poetry.toml @@ -1,2 +1,3 @@ [virtualenvs] in-project = true +prefer-active-python = true diff --git a/examples/starter_python/poetry.toml b/examples/starter_python/poetry.toml index ab1033b..5fcef8c 100644 --- a/examples/starter_python/poetry.toml +++ b/examples/starter_python/poetry.toml @@ -1,2 +1,3 @@ [virtualenvs] in-project = true +prefer-active-python = true diff --git a/template_content/poetry.toml b/template_content/poetry.toml index ab1033b..5fcef8c 100644 --- a/template_content/poetry.toml +++ b/template_content/poetry.toml @@ -1,2 +1,3 @@ [virtualenvs] in-project = true +prefer-active-python = true