]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] doc: fix venv creating for the local Python using uv (GH-129094) (#129097)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 20 Jan 2025 19:13:23 +0000 (20:13 +0100)
committerGitHub <noreply@github.com>
Mon, 20 Jan 2025 19:13:23 +0000 (21:13 +0200)
Co-authored-by: Filipe Laíns 🇵🇸 <lains@riseup.net>
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); \