makepanda: Remove support for Python 3.5

This commit is contained in:
rdb 2020-10-02 11:57:52 +02:00
parent 7ae3908c5d
commit e879817ed5
3 changed files with 5 additions and 5 deletions

View File

@ -9,8 +9,8 @@
######################################################################## ########################################################################
import sys import sys
if sys.version_info < (3, 5): if sys.version_info < (3, 6):
print("This version of Python is not supported, use version 3.5 or higher.") print("This version of Python is not supported, use version 3.6 or higher.")
exit(1) exit(1)
try: try:

View File

@ -3388,7 +3388,7 @@ def UpdatePythonVersionInfoFile(new_info):
version_info["soabi"] == new_info["soabi"] or \ version_info["soabi"] == new_info["soabi"] or \
not os.path.isfile(core_pyd) or \ not os.path.isfile(core_pyd) or \
version_info["version"].split(".", 1)[0] == "2" or \ version_info["version"].split(".", 1)[0] == "2" or \
version_info["version"] in ("3.0", "3.1", "3.2", "3.3", "3.4"): version_info["version"] in ("3.0", "3.1", "3.2", "3.3", "3.4", "3.5"):
json_data.remove(version_info) json_data.remove(version_info)
if not PkgSkip("PYTHON"): if not PkgSkip("PYTHON"):

View File

@ -531,8 +531,8 @@ def makewheel(version, output_dir, platform=None):
if not LocateBinary("patchelf"): if not LocateBinary("patchelf"):
raise Exception("patchelf is required when building a Linux wheel.") raise Exception("patchelf is required when building a Linux wheel.")
if sys.version_info < (3, 5): if sys.version_info < (3, 6):
raise Exception("Python 3.5 is required to produce a wheel.") raise Exception("Python 3.6 is required to produce a wheel.")
if platform is None: if platform is None:
# Determine the platform from the build. # Determine the platform from the build.