Browse Source

makepanda: Remove support for Python 3.5

rdb 5 years ago
parent
commit
e879817ed5
3 changed files with 5 additions and 5 deletions
  1. 2 2
      makepanda/makepanda.py
  2. 1 1
      makepanda/makepandacore.py
  3. 2 2
      makepanda/makewheel.py

+ 2 - 2
makepanda/makepanda.py

@@ -9,8 +9,8 @@
 ########################################################################
 ########################################################################
 
 
 import sys
 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)
     exit(1)
 
 
 try:
 try:

+ 1 - 1
makepanda/makepandacore.py

@@ -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"):

+ 2 - 2
makepanda/makewheel.py

@@ -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):
-        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:
     if platform is None:
         # Determine the platform from the build.
         # Determine the platform from the build.