From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 20 Jul 2025 12:13:48 +0000 (+0200) Subject: [3.14] gh-136854: Exit on error in `make venv` (GH-136856) (#136860) X-Git-Tag: v3.14.0rc1~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee37365e0db5712b808456d136c19ef582059bbd;p=thirdparty%2FPython%2Fcpython.git [3.14] gh-136854: Exit on error in `make venv` (GH-136856) (#136860) 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); \