]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
doc: fix venv creating for the local Python using uv (#129094)
authorFilipe Laíns 🇵🇸 <lains@riseup.net>
Mon, 20 Jan 2025 19:04:05 +0000 (19:04 +0000)
committerGitHub <noreply@github.com>
Mon, 20 Jan 2025 19:04:05 +0000 (21:04 +0200)
Doc/Makefile

index 1a66642a4a03ede3bed04ed83778f76877e7d8e5..b8896da4a918691b95e025a4ecc8d0c1579eafc5 100644 (file)
@@ -172,7 +172,7 @@ venv:
        else \
                echo "Creating venv in $(VENVDIR)"; \
                if $(UV) --version >/dev/null 2>&1; then \
-                       $(UV) venv $(VENVDIR); \
+                       $(UV) venv --python=$(PYTHON) $(VENVDIR); \
                        VIRTUAL_ENV=$(VENVDIR) $(UV) pip install -r $(REQUIREMENTS); \
                else \
                        $(PYTHON) -m venv $(VENVDIR); \