Skip to content

Commit f86c8fc

Browse files
committed
Merge remote-tracking branch 'upstream/staging' into v5.x
* upstream/staging: fix: specify which python we want to use fix: drop cwd=self.bench.name Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2 parents 6f9a096 + 6d6f8ea commit f86c8fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bench/utils/bench.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,9 +257,9 @@ def _install_app(app, pyenv):
257257
logger.log(f"Setting up a New Virtual {python} Environment")
258258
if os.environ.get("BENCH_USE_UV"):
259259
if os.environ.get("FRAPPE_DOCKER_BUILD"):
260-
exec_cmd(f"uv venv {pvenv} --seed --link-mode=copy", cwd=self.bench.name)
260+
exec_cmd(f"uv venv {pvenv} --seed --link-mode=copy --python {python}")
261261
else:
262-
exec_cmd(f"uv venv {pvenv} --seed", cwd=self.bench.name)
262+
exec_cmd(f"uv venv {pvenv} --seed --python {python}")
263263
else:
264264
exec_cmd(f"{python} -m venv {pvenv}")
265265

0 commit comments

Comments
 (0)