]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-136854: Exit on error in `make venv` (#136856)
authorNacho Caballero <nachocab@gmail.com>
Sun, 20 Jul 2025 12:08:00 +0000 (14:08 +0200)
committerGitHub <noreply@github.com>
Sun, 20 Jul 2025 12:08:00 +0000 (12:08 +0000)
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); \