Page MenuHomePhabricator

Flagging outdated versions of Python by Pywikibot
Closed, InvalidPublic

Description

Running a Python script using version 2.7.10 results in the following notice:

Pywikibot has detected that you use this outdated version of Python:
2.7.10 (default, Jul 14 2015, 19:46:27)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)].
We would like to hear your voice before ceasing support of this version.
Please update to Python 2.7.2 if possible or visit
http://www.mediawiki.org/wiki/Pywikipediabot/Survey2012 to tell us why we
should support your version and to learn how to hide this message.
After collecting opinions for a time we will decide and announce the deadline
of deprecating use of old Python versions for Pywikipedia.

This is probably an accidental reading of "2.7.1" in the version number rather than intending to apply to Python v.2.7.10. This seems a minor cosmetic tweak, could it be planned for whichever release of Pywikibot is next?

Event Timeline

Fae raised the priority of this task from to Needs Triage.
Fae updated the task description. (Show Details)
Fae added a project: Pywikibot-compat.
Fae subscribed.
Fae set Security to None.

Is that a current version of compat? Could you report the result of running the version.py script.

I think the line you want to work this out is:

Pywikipedia  (r10186 (wikipedia.py), 2012/05/05, 17:14:00)

I try to avoid upgrading anything unless I really have to. To much stuff tends to break in my old code.

jayvdb claimed this task.

Using a very old version of compat, which is deprecated. Expect it to be very broken due to the api change in june 2015.

Remove the problematic warning notice to get past this bug, or upgrade to latest compat or core.