Skip to content

Commit

Permalink
fix: set naive=True when trying to get poetry environment on update
Browse files Browse the repository at this point in the history
  • Loading branch information
finswimmer authored and neersighted committed Jan 17, 2022
1 parent 85ff214 commit 7058a49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/poetry/console/commands/self/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 7058a49

Please sign in to comment.