Skip to content

Commit 55d4c69

Browse files
committed
Merge remote-tracking branch 'upstream/staging' into v5.x
* upstream/staging: fix: ensure the new virtual environments have pip Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2 parents 3dd6d86 + 5bc8075 commit 55d4c69

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bench/bench.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ def env(self, python="python3"):
365365

366366
if not os.path.exists(self.bench.python):
367367
if os.environ.get("BENCH_USE_UV"):
368-
self.run("uv venv env", cwd=self.bench.name)
368+
self.run("uv venv env --seed", cwd=self.bench.name)
369369
else:
370370
venv = get_venv_path(verbose=verbose, python=python)
371371
self.run(f"{venv} env", cwd=self.bench.name)

bench/utils/bench.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ def _install_app(app):
256256
try:
257257
logger.log(f"Setting up a New Virtual {python} Environment")
258258
if os.environ.get("BENCH_USE_UV"):
259-
exec_cmd(f"uv venv {pvenv}")
259+
exec_cmd(f"uv venv {pvenv} --seed")
260260
else:
261261
exec_cmd(f"{python} -m venv {pvenv}")
262262

0 commit comments

Comments
 (0)