From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 20 Jul 2025 12:14:42 +0000 (+0200) Subject: [3.13] gh-136854: Exit on error in `make venv` (GH-136856) (#136861) X-Git-Tag: v3.13.6~64 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1172f4ccfe3c0edae846a97343c858afdaa30b1d;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-136854: Exit on error in `make venv` (GH-136856) (#136861) Co-authored-by: Nacho Caballero Co-authored-by: Nacho Caballero --- diff --git a/Doc/Makefile b/Doc/Makefile index c8a749a02a89..84578c5c57f4 100644 --- a/Doc/Makefile +++ b/Doc/Makefile @@ -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); \