Skip to content

Commit a0cc449

Browse files
authored
Fix when can't install requirements (#350)
1 parent a760887 commit a0cc449

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pyperformance/run.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,13 @@ def run_benchmarks(should_run, python, options):
108108
else:
109109
benchmarks[bench] = (common, bench_runid)
110110
continue
111-
venv = VenvForBenchmarks.ensure(
112-
venv_root,
113-
info,
114-
upgrade='oncreate',
115-
inherit_environ=options.inherit_environ,
116-
)
117111
try:
112+
venv = VenvForBenchmarks.ensure(
113+
venv_root,
114+
info,
115+
upgrade='oncreate',
116+
inherit_environ=options.inherit_environ,
117+
)
118118
# XXX Do not override when there is a requirements collision.
119119
venv.ensure_reqs(bench)
120120
except _venv.RequirementsInstallationFailedError:

0 commit comments

Comments
 (0)