jenkins-bot has submitted this change and it was merged.
Change subject: Fix Python version check; remove 2.6 trove classifier ......................................................................
Fix Python version check; remove 2.6 trove classifier
Change-Id: I402aa30fdc4bbbe9ce68ef2a70c2e2471d40b113 --- M setup.py 1 file changed, 2 insertions(+), 3 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/setup.py b/setup.py index cf14a97..f2ac19d 100644 --- a/setup.py +++ b/setup.py @@ -23,8 +23,8 @@ testcollector = "tests"
if sys.version_info[0] == 2: - if sys.version_info[1] < 6: - raise RuntimeError("ERROR: Pywikipediabot only runs under Python 2.6 or higher") + if sys.version_info < (2, 6, 5): + raise RuntimeError("ERROR: Pywikipediabot only runs under Python 2.6.5 or higher") elif sys.version_info[1] == 6: test_deps = ['unittest2'] testcollector = "tests.utils.collector" @@ -77,7 +77,6 @@ 'Operating System :: OS Independent', 'Intended Audience :: Developers', 'Environment :: Console', - 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7' ], cmdclass={
pywikibot-commits@lists.wikimedia.org