XZise created this task. XZise added a subscriber: XZise. XZise added projects: pywikibot-core, Pywikibot-tests. Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION Hi, I ran a test on Travis and [[https://travis-ci.org/xZise/pywikibot-core/jobs/51820643%7Cone 2.6 test]] failed and it looks like that one dependency (or more like the dependency of one depencendcy) is using a package which is not compatible with Python 2.6 because it's using sets via curly brackets (`s = {42, 74, 47}`).
Unfortunately that package is not a direct dependency but it looks like that is just compatible with Python 2.7+.
TASK DETAIL https://phabricator.wikimedia.org/T90441
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: XZise Cc: pywikipedia-bugs, Aklapper, XZise, jayvdb
XZise added a comment.
I haven't much time, will add additonal information later.
TASK DETAIL https://phabricator.wikimedia.org/T90441
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: XZise Cc: pywikipedia-bugs, Aklapper, XZise, jayvdb
jayvdb changed the title from "One dependency is not Python 2.6 compatible" to "dependency jaraco.text is not Python 2.6 compatible". jayvdb edited the task description. jayvdb set Security to None.
TASK DETAIL https://phabricator.wikimedia.org/T90441
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb Cc: pywikipedia-bugs, Aklapper, XZise, jayvdb
jayvdb added a blocked task: T72987: py2.6 bugs [tracking].
TASK DETAIL https://phabricator.wikimedia.org/T90441
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb Cc: pywikipedia-bugs, Aklapper, XZise, jayvdb
XZise edited the task description.
TASK DETAIL https://phabricator.wikimedia.org/T90441
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: XZise Cc: pywikipedia-bugs, Aklapper, XZise, jayvdb
XZise changed the title from "dependency jaraco.text is not Python 2.6 compatible" to "dependency irc (because of jaraco.text) is not Python 2.6 compatible". XZise edited the task description.
TASK DETAIL https://phabricator.wikimedia.org/T90441
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: XZise Cc: pywikipedia-bugs, Aklapper, XZise, jayvdb
XZise added a comment.
Okay I should've waited for my test before I edited it. So `irc` is not compatible anymore with Python 2.6. Should we remove it from the script dependencies when under Python 2.6?
TASK DETAIL https://phabricator.wikimedia.org/T90441
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: XZise Cc: pywikipedia-bugs, Aklapper, XZise, jayvdb
XZise added a comment.
Okay forcing `irc<10.0` when in Python 2.6 just delegates the problem to `jaraco.ui`: https://travis-ci.org/xZise/pywikibot-core/jobs/52116400 :(
TASK DETAIL https://phabricator.wikimedia.org/T90441
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: XZise Cc: pywikipedia-bugs, Aklapper, XZise, jayvdb
jayvdb added a subscriber: jayvdb. jayvdb added a comment.
Can we go back to an earlier version that does support py2.6 , or fix the bugs in jaraco.text? (it appears to be a new repo https://bitbucket.org/jaraco/jaraco.text/history-node/205f9c5bf573/setup.py?... , so they may be interested in py2.6 support)
Other options/workarounds at least until the bugs in py2.6 support are fixed:
- flag 'irc' as a py2.7+ component of pywikibot, - dont include irc in the PYSETUP_TEST_EXTRAS=1 builds
TASK DETAIL https://phabricator.wikimedia.org/T90441
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb Cc: jayvdb, Aklapper, XZise, pywikipedia-bugs
jayvdb triaged this task as "Unbreak Now!" priority.
TASK DETAIL https://phabricator.wikimedia.org/T90441
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb Cc: jayvdb, Aklapper, XZise, pywikipedia-bugs
XZise added a comment.
Regarding “Unbreak now!” I fear there are other problems too: https://travis-ci.org/xZise/pywikibot-core/jobs/52121307 That version is not installing IRC (like one of your suggestions).
I mean I could try installing irc on Python 2.6 until I got a version that works (which would then look something like this https://github.com/xZise/pywikibot-core/commit/13d236d95285fc8526217f362145ad132d56f3dd), although what if it's always installing the newest dependencies which are not compatible?
TASK DETAIL https://phabricator.wikimedia.org/T90441
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: XZise Cc: jayvdb, Aklapper, XZise, pywikipedia-bugs
XZise added a comment.
Okay I'm running a new test https://travis-ci.org/xZise/pywikibot-core/builds/52267580 now after I tested through the versions. Version 9, which was the last version officially compatible with Python 2.6, couldn't be installed because of:
File "/tmp/pip_build_xzise/jaraco.functools/setup.py", line 13 needs_pytest = {'pytest', 'test'}.intersection(sys.argv) ^
Then the next older version was 8.9.1 which is incompatible for the same reason. I guess along with version 10 of `irc` they dropped the support in all their utility libraries and versions before 8.9.1 didn't use them. Although I was able to install 8.9 and adding a dependency in a -.-.1 version seems unlikely.
TASK DETAIL https://phabricator.wikimedia.org/T90441
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: XZise Cc: jayvdb, Aklapper, XZise, pywikipedia-bugs
gerritbot added a subscriber: gerritbot. gerritbot added a comment.
Change 193098 had a related patch set uploaded (by XZise): [FIX] Use IRC before v10 in Python 2.6
https://gerrit.wikimedia.org/r/193098
TASK DETAIL https://phabricator.wikimedia.org/T90441
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: gerritbot Cc: gerritbot, jayvdb, Aklapper, XZise, pywikipedia-bugs
gerritbot added a project: Patch-For-Review.
TASK DETAIL https://phabricator.wikimedia.org/T90441
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: gerritbot Cc: gerritbot, jayvdb, Aklapper, XZise, pywikipedia-bugs
gerritbot added a comment.
Change 193098 merged by jenkins-bot: [FIX] Use IRC before v10 in Python 2.6
https://gerrit.wikimedia.org/r/193098
TASK DETAIL https://phabricator.wikimedia.org/T90441
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: gerritbot Cc: gerritbot, jayvdb, Aklapper, XZise, pywikipedia-bugs
Aklapper added a comment.
@XZise, @jayvdb: What is left to do here after the patch has been merged? Any news? This task has been "Unbreak now" priority for six weeks https://www.mediawiki.org/wiki/Phabricator/Project_management#Setting_task_priorities, is that priority still realistic?
TASK DETAIL https://phabricator.wikimedia.org/T90441
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Aklapper Cc: gerritbot, jayvdb, Aklapper, XZise, pywikipedia-bugs
XZise claimed this task.
TASK DETAIL https://phabricator.wikimedia.org/T90441
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: XZise Cc: gerritbot, jayvdb, Aklapper, XZise, pywikipedia-bugs
XZise closed this task as "Resolved".
TASK DETAIL https://phabricator.wikimedia.org/T90441
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: XZise Cc: gerritbot, jayvdb, Aklapper, XZise, pywikipedia-bugs
pywikipedia-bugs@lists.wikimedia.org