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
if sys.version_info < (3, 5):
print("This version of Python is not supported, use version 3.5 or higher.")
if sys.version_info < (3, 6):
print("This version of Python is not supported, use version 3.6 or higher.")
exit(1)
try:

View File

@ -3388,7 +3388,7 @@ def UpdatePythonVersionInfoFile(new_info):
version_info["soabi"] == new_info["soabi"] or \
not os.path.isfile(core_pyd) 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)
if not PkgSkip("PYTHON"):

View File

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