[Pywikipedia-bugs] [Maniphest] [Commented On] T191190: importing HTMLParser fails for py2.7.2

2018-04-02 Thread gerritbot
gerritbot added a comment. Change 423368 had a related patch set uploaded (by Xqt; owner: Xqt): [pywikibot/core@master] [bugfix] Check whether future is already installed https://gerrit.wikimedia.org/r/423368TASK DETAILhttps://phabricator.wikimedia.org/T191190EMAIL PREFERENCEShttps://phabricator.w

[Pywikipedia-bugs] [Maniphest] [Commented On] T191190: importing HTMLParser fails for py2.7.2

2018-04-02 Thread gerritbot
gerritbot added a comment. Change 423368 abandoned by Xqt: [bugfix] Check whether future is already installed Reason: https://gerrit.wikimedia.org/r/#/c/423366/ is the right solution https://gerrit.wikimedia.org/r/423368TASK DETAILhttps://phabricator.wikimedia.org/T191190EMAIL PREFERENCEShttps://

[Pywikipedia-bugs] [Maniphest] [Commented On] T191190: importing HTMLParser fails for py2.7.2

2018-04-02 Thread gerritbot
gerritbot added a comment. Change 423366 merged by jenkins-bot: [pywikibot/core@master] setup.py: Use PYTHON_VERSION for version comparisons https://gerrit.wikimedia.org/r/423366TASK DETAILhttps://phabricator.wikimedia.org/T191190EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/em

[Pywikipedia-bugs] [Maniphest] [Closed] T191190: importing HTMLParser fails for py2.7.2

2018-04-02 Thread Xqt
Xqt closed this task as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T191190EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Dalba, XqtCc: gerritbot, Aklapper, Dalba, Xqt, pywikibot-bugs-list, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, C

[Pywikipedia-bugs] [Maniphest] [Commented On] T191161: test_replace_tag_file is failing on Python 2.7.2

2018-04-02 Thread Dalba
Dalba added a comment. 3.4.0 alpha 1 is the first release of 3.4 series and we have dropped support for 3.3. So we only have this issue with 2.7.2 and 2.7.3. We could consider dropping support for them but we need a deprecation period. Till then, I suggest using the old regex for those versions.TAS

[Pywikipedia-bugs] [Maniphest] [Commented On] T191161: test_replace_tag_file is failing on Python 2.7.2

2018-04-02 Thread Dalba
Dalba added a comment. On second thought, consuming 100% of CPU (T191113) is not that better than a MemoryError. There must be a better way.TASK DETAILhttps://phabricator.wikimedia.org/T191161EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Xqt, Aklapp

[Pywikipedia-bugs] [Maniphest] [Created] T191192: Drop suport for python 2.7.2 and 2.7.3

2018-04-02 Thread Xqt
Xqt created this task.Xqt added projects: Pywikibot-core, Pywikibot-Announce.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONThe official Life cycle of python 2 exceed on 2020-01-01 but few days ago we found a bugs (T191113, T191161) the re module of older python 2 and pyth

[Pywikipedia-bugs] [Maniphest] [Updated] T191161: test_replace_tag_file is failing on Python 2.7.2

2018-04-02 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T191161EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, Xqt, Aklapper, pywikibot-bugs-list, Dalba, Versusxo, Majesticalreaper22, Giuliamocci, Adria

[Pywikipedia-bugs] [Maniphest] [Commented On] T191161: test_replace_tag_file is failing on Python 2.7.2

2018-04-02 Thread gerritbot
gerritbot added a comment. Change 423447 had a related patch set uploaded (by Dalba; owner: Dalba): [pywikibot/core@master] Draft https://gerrit.wikimedia.org/r/423447TASK DETAILhttps://phabricator.wikimedia.org/T191161EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferen

[Pywikipedia-bugs] [Maniphest] [Commented On] T191161: test_replace_tag_file is failing on Python 2.7.2

2018-04-02 Thread gerritbot
gerritbot added a comment. Change 423447 abandoned by Dalba: Draft Reason: Have not tested it yet, submitted by mistake https://gerrit.wikimedia.org/r/423447TASK DETAILhttps://phabricator.wikimedia.org/T191161EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: g

[Pywikipedia-bugs] [Maniphest] [Updated] T191161: test_replace_tag_file is failing on Python 2.7.2

2018-04-02 Thread Dalba
Dalba removed a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T191161EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: gerritbot, Xqt, Aklapper, pywikibot-bugs-list, Dalba, Magul, Tbscho, rafidaslam, MayS, Mdupont, JJMC89, Avic

[Pywikipedia-bugs] [Maniphest] [Updated] T191161: test_replace_tag_file is failing on Python 2.7.2

2018-04-02 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T191161EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, Xqt, Aklapper, pywikibot-bugs-list, Dalba, Versusxo, Majesticalreaper22, Giuliamocci, Adria

[Pywikipedia-bugs] [Maniphest] [Commented On] T191161: test_replace_tag_file is failing on Python 2.7.2

2018-04-02 Thread gerritbot
gerritbot added a comment. Change 423451 had a related patch set uploaded (by Dalba; owner: Dalba): [pywikibot/core@master] textlib.py: Do not use * quantifier in positive lookaheads of FILE_LINK_REGEX https://gerrit.wikimedia.org/r/423451TASK DETAILhttps://phabricator.wikimedia.org/T191161EMAIL P

[Pywikipedia-bugs] [Maniphest] [Claimed] T191161: test_replace_tag_file is failing on Python 2.7.2

2018-04-02 Thread Dalba
Dalba claimed this task. TASK DETAILhttps://phabricator.wikimedia.org/T191161EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: gerritbot, Xqt, Aklapper, pywikibot-bugs-list, Dalba, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Baloch0

[Pywikipedia-bugs] [Maniphest] [Commented On] T191192: Drop suport for python 2.7.2 and 2.7.3

2018-04-02 Thread MarcoAurelio
MarcoAurelio added a comment. Not sure if that's related or would make sense, but maybe we should ask Toolforge to update their Python as well?TASK DETAILhttps://phabricator.wikimedia.org/T191192EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, MarcoAurelio

[Pywikipedia-bugs] [Maniphest] [Commented On] T191192: Drop suport for python 2.7.2 and 2.7.3

2018-04-02 Thread Dalba
Dalba added a comment. In T191192#4096642, @MarcoAurelio wrote: Not sure if that's related or would make sense, but maybe we should ask Toolforge to update their Python as well? AFAIS, they are using trusty on Toolforge, which is shipped with 2.7.6 by default, so, Toolforge should be OK.TASK DET

[Pywikipedia-bugs] [Maniphest] [Edited] T191192: Drop suport for python 2.7.2 and 2.7.3

2018-04-02 Thread Dalba
Dalba updated the task description. (Show Details) CHANGES TO TASK DESCRIPTIONThe official Lifelife cycle of python 2 exceed on 2020-01-01 but few days ago we found a bugs (T191113, T191161) the re module of older python 2 and python 3 versions. The issue was solved in py2.7.4 and py3.4.0. After py

[Pywikipedia-bugs] [Maniphest] [Retitled] T191192: Drop support for python 2.7.2 and 2.7.3

2018-04-02 Thread Dalba
Dalba renamed this task from "Drop suport for python 2.7.2 and 2.7.3" to "Drop support for python 2.7.2 and 2.7.3". TASK DETAILhttps://phabricator.wikimedia.org/T191192EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, DalbaCc: MarcoAurelio, Aklapper, pywiki

[Pywikipedia-bugs] [Maniphest] [Commented On] T191161: test_replace_tag_file is failing on Python 2.7.2

2018-04-02 Thread gerritbot
gerritbot added a comment. Change 423451 merged by jenkins-bot: [pywikibot/core@master] textlib.py: Avoid zero-width matching groups https://gerrit.wikimedia.org/r/423451TASK DETAILhttps://phabricator.wikimedia.org/T191161EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailprefe

[Pywikipedia-bugs] [Maniphest] [Unassigned] T191161: test_replace_tag_file is failing on Python 2.7.2

2018-04-02 Thread Dalba
Dalba removed Dalba as the assignee of this task.Dalba removed a project: Patch-For-Review.Dalba added a comment. The patch failed to resolve the issue.TASK DETAILhttps://phabricator.wikimedia.org/T191161EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc:

[Pywikipedia-bugs] [Maniphest] [Commented On] T191192: Drop support for python 2.7.2 and 2.7.3

2018-04-02 Thread gerritbot
gerritbot added a comment. Change 423458 had a related patch set uploaded (by Xqt; owner: Xqt): [pywikibot/core@master] Deprecation warning; python 2.7.2 and 2.7.3 will be dropped https://gerrit.wikimedia.org/r/423458TASK DETAILhttps://phabricator.wikimedia.org/T191192EMAIL PREFERENCEShttps://phab

[Pywikipedia-bugs] [Maniphest] [Updated] T191192: Drop support for python 2.7.2 and 2.7.3

2018-04-02 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T191192EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, gerritbotCc: gerritbot, MarcoAurelio, Aklapper, pywikibot-bugs-list, Dalba, Xqt, Versusxo, Majesticalreaper22,

[Pywikipedia-bugs] [Maniphest] [Commented On] T191192: Drop support for python 2.7.2 and 2.7.3

2018-04-02 Thread gerritbot
gerritbot added a comment. Change 423461 had a related patch set uploaded (by Xqt; owner: Xqt): [pywikibot/core@master] Deprecation warning; python 2.7.2 and 2.7.3 will be dropped https://gerrit.wikimedia.org/r/423461TASK DETAILhttps://phabricator.wikimedia.org/T191192EMAIL PREFERENCEShttps://phab

[Pywikipedia-bugs] [Maniphest] [Updated] T191161: test_replace_tag_file is failing on Python 2.7.2

2018-04-02 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T191161EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, Xqt, Aklapper, pywikibot-bugs-list, Dalba, Versusxo, Majesticalreaper22, Giuliamocci, Adria

[Pywikipedia-bugs] [Maniphest] [Commented On] T191161: test_replace_tag_file is failing on Python 2.7.2

2018-04-02 Thread gerritbot
gerritbot added a comment. Change 423463 had a related patch set uploaded (by Dalba; owner: Dalba): [pywikibot/core@master] Use the old FILE_LINK_REGEX regex for Python versions older than 2.7.4 https://gerrit.wikimedia.org/r/423463TASK DETAILhttps://phabricator.wikimedia.org/T191161EMAIL PREFEREN

[Pywikipedia-bugs] [Maniphest] [Commented On] T191192: Drop support for python 2.7.2 and 2.7.3

2018-04-02 Thread gerritbot
gerritbot added a comment. Change 423458 abandoned by Xqt: [test] increase 2.7.2 test to 2.7.4 for 32 bit at appveyor https://gerrit.wikimedia.org/r/423458TASK DETAILhttps://phabricator.wikimedia.org/T191192EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt,

[Pywikipedia-bugs] [Maniphest] [Commented On] T191161: test_replace_tag_file is failing on Python 2.7.2

2018-04-02 Thread gerritbot
gerritbot added a comment. Change 423463 merged by jenkins-bot: [pywikibot/core@master] Use the old FILE_LINK_REGEX regex for Python versions older than 2.7.4 https://gerrit.wikimedia.org/r/423463TASK DETAILhttps://phabricator.wikimedia.org/T191161EMAIL PREFERENCEShttps://phabricator.wikimedia.org

[Pywikipedia-bugs] [Maniphest] [Commented On] T191192: Drop support for python 2.7.2 and 2.7.3

2018-04-02 Thread gerritbot
gerritbot added a comment. Change 423461 merged by jenkins-bot: [pywikibot/core@master] Deprecation warning; python 2.7.2 and 2.7.3 will be dropped https://gerrit.wikimedia.org/r/423461TASK DETAILhttps://phabricator.wikimedia.org/T191192EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/p

[Pywikipedia-bugs] [Maniphest] [Updated] T191192: Drop support for python 2.7.2 and 2.7.3

2018-04-02 Thread Dalba
Dalba added a parent task: T191113: checkimages.py hangs when putting a file page. TASK DETAILhttps://phabricator.wikimedia.org/T191192EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, DalbaCc: gerritbot, MarcoAurelio, Aklapper, pywikibot-bugs-list, Dalba,

[Pywikipedia-bugs] [Maniphest] [Reopened] T191113: checkimages.py hangs when putting a file page

2018-04-02 Thread Dalba
Dalba reopened this task as "Open".Dalba removed Dalba as the assignee of this task.Dalba added a comment. With the merge of c25f22164f88b1bf91dd329d0566afed685ce530, this issue will continue to happen on 2.7.2 and 2.7.3. We have not found any better solution yet. This task we become invalid as so

[Pywikipedia-bugs] [Maniphest] [Updated] T191113: checkimages.py hangs when putting a file page

2018-04-02 Thread Dalba
Dalba added a subtask: T191192: Drop support for python 2.7.2 and 2.7.3. TASK DETAILhttps://phabricator.wikimedia.org/T191113EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: gerritbot, Dvorapa, Dalba, Aklapper, Zoranzoki21, Xqt, pywikibot-bugs-list, Ve

[Pywikipedia-bugs] [Maniphest] [Lowered Priority] T191113: checkimages.py hangs when putting a file page

2018-04-02 Thread Dalba
Dalba lowered the priority of this task from "High" to "Normal". TASK DETAILhttps://phabricator.wikimedia.org/T191113EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: gerritbot, Dvorapa, Dalba, Aklapper, Zoranzoki21, Xqt, pywikibot-bugs-list, Versusxo,

[Pywikipedia-bugs] [Maniphest] [Closed] T191161: test_replace_tag_file is failing on Python 2.7.2

2018-04-02 Thread Dalba
Dalba closed this task as "Resolved".Dalba claimed this task. TASK DETAILhttps://phabricator.wikimedia.org/T191161EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: gerritbot, Xqt, Aklapper, pywikibot-bugs-list, Dalba, Versusxo, Majesticalreaper22, Giuli

[Pywikipedia-bugs] [Maniphest] [Created] T191205: can't load page whose title has a certain character

2018-04-02 Thread DanFr
DanFr created this task.DanFr added a project: Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONError: $ ./test_page.py family and mylang are not set. Defaulting to family='test' and mylang='test'. Traceback (most recent call last): File "./test_page.py", l

[Pywikipedia-bugs] [Maniphest] [Commented On] T191205: can't load page whose title has a certain character

2018-04-02 Thread DanFr
DanFr added a comment. When I install pywikibot it gives the version: pywikibot-3.0.20180304.tar.gzTASK DETAILhttps://phabricator.wikimedia.org/T191205EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DanFrCc: Aklapper, pywikibot-bugs-list, DanFr, Magul, Tbscho,

[Pywikipedia-bugs] [Maniphest] [Commented On] T191205: can't load page whose title has a certain character

2018-04-02 Thread Xqt
Xqt added a comment. I guess you are using python 2? Then either add the following line at top of the file: from __future__ import unicode_literals or use "u" prefix when instantiating the page: page = pywikibot.Page(site, u"Beyoncé Knowles")TASK DETAILhttps://phabricator.wikimedia.org/T191205E

[Pywikipedia-bugs] [Maniphest] [Raised Priority] T191188: error: Could not find suitable distribution for Requirement.parse

2018-04-02 Thread Xqt
Xqt raised the priority of this task from "Normal" to "High".Xqt added a comment. The occurences are increasing a lotTASK DETAILhttps://phabricator.wikimedia.org/T191188EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: jayvdb, Aklapper, Dalba, Xqt, pywiki

[Pywikipedia-bugs] [Maniphest] [Closed] T191205: can't load page whose title has a certain character

2018-04-02 Thread DanFr
DanFr closed this task as "Resolved".DanFr claimed this task.DanFr added a comment. I am using python2, and the "u" worked! Genius! My own more complicated actual code fails with the "from future ..", but I'll work on it. Thanks!TASK DETAILhttps://phabricator.wikimedia.org/T191205EMAIL PREFERENCE

[Pywikipedia-bugs] [Maniphest] [Changed Status] T191205: can't load page whose title has a certain character

2018-04-02 Thread Xqt
Xqt changed the task status from "Resolved" to "Invalid". TASK DETAILhttps://phabricator.wikimedia.org/T191205EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DanFr, XqtCc: Xqt, Aklapper, pywikibot-bugs-list, DanFr, Magul, Tbscho, rafidaslam, MayS, Mdupont, JJM