From 3468a59a64354da1cbf1f9479302b0d51bcb2e9d Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Tue, 21 Jan 2025 00:50:54 +0200 Subject: [PATCH] Fix venv creation for the local Python using uv --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7282905..ec0aace 100644 --- a/Makefile +++ b/Makefile @@ -51,7 +51,7 @@ ensure-venv: @if [ ! -d $(VENVDIR) ] ; then \ echo "Creating venv in $(VENVDIR)"; \ if uv --version > /dev/null; then \ - uv venv $(VENVDIR); \ + uv venv --python=$(PYTHON) $(VENVDIR); \ VIRTUAL_ENV=$(VENVDIR) uv pip install -r requirements.txt; \ else \ $(PYTHON) -m venv $(VENVDIR); \