Skip to content

Commit

Permalink
Fix a TypeError when trying to execute setup.py files (#2499)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdispater authored Jun 5, 2020
1 parent 9679974 commit 0959380
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion poetry/puzzle/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,8 @@ def progress(self):

self._in_progress = False

def _execute_setup(self):
@classmethod
def _execute_setup(cls):
with temporary_directory() as tmp_dir:
EnvManager.build_venv(tmp_dir)
venv = VirtualEnv(Path(tmp_dir), Path(tmp_dir))
Expand Down

0 comments on commit 0959380

Please sign in to comment.