Skip to content

Commit a50bbed

Browse files
authored
Infra: Fix venv creation for the local Python using uv (#4217)
1 parent 704cfeb commit a50bbed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ venv:
6666
else \
6767
echo "Creating venv in $(VENVDIR)"; \
6868
if $(UV) --version >/dev/null 2>&1; then \
69-
$(UV) venv $(VENVDIR); \
69+
$(UV) venv --python=$(PYTHON) $(VENVDIR); \
7070
VIRTUAL_ENV=$(VENVDIR) $(UV) pip install -r $(REQUIREMENTS); \
7171
else \
7272
$(PYTHON) -m venv $(VENVDIR); \

0 commit comments

Comments
 (0)