Xqt has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/263372

Change subject: Deprecate python 2.6
......................................................................

Deprecate python 2.6

python 2.6 is deprecated and pwb 2.0 does not run under 2.6. anymore.
There is no reason to keep master behind the 2.0 branch supporting
python versions.

Change-Id: Ied97711c81adebe9c260c8e7c2647b6cc71846fa
---
M pwb.py
1 file changed, 2 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/72/263372/1

diff --git a/pwb.py b/pwb.py
index fdd6fd4..0743658 100755
--- a/pwb.py
+++ b/pwb.py
@@ -31,13 +31,12 @@
 
 PYTHON_VERSION = sys.version_info[:3]
 PY2 = (PYTHON_VERSION[0] == 2)
-PY26 = (PYTHON_VERSION < (2, 7))
 
 versions_required_message = """
 Pywikibot not available on:
 %s
 
-Pywikibot is only supported under Python 2.6.5+, 2.7.2+ or 3.3+
+Pywikibot is only supported under Python 2.7.2+ or 3.3+
 """
 
 
@@ -45,8 +44,7 @@
     """Check that Python is supported."""
     # Any change to this must be copied to setup.py
     return (PYTHON_VERSION >= (3, 3, 0) or
-            (PY2 and PYTHON_VERSION >= (2, 7, 2)) or
-            (PY26 and PYTHON_VERSION >= (2, 6, 5)))
+            (PY2 and PYTHON_VERSION >= (2, 7, 2)))
 
 
 if not python_is_supported():

-- 
To view, visit https://gerrit.wikimedia.org/r/263372
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ied97711c81adebe9c260c8e7c2647b6cc71846fa
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Xqt <i...@gno.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to