Skip to content

Commit 4d0d0a4

Browse files
authored
Fix venv creation for the local Python using uv (#1498)
1 parent ff5cf4a commit 4d0d0a4

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
@@ -59,7 +59,7 @@ ensure-venv:
5959
@if [ ! -d $(VENVDIR) ] ; then \
6060
echo "Creating venv in $(VENVDIR)"; \
6161
if $(UV) --version >/dev/null 2>&1; then \
62-
$(UV) venv $(VENVDIR); \
62+
$(UV) venv --python=$(PYTHON) $(VENVDIR); \
6363
VIRTUAL_ENV=$(VENVDIR) $(UV) pip install -r $(REQUIREMENTS); \
6464
else \
6565
$(PYTHON) -m venv $(VENVDIR); \

0 commit comments

Comments
 (0)