Skip to content

Commit

Permalink
Upgrade python 3.8 (#2711)
Browse files Browse the repository at this point in the history
Signed-off-by: Peng Huo <[email protected]>
  • Loading branch information
penghuo authored Jun 5, 2024
1 parent 65e88c2 commit c90cf00
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doctest/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

DIR=$(dirname "$0")

if hash python3.7 2> /dev/null; then
PYTHON=python3.7
if hash python3.8 2> /dev/null; then
PYTHON=python3.8
elif hash python3 2> /dev/null; then
# fallback to python3 in case there is no python3.7 alias; should be 3.7
# fallback to python3 in case there is no python3.8 alias; should be 3.8
PYTHON=python3
else
echo 'python3.7 required'
echo 'python3.8 required'
exit 1
fi

Expand Down

0 comments on commit c90cf00

Please sign in to comment.