From 7058a4926d0b0e93f8ae561613a7577ac24fb600 Mon Sep 17 00:00:00 2001 From: finswimmer Date: Sun, 16 Jan 2022 15:02:49 +0100 Subject: [PATCH] fix: set `naive=True` when trying to get poetry environment on update --- src/poetry/console/commands/self/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/poetry/console/commands/self/update.py b/src/poetry/console/commands/self/update.py index eefa6397646..41e07355306 100644 --- a/src/poetry/console/commands/self/update.py +++ b/src/poetry/console/commands/self/update.py @@ -176,7 +176,7 @@ def _update(self, version: "Version") -> None: from poetry.repositories.installed_repository import InstalledRepository from poetry.utils.env import EnvManager - env = EnvManager.get_system_env() + env = EnvManager.get_system_env(naive=True) installed = InstalledRepository.load(env) root = ProjectPackage("poetry-updater", "0.0.0")