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 192c8fa commit 319b07c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poetry/console/commands/self/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ def _update_with_new_method(self, version):
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 319b07c

Please sign in to comment.