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
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://
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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,
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
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
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
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,
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
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
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,
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
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
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,
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
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
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,
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
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
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
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
39 matches
Mail list logo