Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
build/pkgs/python3/spkg-configure.m4: Use 'python >= 3.7'; keep check…
Browse files Browse the repository at this point in the history
…ing for 'python3.8, python3.7'
  • Loading branch information
mkoeppe committed Sep 16, 2020
1 parent 64c3a8a commit be47518
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/pkgs/python3/spkg-configure.m4
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ SAGE_SPKG_CONFIGURE([python3], [
dnl Using Python 3 for Sage. Check if we can do venv with a system python3
dnl instead of building our own copy.
check_modules="sqlite3, ctypes, math, hashlib, crypt, readline, socket, zlib, distutils.core"
AC_CACHE_CHECK([for python3 > 3.6, < 3.9 with modules $check_modules], [ac_cv_path_PYTHON3], [
AC_CACHE_CHECK([for python3 >= 3.7, < 3.9 with modules $check_modules], [ac_cv_path_PYTHON3], [
AC_MSG_RESULT([])
AC_PATH_PROGS_FEATURE_CHECK([PYTHON3], [python3], [
AC_PATH_PROGS_FEATURE_CHECK([PYTHON3], [python3.8 python3.7 python3], [
AC_MSG_CHECKING([... whether $ac_path_PYTHON3 is good])
python3_version=`"$ac_path_PYTHON3" --version 2>&1 \
| $SED -n -e 's/\([[0-9]]*\.[[0-9]]*\.[[0-9]]*\).*/\1/p'`
Expand Down

0 comments on commit be47518

Please sign in to comment.