From 1d36a2e75e99df0444330586b9c393f07c913a30 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Wed, 17 Jun 2020 17:49:33 -0700 Subject: [PATCH] build/bin/sage-system-python: Try python first --- build/bin/sage-system-python | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/bin/sage-system-python b/build/bin/sage-system-python index 7ba5ed30257..9e18639da1d 100755 --- a/build/bin/sage-system-python +++ b/build/bin/sage-system-python @@ -20,7 +20,9 @@ fi # # See https://trac.sagemath.org/ticket/29090 -PYTHONS="python3 python3.8 python3.7 python2.7 python python3.6 python2" +# Trac #29890: Our first choice is "python", not "python3". This is to avoid +# a defect of sage_bootstrap on macOS regarding SSL URLs. +PYTHONS="python python3 python3.8 python3.7 python2.7 python3.6 python2" for PY in $PYTHONS; do PYTHON="$(PATH="$SAGE_ORIG_PATH" command -v $PY)" if [[ -n "$PYTHON" ]]; then