Increased minimum required Python versions to prevent usage with very old versions (i.e. eric was never tested with).

Mon, 03 Apr 2017 18:46:15 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 03 Apr 2017 18:46:15 +0200
changeset 5675
c6bfe7b10b01
parent 5674
a0ad2dcb27f9
child 5676
0ba58180afde

Increased minimum required Python versions to prevent usage with very old versions (i.e. eric was never tested with).
min. versions: Python 2 - 2.7.10; Python 3 - 3.4.0

changelog file | annotate | diff | comparison | revisions
install.py file | annotate | diff | comparison | revisions
--- a/changelog	Mon Apr 03 18:44:16 2017 +0200
+++ b/changelog	Mon Apr 03 18:46:15 2017 +0200
@@ -2,6 +2,10 @@
 ----------
 Version 17.04:
 - bug fixes
+- General
+  -- increased minimum required Python versions to prevent usage
+     with very old versions (i.e. eric was never tested with)
+     min. versions: Python 2 - 2.7.10; Python 3 - 3.4.0
 - Checkers
   -- added checks for shadowed Python builtins and unneccessary comprehensions
      and generators to the code style checker
--- a/install.py	Mon Apr 03 18:44:16 2017 +0200
+++ b/install.py	Mon Apr 03 18:46:15 2017 +0200
@@ -1128,12 +1128,12 @@
     
     # perform dependency checks
     print("Python Version: {0:d}.{1:d}.{2:d}".format(*sys.version_info[:3]))
-    if sys.version_info < (2, 7, 0):
-        print('Sorry, you must have Python 2.7.0 or higher or '
-              'Python 3.3.0 or higher.')
+    if sys.version_info < (2, 7, 10):
+        print('Sorry, you must have Python 2.7.10 or higher or '
+              'Python 3.4.0 or higher.')
         exit(5)
-    elif sys.version_info < (3, 3, 0) and sys.version_info[0] == 3:
-        print('Sorry, you must have Python 3.3.0 or higher.')
+    elif sys.version_info < (3, 4, 0) and sys.version_info[0] == 3:
+        print('Sorry, you must have Python 3.4.0 or higher.')
         exit(5)
     if sys.version_info > (3, 9, 9):
         print('Sorry, eric6 requires Python 3 or Python 2 for running.')

eric ide

mercurial