8000 Fix venv creation for the local Python using uv (#145) · python/docs-community@f7c2e24 · GitHub
[go: up one dir, main page]

Skip to content

Commit f7c2e24

Browse files
authored
Fix venv creation for the local Python using uv (#145)
1 parent fec4de6 commit f7c2e24

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
@@ -51,7 +51,7 @@ ensure-venv:
5151
@if [ ! -d $(VENVDIR) ] ; then \
5252
echo "Creating venv in $(VENVDIR)"; \
5353
if uv --version > /dev/null; then \
54-
uv venv $(VENVDIR); \
54+
uv venv --python=$(PYTHON) $(VENVDIR); \
5555
VIRTUAL_ENV=$(VENVDIR) uv pip install -r requirements.txt; \
5656
else \
5757
$(PYTHON) -m venv $(VENVDIR); \

0 commit comments

Comments
 (0)
0