From e879817ed5880da2593a84043f2842bbd68428b0 Mon Sep 17 00:00:00 2001 From: rdb Date: Fri, 2 Oct 2020 11:57:52 +0200 Subject: [PATCH] makepanda: Remove support for Python 3.5 --- makepanda/makepanda.py | 4 ++-- makepanda/makepandacore.py | 2 +- makepanda/makewheel.py | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index 29e3bd8ce9..588d400b1e 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -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: diff --git a/makepanda/makepandacore.py b/makepanda/makepandacore.py index 7230195652..c18d2418d0 100644 --- a/makepanda/makepandacore.py +++ b/makepanda/makepandacore.py @@ -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"): diff --git a/makepanda/makewheel.py b/makepanda/makewheel.py index 8f860864cd..3b2ff1697a 100644 --- a/makepanda/makewheel.py +++ b/makepanda/makewheel.py @@ -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.