File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -132,6 +132,9 @@ C API
132132Build
133133-----
134134
135+ - Issue #27434: The interpreter that runs the cross-build, found in PATH, must
136+ now be of the same feature version (e.g. 3.6) as the source being built.
137+
135138- Issue #26930: Update Windows builds to use OpenSSL 1.0.2h.
136139
137140- Issue #23968: Rename the platform directory from plat-$(MACHDEP) to
Original file line number Diff line number Diff line change @@ -3002,7 +3002,7 @@ $as_echo_n "checking for python interpreter for cross build... " >&6; }
30023002 if test -z " $PYTHON_FOR_BUILD " ; then
30033003 for interp in python$PACKAGE_VERSION python3 python; do
30043004 which $interp > /dev/null 2>&1 || continue
3005- if $interp -c ' import sys;sys.exit(not sys.version_info[:2] >= (3,3)) ' ; then
3005+ if $interp -c " import sys;sys.exit(not '.'.join(str(n) for n in sys.version_info[:2]) == ' $PACKAGE_VERSION ') " ; then
30063006 break
30073007 fi
30083008 interp=
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ if test "$cross_compiling" = yes; then
6262 if test -z "$PYTHON_FOR_BUILD"; then
6363 for interp in python$PACKAGE_VERSION python3 python; do
6464 which $interp >/dev/null 2>&1 || continue
65- if $interp -c ' import sys;sys.exit(not sys.version_info@<:@:2@:>@ >= (3,3))' ; then
65+ if $interp -c " import sys;sys.exit(not '.'.join(str(n) for n in sys.version_info@<:@:2@:>@) == '$PACKAGE_VERSION')" ; then
6666 break
6767 fi
6868 interp=
You can’t perform that action at this time.
0 commit comments