]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-136854: Exit on error in `make venv` (GH-136856) (#136861)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 20 Jul 2025 12:14:42 +0000 (14:14 +0200)
committerGitHub <noreply@github.com>
Sun, 20 Jul 2025 12:14:42 +0000 (12:14 +0000)
Co-authored-by: Nacho Caballero <nachocab@gmail.com>
Co-authored-by: Nacho Caballero <nacho.caballero@astrazeneca.com>
Doc/Makefile

index c8a749a02a89ecad8257d7c4b1d450109b74dbbe..84578c5c57f478f2ba42a0b4193b42347de0216f 100644 (file)
@@ -170,6 +170,7 @@ venv:
                echo "venv already exists."; \
                echo "To recreate it, remove it first with \`make clean-venv'."; \
        else \
+               set -e; \
                echo "Creating venv in $(VENVDIR)"; \
                if $(UV) --version >/dev/null 2>&1; then \
                        $(UV) venv --python=$(PYTHON) $(VENVDIR); \