mirror of
https://github.com/python/cpython.git
synced 2026-07-25 11:22:45 -04:00
[3.14] gh-136854: Exit on error in make venv (GH-136856) (#136860)
Co-authored-by: Nacho Caballero <nachocab@gmail.com> Co-authored-by: Nacho Caballero <nacho.caballero@astrazeneca.com>
This commit is contained in:
committed by
GitHub
parent
0e909267f6
commit
ee37365e0d
@@ -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); \
|
||||
|
||||
Reference in New Issue
Block a user