[Pywikipedia-bugs] [Maniphest] [Closed] T366409: TestInterwikidataBot.test_main() test of interwikidata_tests fails with TypeError
Xqt closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T366409 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Xqt, pywikibot-bugs-list, mevo, Isabelladantes1983, Themindcoder, Adamm71, Hellket777, LisafBia6531, 786, Biggs657, PotsdamLamb, Jyoo1011, JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, Aram, Viztor, CucyNoiD, Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Dvorapa, Altostratus, Neuronton, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Triaged] T366409: TestInterwikidataBot.test_main() test of interwikidata_tests fails with TypeError
Xqt triaged this task as "High" priority. TASK DETAIL https://phabricator.wikimedia.org/T366409 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Xqt, pywikibot-bugs-list, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Created] T366409: TestInterwikidataBot.test_main() test of interwikidata_tests fails with TypeError
Xqt created this task. Xqt added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION D:\pwb\GIT\core>py -3.7 -m pwb interwikidata_tests -v TestInterwikidataBot.test_main tests: max_retries reduced from 15 to 3 test_main (__main__.TestInterwikidataBot) Test main function interwikidata.py. ... ERROR == ERROR: test_main (__main__.TestInterwikidataBot) Test main function interwikidata.py. -- Traceback (most recent call last): File "D:\pwb\GIT\core\tests\interwikidata_tests.py", line 60, in test_main self.assertIsNone(interwikidata.main()) File "D:\pwb\GIT\core\scripts\interwikidata.py", line 256, in main bot = IWBot(generator=generator, site=site, **options) TypeError: __init__() keywords must be strings -- Ran 1 test in 4.166s The reason is that `options` dict contains `{None: True}` if no option is given like in `pwb interwikidata` TASK DETAIL https://phabricator.wikimedia.org/T366409 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Xqt, pywikibot-bugs-list, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Closed] T365199: botMayEdit() raises UnsupportedPageError for Page('Talk:Israeli invasion of the Gaza Strip (2023–present)') on the English Wikipedia
Xqt closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T365199 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, Qwerfjkl, JJMC89, Aklapper, pywikibot-bugs-list, coldchrist, mevo, Isabelladantes1983, Themindcoder, Adamm71, Hellket777, LisafBia6531, 786, Biggs657, PotsdamLamb, Jyoo1011, JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, Aram, Viztor, CucyNoiD, Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Lewizho99, Mdupont, Maathavan, Dvorapa, Altostratus, Neuronton, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Closed] T366036: Deprecate and remove phetools OCR from pywikibot
Xqt closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T366036 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Mpaa, Aklapper, Soda, pywikibot-bugs-list, mevo, Isabelladantes1983, Themindcoder, Adamm71, Hellket777, LisafBia6531, 786, Biggs657, PotsdamLamb, Jyoo1011, JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, Aram, Viztor, CucyNoiD, Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Dvorapa, Altostratus, Neuronton, Avicennasis, mys_721tx, Xqt, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Commented On] T366036: Deprecate and remove phetools OCR from pywikibot
Xqt added a comment. @Soda: I just removed phetools from proofreadPage because it is not functional anyway. TASK DETAIL https://phabricator.wikimedia.org/T366036 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Mpaa, Aklapper, Soda, pywikibot-bugs-list, mevo, Isabelladantes1983, Themindcoder, Adamm71, Hellket777, LisafBia6531, 786, Biggs657, PotsdamLamb, Jyoo1011, JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, Aram, Viztor, CucyNoiD, Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Dvorapa, Altostratus, Neuronton, Avicennasis, mys_721tx, Xqt, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Triaged] T366100: Page.main_authors() method gives no results for months
Xqt triaged this task as "Medium" priority. Xqt moved this task from Backlog to Upstream issues on the Pywikibot board. TASK DETAIL https://phabricator.wikimedia.org/T366100 WORKBOARD https://phabricator.wikimedia.org/project/board/87/ EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: APPER, Wurgl, Aklapper, Xqt, pywikibot-bugs-list, mevo, Susie413113, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, Wong128hk, mys_721tx, jayvdb, Masti, Alchimista, Krenair ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Updated] T366100: Page.main_authors() method gives no results for months
Xqt removed a project: Pywikibot-tests. TASK DETAIL https://phabricator.wikimedia.org/T366100 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: APPER, Wurgl, Aklapper, Xqt, pywikibot-bugs-list, mevo, Susie413113, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, Wong128hk, mys_721tx, jayvdb, Masti, Alchimista, Krenair, binbot ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Created] T366100: Page.main_authors() method gives no results for months
Xqt created this task. Xqt added projects: Pywikibot, Pywikibot-tests, Upstream, Regression. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue**: Try a sample similar to the documentation of Page.main_authors() <https://doc.wikimedia.org/pywikibot/master/api_ref/pywikibot.page.html#page._toolforge.WikiBlameMixin.main_authors> method but take a page which is not already cached upstream, for example >>> import pywikibot >>> pywikibot.config.max_retries = 3 >>> site = pywikibot.Site('wikipedia:als') >>> page = pywikibot.Page(site, 'Python (Programmiersprache)') >>> auth = page.main_authors(onlynew=False) WARNING: WikiHistory timeout. Waiting 5.0 seconds before retrying. WARNING: WikiHistory timeout. Waiting 10.0 seconds before retrying. WARNING: WikiHistory timeout. Waiting 20.0 seconds before retrying. Traceback (most recent call last): File "", line 1, in auth = page.main_authors(onlynew=False) File "D:\pwb\GIT\core\pywikibot\page\_toolforge.py", line 108, in main_authors raise pywikibot.exceptions.TimeoutError( pywikibot.exceptions.TimeoutError: Maximum retries attempted without success. **What happens?**: The method retries to retrieve the data but fails with a timeout. The remote url is something like https://wikihistory.toolforge.org//wiki/getauthors.php?page_id=6995757=dewiki=0 but the response is like window.setTimeout("importScriptURI('//wikihistory.toolforge.org//wiki/getauthors.php?page_id=6995757=dewiki=1=31=' + (new Date()).getTime())", 6); The problem might be that no jobs are running upstream but the queues are increasing: https://wikihistory.toolforge.org/admin.php Seems this is due to T320157 <https://phabricator.wikimedia.org/T320157>: Grid engine was shut down and wh was not migrated to k8s. **What could be done here?**: - stop the wait cycles until there is any solution - wait for T320157 <https://phabricator.wikimedia.org/T320157> is solved upstream and wh works again - find another solution e.g via - **wikihistory:** screenscraping from https://wikihistory.toolforge.org/wh.php?wiki=alswiki_title=Python%20(Programmiersprache) - **xtools:** screen scraping from https://xtools.wmcloud.org/articleinfo/als.wikipedia.org/Python%20%28Programmiersprache%29 - Find an api for xtools <https://www.mediawiki.org/wiki/XTools/Authorship> - use **WikiWho <https://www.mediawiki.org/wiki/WikiWho>** directly TASK DETAIL https://phabricator.wikimedia.org/T366100 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: APPER, Wurgl, Aklapper, Xqt, pywikibot-bugs-list, mevo, Susie413113, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, Wong128hk, mys_721tx, jayvdb, Masti, Alchimista, Krenair ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Claimed] T366036: Deprecate and remove phetools OCR from pywikibot
Xqt claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T366036 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Mpaa, Aklapper, Soda, pywikibot-bugs-list, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, Xqt, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Closed] T366050: hacking gives false positives H233
Xqt closed this task as "Resolved". Xqt claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T366050 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Xqt, pywikibot-bugs-list, mevo, Isabelladantes1983, Themindcoder, Adamm71, Hellket777, LisafBia6531, 786, Biggs657, PotsdamLamb, Jyoo1011, JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, Aram, Viztor, CucyNoiD, Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Dvorapa, Altostratus, Neuronton, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Krenair ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikibot-commits] [Gerrit] ...core[master]: [tests] Ignore Python 3 compatibility tests with hacking
Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/103?usp=email ) Change subject: [tests] Ignore Python 3 compatibility tests with hacking .. [tests] Ignore Python 3 compatibility tests with hacking Bug: T366050 Change-Id: I7b53a82e3c689b1a740f169880a5e2a9bf50eb3e --- M tox.ini 1 file changed, 2 insertions(+), 2 deletions(-) Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified diff --git a/tox.ini b/tox.ini index f7cb582..2ca9de4 100644 --- a/tox.ini +++ b/tox.ini @@ -119,7 +119,7 @@ # D211: No blank lines allowed before class docstring # FI1: __future__ import "x" missing # H101: TODO format -# H238: Old style class +# H23: Python 3 compatibility tests # H301: Do not import more than one module per line # H306: Alphabetically order your imports by the full module path # H404: docstring multiline start @@ -138,7 +138,7 @@ # DARXXX: Darglint docstring issues to be solved -ignore = B007,D105,D211,D401,D413,D412,DAR003,DAR101,DAR102,DAR201,DAR202,DAR301,DAR401,DAR402,DAR501,H101,H238,H301,H306,H404,H405,H903,P101,P102,P103,P205,R100,W503 +ignore = B007,D105,D211,D401,D413,D412,DAR003,DAR101,DAR102,DAR201,DAR202,DAR301,DAR401,DAR402,DAR501,H101,H231,H232,H233,H234,H235,H236,H237,H238,H301,H306,H404,H405,H903,P101,P102,P103,P205,R100,W503 enable-extensions = H203,H204,H205,N818 count = True -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/103?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Change-Id: I7b53a82e3c689b1a740f169880a5e2a9bf50eb3e Gerrit-Change-Number: 103 Gerrit-PatchSet: 1 Gerrit-Owner: Xqt Gerrit-Reviewer: Xqt Gerrit-Reviewer: jenkins-bot Gerrit-MessageType: merged ___ Pywikibot-commits mailing list -- pywikibot-commits@lists.wikimedia.org To unsubscribe send an email to pywikibot-commits-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Commented On] T366050: hacking gives false positives H233
Xqt added a comment. I propose to remove all H23 test because they are for Python 2 I guess. TASK DETAIL https://phabricator.wikimedia.org/T366050 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Xqt, pywikibot-bugs-list, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Krenair ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Triaged] T366036: Deprecate and remove phetools OCR from pywikibot
Xqt triaged this task as "Medium" priority. TASK DETAIL https://phabricator.wikimedia.org/T366036 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Mpaa, Aklapper, Soda, pywikibot-bugs-list, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, Xqt, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Retitled] T366050: hacking gives false positives H233
Xqt renamed this task from "hacking gives fallse positives H233" to "hacking gives false positives H233". TASK DETAIL https://phabricator.wikimedia.org/T366050 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Xqt, pywikibot-bugs-list, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Krenair ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Triaged] T366050: hacking gives fallse positives H233
Xqt triaged this task as "Medium" priority. Xqt moved this task from Backlog to Upstream issues on the Pywikibot board. TASK DETAIL https://phabricator.wikimedia.org/T366050 WORKBOARD https://phabricator.wikimedia.org/project/board/87/ EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Xqt, pywikibot-bugs-list, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Krenair ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Created] T366050: hacking gives fallse positives H233
Xqt created this task. Xqt added projects: Pywikibot, Pywikibot-tests, Upstream. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION CI tests with **flake8 hacking** extension gives false positives for the following case: `codeline = 'if print or self.opt.put or self.opt.tofile:'` the detection regex of hacking is: `RE_PRINT = re.compile(r"\bprint(?:$|\s+[^\(])")` `RE_PRINT.findall(line)` unexpectadly finds `['print o']` The right regex needs a negative lookbehind and might be: `RE_PRINT = re.compile(r"(?https://bugs.launchpad.net/hacking TASK DETAIL https://phabricator.wikimedia.org/T366050 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Xqt, pywikibot-bugs-list, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Krenair ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Closed] T365232: Add support for dtpwiki to Pywikibot
Xqt assigned this task to Zabe. Xqt closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T365232 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Zabe, Xqt Cc: Xqt, JJMC89, Aklapper, Maintenance_bot, pywikibot-bugs-list, mevo, Isabelladantes1983, Themindcoder, Adamm71, Hellket777, LisafBia6531, 786, Biggs657, PotsdamLamb, Jyoo1011, JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, Aram, Viztor, CucyNoiD, Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Lewizho99, Mdupont, Maathavan, Dvorapa, Altostratus, Neuronton, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Triaged] T365954: Pywikibot attempts to run API requests which fail before login on a private wiki
Xqt triaged this task as "High" priority. Xqt added a project: Pywikibot-login.py. TASK DETAIL https://phabricator.wikimedia.org/T365954 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: ChrisBlomTS, Aklapper, Urbanecm, RhinosF1, pywikibot-bugs-list, Dvorapa, Mpaa, Xqt, Nirvanchik, MarcoAurelio, dimka, Ppxrhvxcyqmfxhf, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Commented On] T365954: Pywikibot attempts to run API requests which fail before login on a private wiki
Xqt added a comment. I am setting up a private wiki for test purposes and will investigate deeper in this matter. TASK DETAIL https://phabricator.wikimedia.org/T365954 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: ChrisBlomTS, Aklapper, Urbanecm, RhinosF1, pywikibot-bugs-list, Dvorapa, Mpaa, Xqt, Nirvanchik, MarcoAurelio, dimka, Ppxrhvxcyqmfxhf, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Commented On] T366033: listpages.py: -tofile option does not work
Xqt added a comment. In T366033#9836325 <https://phabricator.wikimedia.org/T366033#9836325>, @Ppxrhvxcyqmfxhf wrote: > I have a patch for this issue (and related problems I discovered after fixing the initial symptom to get -tofile working properly) which I intend to contribute (this is my first time so it may take me a minute to figure out how all this gerrit stuff works). What a huge and great patch, thanks a lot. I'll try to review it soon. TASK DETAIL https://phabricator.wikimedia.org/T366033 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ppxrhvxcyqmfxhf, Xqt Cc: Aklapper, pywikibot-bugs-list, Dr03ramos, Mpaa, Xqt, Ppxrhvxcyqmfxhf, mevo, Isabelladantes1983, Themindcoder, Adamm71, Hellket777, LisafBia6531, 786, Biggs657, PotsdamLamb, Jyoo1011, JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, Aram, Viztor, CucyNoiD, Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Dvorapa, Altostratus, Neuronton, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikibot-commits] [Gerrit] ...core[master]: Revert "[tests] ignore codecov-cli for Python 3.11 due to T365943"
Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1035662?usp=email ) Change subject: Revert "[tests] ignore codecov-cli for Python 3.11 due to T365943" .. Revert "[tests] ignore codecov-cli for Python 3.11 due to T365943" This reverts commit 871108238d7121d6ba7036a47dff251c9c782296. Reason for revert: either wrong syntax or unknown identifier Change-Id: I104bd9e4212bdbafaf80c0f234584965a5c4c23b --- M .appveyor.yml 1 file changed, 2 insertions(+), 4 deletions(-) Approvals: Xqt: Verified; Looks good to me, approved diff --git a/.appveyor.yml b/.appveyor.yml index 322edde..38cef84 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -97,7 +97,5 @@ - ps: | $env:PATH = 'C:\msys64\usr\bin;' + $env:PATH coverage report - - # ignore codecov-cli for Python 3.11 due to T365943 - - if [%PYTHON_VERSION%]!=[3.11.x] pip install codecov-cli - - if [%PYTHON_VERSION%]!=[3.11.x] codecovcli do-upload + - pip install codecov-cli + - codecovcli do-upload -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1035662?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Change-Id: I104bd9e4212bdbafaf80c0f234584965a5c4c23b Gerrit-Change-Number: 1035662 Gerrit-PatchSet: 1 Gerrit-Owner: Xqt Gerrit-Reviewer: Xqt Gerrit-Reviewer: jenkins-bot Gerrit-MessageType: merged ___ Pywikibot-commits mailing list -- pywikibot-commits@lists.wikimedia.org To unsubscribe send an email to pywikibot-commits-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Retitled] T365943: coverage upload fails on Appveyor for Python 3.11
Xqt renamed this task from "coverage uploade fails on Appveyor for Python 3.11" to "coverage upload fails on Appveyor for Python 3.11". TASK DETAIL https://phabricator.wikimedia.org/T365943 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Xqt, mevo, Isabelladantes1983, Themindcoder, Adamm71, Hellket777, LisafBia6531, 786, Biggs657, PotsdamLamb, Jyoo1011, JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, Aram, Viztor, CucyNoiD, Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Dvorapa, Altostratus, Neuronton, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Krenair ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Changed Status] T365943: coverage uploade fails on Appveyor for Python 3.11
Xqt changed the task status from "Open" to "Stalled". Xqt added a comment. Waiting for upstream. TASK DETAIL https://phabricator.wikimedia.org/T365943 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Xqt, mevo, Isabelladantes1983, Themindcoder, Adamm71, Hellket777, LisafBia6531, 786, Biggs657, PotsdamLamb, Jyoo1011, JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, Aram, Viztor, CucyNoiD, Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Dvorapa, Altostratus, Neuronton, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Krenair ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikibot-commits] [Gerrit] ...core[master]: [tests] ignore codecov-cli for Python 3.11 due to T365943
Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1035894?usp=email ) Change subject: [tests] ignore codecov-cli for Python 3.11 due to T365943 .. [tests] ignore codecov-cli for Python 3.11 due to T365943 Bug: T365943 Change-Id: Ic777e1b62c0f6ced3bc35af0da9949ab802a0449 --- M .appveyor.yml 1 file changed, 4 insertions(+), 2 deletions(-) Approvals: Xqt: Verified; Looks good to me, approved diff --git a/.appveyor.yml b/.appveyor.yml index 38cef84..322edde 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -97,5 +97,7 @@ - ps: | $env:PATH = 'C:\msys64\usr\bin;' + $env:PATH coverage report - - pip install codecov-cli - - codecovcli do-upload + + # ignore codecov-cli for Python 3.11 due to T365943 + - if [%PYTHON_VERSION%]!=[3.11.x] pip install codecov-cli + - if [%PYTHON_VERSION%]!=[3.11.x] codecovcli do-upload -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1035894?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Change-Id: Ic777e1b62c0f6ced3bc35af0da9949ab802a0449 Gerrit-Change-Number: 1035894 Gerrit-PatchSet: 1 Gerrit-Owner: Xqt Gerrit-Reviewer: Xqt Gerrit-MessageType: merged ___ Pywikibot-commits mailing list -- pywikibot-commits@lists.wikimedia.org To unsubscribe send an email to pywikibot-commits-le...@lists.wikimedia.org
[Pywikibot-commits] [Gerrit] ...core[master]: [tests] remove install statement for Pillow in Appveyor config file
Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1035892?usp=email ) Change subject: [tests] remove install statement for Pillow in Appveyor config file .. [tests] remove install statement for Pillow in Appveyor config file Pillow is already listed in requirements. Change-Id: I91fde6bf40bad7035be3cb53337dd98ebbef43eb --- M .appveyor.yml 1 file changed, 0 insertions(+), 1 deletion(-) Approvals: Xqt: Verified; Looks good to me, approved diff --git a/.appveyor.yml b/.appveyor.yml index 96d787b..38cef84 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -69,7 +69,6 @@ - if [%PYTHON_VERSION%]==[3.7.0] pip install "urllib3<2.0" - if [%PYTHON_VERSION%]==[3.7.0] pip install -U setuptools - if [%PYTHON_VERSION%]==[3.12.x] pip install -U setuptools - - if [%PYTHON_ARCH%]==[32] pip install "Pillow >= 8.1.2, != 10.0, != 10.1" - pip install -r requirements.txt - pip install -r dev-requirements.txt - pip install wikitextparser -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1035892?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Change-Id: I91fde6bf40bad7035be3cb53337dd98ebbef43eb Gerrit-Change-Number: 1035892 Gerrit-PatchSet: 1 Gerrit-Owner: Xqt Gerrit-Reviewer: Xqt Gerrit-MessageType: merged ___ Pywikibot-commits mailing list -- pywikibot-commits@lists.wikimedia.org To unsubscribe send an email to pywikibot-commits-le...@lists.wikimedia.org
[Pywikibot-commits] [Gerrit] ...core[master]: [tests] Enable write tests for oauth_tests on wikipedia:test
Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1035888?usp=email ) Change subject: [tests] Enable write tests for oauth_tests on wikipedia:test .. [tests] Enable write tests for oauth_tests on wikipedia:test Change-Id: I73acf2bfe82c79870276a249cf7956cba2e82d8d --- M .github/workflows/oauth_tests-ci.yml 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Xqt: Verified; Looks good to me, approved diff --git a/.github/workflows/oauth_tests-ci.yml b/.github/workflows/oauth_tests-ci.yml index d26c368..64598d0 100644 --- a/.github/workflows/oauth_tests-ci.yml +++ b/.github/workflows/oauth_tests-ci.yml @@ -12,7 +12,6 @@ env: PYWIKIBOT_TEST_RUNNING: 1 PYWIKIBOT_USERNAME: Pywikibot-oauth - PYWIKIBOT_LOGIN_LOGOUT: 1 jobs: build: @@ -98,6 +97,7 @@ - name: Oauth tests with unittest timeout-minutes: 2 env: +PYWIKIBOT_TEST_WRITE: ${{ matrix.domain == 'test.wikipedia.org' && 1 || 0}} PYWIKIBOT_TEST_OAUTH: ${{ secrets[format('{0}', steps.token.outputs.uppercase)] }} run: | python pwb.py version -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1035888?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Change-Id: I73acf2bfe82c79870276a249cf7956cba2e82d8d Gerrit-Change-Number: 1035888 Gerrit-PatchSet: 1 Gerrit-Owner: Xqt Gerrit-Reviewer: Xqt Gerrit-MessageType: merged ___ Pywikibot-commits mailing list -- pywikibot-commits@lists.wikimedia.org To unsubscribe send an email to pywikibot-commits-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Triaged] T365943: coverage uploade fails on Appveyor for Python 3.11
Xqt triaged this task as "Medium" priority. Xqt changed the subtype of this task from "Task" to "Bug Report". Xqt moved this task from Backlog to Upstream issues on the Pywikibot board. TASK DETAIL https://phabricator.wikimedia.org/T365943 WORKBOARD https://phabricator.wikimedia.org/project/board/87/ EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Xqt, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Krenair ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Created] T365943: coverage uploade fails on Appveyor for Python 3.11
Xqt created this task. Xqt added projects: Pywikibot, Pywikibot-tests, Upstream. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION `codecovcli do-upload` fails with Python 3.11: Installing collected packages: rfc3986, ijson, tree-sitter, test-results-parser, sniffio, pyyaml, h11, click, responses, anyio, httpcore, httpx, codecov-cli Successfully installed anyio-4.3.0 click-8.1.7 codecov-cli-0.6.0 h11-0.14.0 httpcore-0.16.3 httpx-0.23.3 ijson-3.2.3 pyyaml-6.0.1 responses-0.21.0 rfc3986-1.5.0 sniffio-1.3.1 test-results-parser-0.1.0 tree-sitter-0.20.4 codecovcli do-upload Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "C:\Python311-x64\Scripts\codecovcli.exe\__main__.py", line 4, in File "C:\Python311-x64\Lib\site-packages\codecov_cli\main.py", line 17, in from codecov_cli.commands.staticanalysis import static_analysis File "C:\Python311-x64\Lib\site-packages\codecov_cli\commands\staticanalysis.py", line 10, in from codecov_cli.services.staticanalysis import run_analysis_entrypoint File "C:\Python311-x64\Lib\site-packages\codecov_cli\services\staticanalysis\__init__.py", line 15, in from codecov_cli.services.staticanalysis.analyzers import get_best_analyzer File "C:\Python311-x64\Lib\site-packages\codecov_cli\services\staticanalysis\analyzers\__init__.py", line 2, in from codecov_cli.services.staticanalysis.analyzers.javascript_es6 import ES6Analyzer File "C:\Python311-x64\Lib\site-packages\codecov_cli\services\staticanalysis\analyzers\javascript_es6\__init__.py", line 5, in import staticcodecov_languages ModuleNotFoundError: No module named 'staticcodecov_languages' Command exited with code 1 See also https://github.com/codecov/codecov-cli/issues/404 TASK DETAIL https://phabricator.wikimedia.org/T365943 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Xqt, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Krenair ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Closed] T361999: Appveyor tests fails for Python > 3.7.0
Xqt closed this task as "Resolved". Xqt claimed this task. Xqt added a comment. The shell script is no longer used but the tests still fails. See the other issue T363651 <https://phabricator.wikimedia.org/T363651>. TASK DETAIL https://phabricator.wikimedia.org/T361999 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Xqt, mevo, Isabelladantes1983, Themindcoder, Adamm71, Hellket777, LisafBia6531, 786, Biggs657, PotsdamLamb, Jyoo1011, JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, Aram, Viztor, CucyNoiD, Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Dvorapa, Altostratus, Neuronton, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Updated] T365920: welcome.py script: use "Mediawiki:Newusermessage-signatures" page for RANDOM_SIGN variable instead of different page per project
Xqt added a project: Pywikibot-Scripts. TASK DETAIL https://phabricator.wikimedia.org/T365920 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, Aklapper, Stang, Huji, pywikibot-bugs-list, Aram, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Commented On] T365920: welcome.py script: use "Mediawiki:Newusermessage-signatures" page for RANDOM_SIGN variable instead of different page per project
Xqt added a comment. @Aram: nice idea but isn't welcome.py obsolete if this extension is installed on a site? TASK DETAIL https://phabricator.wikimedia.org/T365920 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, Aklapper, Stang, Huji, pywikibot-bugs-list, Aram, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Reopened] T348925: preload_sites.py script is too slow
Xqt reopened this task as "Open". Xqt added a comment. Reopened after patch revert due to T365942 <https://phabricator.wikimedia.org/T365942> TASK DETAIL https://phabricator.wikimedia.org/T348925 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: ericpien, Aklapper, pywikibot-bugs-list, Xqt, mevo, Isabelladantes1983, Themindcoder, Adamm71, Hellket777, LisafBia6531, Susie413113, 786, Biggs657, PotsdamLamb, Jyoo1011, JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, Aram, Viztor, CucyNoiD, Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Vali.matei, Lewizho99, Mdupont, JJMC89, Maathavan, Dvorapa, Altostratus, Neuronton, Avicennasis, Wong128hk, mys_721tx, Dinoguy1000, jayvdb, Masti, Alchimista, Jay8g ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Closed] T365942: pywiibot-tests isn't able to login on wikipedia:tests recently
Xqt closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T365942 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Xqt, pywikibot-bugs-list, mevo, Isabelladantes1983, Themindcoder, Adamm71, Hellket777, LisafBia6531, Susie413113, 786, Biggs657, PotsdamLamb, Jyoo1011, JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, Aram, Viztor, CucyNoiD, Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Dvorapa, Altostratus, Neuronton, binbot, Avicennasis, Wong128hk, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Claimed] T365942: pywiibot-tests isn't able to login on wikipedia:tests recently
Xqt triaged this task as "High" priority. Xqt claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T365942 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Xqt, pywikibot-bugs-list, mevo, Susie413113, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, Wong128hk, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Created] T365942: pywiibot-tests isn't able to login on wikipedia:tests recently
Xqt created this task. Xqt added projects: Pywikibot, Pywikibot-tests, Regression. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue**: Starting with rPWBC07adfba14c <https://phabricator.wikimedia.org/rPWBC07adfba14c901e46a4c794c3b4f5ad673a7f7885> (T348925 <https://phabricator.wikimedia.org/T348925>) all write tests are skipped due to "Not able to login to wikipedia:test" whereas rPWBC27a3ab5 <https://phabricator.wikimedia.org/rPWBC27a3ab5b89bb006c12abf474a5cd9a70f4ddab48> works as expected, see https://github.com/wikimedia/pywikibot/actions/runs/9236613449/job/25412650502 TASK DETAIL https://phabricator.wikimedia.org/T365942 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Xqt, pywikibot-bugs-list, mevo, Susie413113, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, Wong128hk, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Changed Status] T364840: Installing Pillow fails for Python 3.13 and 3.14
Xqt changed the task status from "Open" to "Stalled". Xqt claimed this task. Xqt added a comment. Stalled until Pillow 10.4 is released in July. TASK DETAIL https://phabricator.wikimedia.org/T364840 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Xqt, pywikibot-bugs-list, mevo, Isabelladantes1983, Themindcoder, Adamm71, Hellket777, LisafBia6531, 786, Biggs657, PotsdamLamb, Jyoo1011, JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, Aram, Viztor, CucyNoiD, Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Dvorapa, Altostratus, Neuronton, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Krenair ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikibot-commits] [Gerrit] ...core[master]: [dep] Update Pillow requirements
Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1035863?usp=email ) Change subject: [dep] Update Pillow requirements .. [dep] Update Pillow requirements Do not install Pillow until the issue is solved upstream Bug: T364840 Change-Id: Ie6f46b031fad04423226d2e924d62f628c1b4b43 --- M requirements.txt M setup.py 2 files changed, 1 insertion(+), 5 deletions(-) Approvals: Xqt: Verified; Looks good to me, approved diff --git a/requirements.txt b/requirements.txt index 072cf75..5da319c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -41,7 +41,6 @@ # GUI Pillow >= 8.1.2, != 10.0, != 10.1 ; python_version < '3.13' -Pillow >= 10.4 ; python_version >= '3.13' # core pagegenerators google >= 1.7 diff --git a/setup.py b/setup.py index b81b241..010e333 100755 --- a/setup.py +++ b/setup.py @@ -45,10 +45,7 @@ 'wikitextparser': ['wikitextparser>=0.47.0'], 'mysql': ['PyMySQL >= 1.0.0'], # vulnerability found in Pillow<8.1.2 but toolforge uses 5.4.1 -'Tkinter': [ -'Pillow>=8.1.2, != 10.0, != 10.1; python_version < "3.13"', -'Pillow>=10.4; python_version >= "3.13"', -], +'Tkinter': ['Pillow>=8.1.2, != 10.0, != 10.1; python_version < "3.13"'], 'mwoauth': ['mwoauth!=0.3.1,>=0.2.4'], 'html': ['beautifulsoup4>=4.7.1'], 'http': ['fake-useragent>=1.4.0'], -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1035863?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Change-Id: Ie6f46b031fad04423226d2e924d62f628c1b4b43 Gerrit-Change-Number: 1035863 Gerrit-PatchSet: 1 Gerrit-Owner: Xqt Gerrit-Reviewer: Xqt Gerrit-MessageType: merged ___ Pywikibot-commits mailing list -- pywikibot-commits@lists.wikimedia.org To unsubscribe send an email to pywikibot-commits-le...@lists.wikimedia.org
[Pywikibot-commits] [Gerrit] ...core[master]: [dep] Update Pillow requirements
Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1035862?usp=email ) Change subject: [dep] Update Pillow requirements .. [dep] Update Pillow requirements Pillow fails with Python 3.14 and 3.14 but a fix was done with https://github.com/python-pillow/Pillow/pull/8050 which will be published in 10.4.0 https://github.com/python-pillow/Pillow/issues/8076 Bug: T364840 Change-Id: Id3080f0e4e5d270c3bd03c56896af3cb61b609b8 --- M requirements.txt M setup.py 2 files changed, 6 insertions(+), 2 deletions(-) Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified diff --git a/requirements.txt b/requirements.txt index 6bdd15f..072cf75 100644 --- a/requirements.txt +++ b/requirements.txt @@ -40,7 +40,8 @@ python-stdnum >= 1.19 # GUI -Pillow >= 8.1.2, != 10.0, != 10.1 +Pillow >= 8.1.2, != 10.0, != 10.1 ; python_version < '3.13' +Pillow >= 10.4 ; python_version >= '3.13' # core pagegenerators google >= 1.7 diff --git a/setup.py b/setup.py index 6190686..b81b241 100755 --- a/setup.py +++ b/setup.py @@ -45,7 +45,10 @@ 'wikitextparser': ['wikitextparser>=0.47.0'], 'mysql': ['PyMySQL >= 1.0.0'], # vulnerability found in Pillow<8.1.2 but toolforge uses 5.4.1 -'Tkinter': ['Pillow>=8.1.2, != 10.0, != 10.1'], +'Tkinter': [ +'Pillow>=8.1.2, != 10.0, != 10.1; python_version < "3.13"', +'Pillow>=10.4; python_version >= "3.13"', +], 'mwoauth': ['mwoauth!=0.3.1,>=0.2.4'], 'html': ['beautifulsoup4>=4.7.1'], 'http': ['fake-useragent>=1.4.0'], -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1035862?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Change-Id: Id3080f0e4e5d270c3bd03c56896af3cb61b609b8 Gerrit-Change-Number: 1035862 Gerrit-PatchSet: 1 Gerrit-Owner: Xqt Gerrit-Reviewer: Xqt Gerrit-Reviewer: jenkins-bot Gerrit-MessageType: merged ___ Pywikibot-commits mailing list -- pywikibot-commits@lists.wikimedia.org To unsubscribe send an email to pywikibot-commits-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Triaged] T365920: In pywikibot's welcom.py script use "Mediawiki:Newusermessage-signatures" page for RANDOM_SIGN variable instead of different page per project
Xqt changed the subtype of this task from "Task" to "Feature Request". Xqt triaged this task as "Low" priority. TASK DETAIL https://phabricator.wikimedia.org/T365920 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Stang, Huji, pywikibot-bugs-list, Aram, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, Xqt, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Retitled] T365920: welcome.py script: use "Mediawiki:Newusermessage-signatures" page for RANDOM_SIGN variable instead of different page per project
Xqt renamed this task from "In pywikibot's welcom.py script use "Mediawiki:Newusermessage-signatures" page for RANDOM_SIGN variable instead of different page per project" to "welcome.py script: use "Mediawiki:Newusermessage-signatures" page for RANDOM_SIGN variable instead of different page per project". TASK DETAIL https://phabricator.wikimedia.org/T365920 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Stang, Huji, pywikibot-bugs-list, Aram, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, Xqt, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Closed] T348925: preload_sites.py script is too slow
Xqt closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T348925 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: ericpien, Aklapper, pywikibot-bugs-list, Xqt, mevo, Isabelladantes1983, Themindcoder, Adamm71, Hellket777, LisafBia6531, Susie413113, 786, Biggs657, PotsdamLamb, Jyoo1011, JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, Viztor, CucyNoiD, Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Vali.matei, Lewizho99, Mdupont, JJMC89, Maathavan, Dvorapa, Altostratus, Neuronton, Avicennasis, Wong128hk, mys_721tx, Dinoguy1000, jayvdb, Masti, Alchimista, Jay8g ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Commented On] T353387: Suggest installing requests_oauthlib instead of throwing NoUsernameError
Xqt added a comment. In T353387#9832408 <https://phabricator.wikimedia.org/T353387#9832408>, @Ssm.allrounder wrote: > Hi @Xqt I've made the required changes. Raising a PR for the same Thanks a lot for this but unfortunately it does not work as expected, see my comment at gerrit. So, the patch suggestion should be rethinked. TASK DETAIL https://phabricator.wikimedia.org/T353387 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ssm.allrounder, Xqt Cc: Ssm.allrounder, Frostly, Mpaa, Xqt, Aklapper, pywikibot-bugs-list, Framawiki, Baderayat, zoe, Tonymetz, mevo, LAVANYANELLURI, ajaypediredla14, Jainitbafna, AFZL210, Gaurav24072002, Abhinay76, PotsdamLamb, Annysah01, Rohitgeddam, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Soda, Chaytanya, Zkhalido, JorisDarlingtonQuarshie, wiki-helenatxu, Viztor, Klein, Wenyi, Tks4Fish, Mh-3110, Lahi, JakeTheDeveloper, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, xSavitar, Altostratus, Avicennasis, MuhammadShuaib, Nastoshka, Tmalhotra, SimmeD, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikibot-commits] [Gerrit] ...core[master]: [tests] test with Python 3.13.0a/b instead of 3.13-dev
Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1035783?usp=email ) Change subject: [tests] test with Python 3.13.0a/b instead of 3.13-dev .. [tests] test with Python 3.13.0a/b instead of 3.13-dev Change-Id: I4ad5f6f3531aef3a842f182f8278154c7b4ef302 --- M .github/workflows/doctest.yml M .github/workflows/login_tests-ci.yml M .github/workflows/oauth_tests-ci.yml M .github/workflows/pywikibot-ci.yml 4 files changed, 4 insertions(+), 5 deletions(-) Approvals: Xqt: Verified; Looks good to me, approved diff --git a/.github/workflows/doctest.yml b/.github/workflows/doctest.yml index b4032be..6ec8aa6 100644 --- a/.github/workflows/doctest.yml +++ b/.github/workflows/doctest.yml @@ -23,10 +23,9 @@ max-parallel: 14 matrix: -python-version: [ "pypy3.7", "pypy3.10", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12" ] +python-version: [ "pypy3.7", "pypy3.10", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-alpha - 3.13.0" ] os: [ windows-latest, macOS-latest, ubuntu-latest ] include: - - python-version: "3.13-dev" - python-version: "3.14-dev" exclude: - os: macOS-latest diff --git a/.github/workflows/login_tests-ci.yml b/.github/workflows/login_tests-ci.yml index 7d18e02..bc718bc 100644 --- a/.github/workflows/login_tests-ci.yml +++ b/.github/workflows/login_tests-ci.yml @@ -23,7 +23,7 @@ max-parallel: 1 matrix: -python-version: [ "pypy3.7", "pypy3.10", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13-dev", "3.14-dev" ] +python-version: [ "pypy3.7", "pypy3.10", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-alpha - 3.13.0", "3.14-dev" ] site: [ "wikipedia:en", "wikisource:zh", "wikipedia:test" ] include: - python-version: "3.7" diff --git a/.github/workflows/oauth_tests-ci.yml b/.github/workflows/oauth_tests-ci.yml index 3140908..d26c368 100644 --- a/.github/workflows/oauth_tests-ci.yml +++ b/.github/workflows/oauth_tests-ci.yml @@ -23,7 +23,7 @@ fail-fast: false matrix: -python-version: [ "pypy3.7", "pypy3.10", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13-dev", "3.14-dev" ] +python-version: [ "pypy3.7", "pypy3.10", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-alpha - 3.13.0", "3.14-dev" ] family: [ wikipedia ] code: [ test ] domain: [ "test.wikipedia.org" ] diff --git a/.github/workflows/pywikibot-ci.yml b/.github/workflows/pywikibot-ci.yml index e7ff0a2..d45d1ef 100644 --- a/.github/workflows/pywikibot-ci.yml +++ b/.github/workflows/pywikibot-ci.yml @@ -26,7 +26,7 @@ max-parallel: 17 matrix: -python-version: [ "pypy3.7", "pypy3.10", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13-dev", "3.14-dev" ] +python-version: [ "pypy3.7", "pypy3.10", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-alpha - 3.13.0", "3.14-dev" ] site: [ "wikipedia:en", "wikisource:zh" ] test_prod_only: [ true ] include: -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1035783?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Change-Id: I4ad5f6f3531aef3a842f182f8278154c7b4ef302 Gerrit-Change-Number: 1035783 Gerrit-PatchSet: 1 Gerrit-Owner: Xqt Gerrit-Reviewer: Xqt Gerrit-CC: jenkins-bot Gerrit-MessageType: merged ___ Pywikibot-commits mailing list -- pywikibot-commits@lists.wikimedia.org To unsubscribe send an email to pywikibot-commits-le...@lists.wikimedia.org
[Pywikibot-commits] [Gerrit] ...core[master]: Revert "[tests] use Python 3.13 for tests"
Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1035156?usp=email ) Change subject: Revert "[tests] use Python 3.13 for tests" .. Revert "[tests] use Python 3.13 for tests" This reverts commit f1690b14eb855ac6ef2e414d8dc104678c2d6622. Reason for revert: not found, beta needed Change-Id: I438d09d3b9580f79a9c601d8c11a08003fedb7cc --- M .github/workflows/oauth_tests-ci.yml 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Xqt: Verified; Looks good to me, approved diff --git a/.github/workflows/oauth_tests-ci.yml b/.github/workflows/oauth_tests-ci.yml index b87da06..3140908 100644 --- a/.github/workflows/oauth_tests-ci.yml +++ b/.github/workflows/oauth_tests-ci.yml @@ -23,7 +23,7 @@ fail-fast: false matrix: -python-version: [ "pypy3.7", "pypy3.10", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14-dev" ] +python-version: [ "pypy3.7", "pypy3.10", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13-dev", "3.14-dev" ] family: [ wikipedia ] code: [ test ] domain: [ "test.wikipedia.org" ] -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1035156?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Change-Id: I438d09d3b9580f79a9c601d8c11a08003fedb7cc Gerrit-Change-Number: 1035156 Gerrit-PatchSet: 1 Gerrit-Owner: Xqt Gerrit-Reviewer: Xqt Gerrit-CC: jenkins-bot Gerrit-MessageType: merged ___ Pywikibot-commits mailing list -- pywikibot-commits@lists.wikimedia.org To unsubscribe send an email to pywikibot-commits-le...@lists.wikimedia.org
[Pywikibot-commits] [Gerrit] ...core[master]: [tests] use Python 3.13 for tests
Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1035154?usp=email ) Change subject: [tests] use Python 3.13 for tests .. [tests] use Python 3.13 for tests Change-Id: Ib79bfb7817b6647e3910030a11e59a3f36258026 Signed-off-by: Xqt --- M .github/workflows/oauth_tests-ci.yml 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Xqt: Verified; Looks good to me, approved diff --git a/.github/workflows/oauth_tests-ci.yml b/.github/workflows/oauth_tests-ci.yml index 3140908..b87da06 100644 --- a/.github/workflows/oauth_tests-ci.yml +++ b/.github/workflows/oauth_tests-ci.yml @@ -23,7 +23,7 @@ fail-fast: false matrix: -python-version: [ "pypy3.7", "pypy3.10", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13-dev", "3.14-dev" ] +python-version: [ "pypy3.7", "pypy3.10", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14-dev" ] family: [ wikipedia ] code: [ test ] domain: [ "test.wikipedia.org" ] -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1035154?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Change-Id: Ib79bfb7817b6647e3910030a11e59a3f36258026 Gerrit-Change-Number: 1035154 Gerrit-PatchSet: 2 Gerrit-Owner: Xqt Gerrit-Reviewer: Xqt Gerrit-CC: jenkins-bot Gerrit-MessageType: merged ___ Pywikibot-commits mailing list -- pywikibot-commits@lists.wikimedia.org To unsubscribe send an email to pywikibot-commits-le...@lists.wikimedia.org
[Pywikibot-commits] [Gerrit] ...core[master]: [doc] Fix some sphinx errors
Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1034863?usp=email ) Change subject: [doc] Fix some sphinx errors .. [doc] Fix some sphinx errors Change-Id: I4f1420c5a08e51288be888ce07e138fe3b90c9bf --- M scripts/add_text.py M scripts/category_graph.py M scripts/harvest_template.py 3 files changed, 45 insertions(+), 40 deletions(-) Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified diff --git a/scripts/add_text.py b/scripts/add_text.py index c490139..d5c07bd 100755 --- a/scripts/add_text.py +++ b/scripts/add_text.py @@ -38,25 +38,25 @@ Examples -1. Append 'hello world' to the bottom of the sandbox: +Append 'hello world' to the bottom of the sandbox: python pwb.py add_text -page:Wikipedia:Sandbox \ --summary:"Bot: pywikibot practice" -text:"hello world" +-summary:"Bot: pywikibot practice" -text:"hello world" -2. Add a template to the top of the pages with 'category:catname': +Add a template to the top of the pages with 'category:catname': python pwb.py add_text -cat:catname -summary:"Bot: Adding a template" \ --text:"{{Something}}" -except:"\{\{([Tt]emplate:|)[Ss]omething" -up +-text:"{{Something}}" -except:"\{\{([Tt]emplate:|)[Ss]omething" -up -3. Command used on it.wikipedia to put the template in the page without any - category: +Command used on it.wikipedia to put the template in the page without any +category: python pwb.py add_text -except:"\{\{([Tt]emplate:|)[Cc]ategorizzare" \ --text:"{{Categorizzare}}" -excepturl:"class='catlinks'>" -uncat \ --summary:"Bot: Aggiungo template Categorizzare" +-text:"{{Categorizzare}}" -excepturl:"class='catlinks'>" -uncat \ +-summary:"Bot: Aggiungo template Categorizzare" """ # -# (C) Pywikibot team, 2007-2023 +# (C) Pywikibot team, 2007-2024 # # Distributed under the terms of the MIT license. # diff --git a/scripts/category_graph.py b/scripts/category_graph.py index 9be4863..829abb7 100755 --- a/scripts/category_graph.py +++ b/scripts/category_graph.py @@ -26,13 +26,16 @@ Example --- +Visualizes main category: + pwb.py -v category_graph -from -Extended example with style settings:: +Extended example with style settings: pwb.py category_graph -from Life -downsize 1.5 \ --style 'graph[rankdir=BT ranksep=0.5] node[shape=circle style=filled \ -fillcolor=green] edge[style=dashed penwidth=3]' +-style 'graph[rankdir=BT ranksep=0.5] node[shape=circle style=filled \ +fillcolor=green] edge[style=dashed penwidth=3]' + .. versionadded:: 8.0 """ diff --git a/scripts/harvest_template.py b/scripts/harvest_template.py index 6fc06c9..55f0344 100755 --- a/scripts/harvest_template.py +++ b/scripts/harvest_template.py @@ -1,16 +1,17 @@ #!/usr/bin/env python3 -r""" -Template harvesting script. +r"""Template harvesting script. Usage (see below for explanations and examples): python pwb.py harvest_template -transcludes:"..." \ -[default optional arguments] template_parameter PID \ -[local optional arguments] [template_parameter PID [local optional arguments]] +[default optional arguments] template_parameter PID \ +[local optional arguments] \ +[template_parameter PID [local optional arguments]] python pwb.py harvest_template [generators] -template:"..." \ -[default optional arguments] template_parameter PID \ -[local optional arguments] [template_parameter PID [local optional arguments]] +[default optional arguments] template_parameter PID \ +[local optional arguments] \ +[template_parameter PID [local optional arguments]] This will work on all pages that transclude the template in the article namespace @@ -52,35 +53,35 @@ "P18" (image): python pwb.py harvest_template -lang:en -family:wikipedia -namespace:0 \ --template:"Infobox person" image P18 +-template:"Infobox person" image P18 -The following command will behave the same as the previous example and also -try to import [[links]] from "birth_place" parameter of the same template -as Wikidata property "P19" (place of birth): +The following command will behave the same as the previous example and +also try to import [[links]] from "birth_place" parameter of the same +template as Wikidata property "P19" (place of birth): python pwb.py harvest_template -lang:en -family:wikipedia -namespace:0 \ --template:"Infobox person" image P18 birth_place P19 +-template:"Infobox person" image P18 birth_place P19 The following command will import both "birth_place" and "death_place" -params with -islink modifier, ie. the bot w
[Pywikipedia-bugs] [Maniphest] [Commented On] T344327: pywikibot Site.upload repeats "Invalid CSRF token" and "Sleeping for" infinitely without exiting
Xqt added a comment. In T344327#9819408 <https://phabricator.wikimedia.org/T344327#9819408>, @Hoi wrote: > In the last a few days, I experienced infinite sleep several times. No invalid CSRF token, just `Sleeping for ...` kept repeating for at least several hours until I terminated it. Was ist for 15, 30, 45, 60, 120, 180, 240, 300 seconds or sth else? TASK DETAIL https://phabricator.wikimedia.org/T344327 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, Aklapper, pywikibot-bugs-list, Hoi, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Closed] T364689: Giving an empty string as second replacement argument in replace.py fails if Powershell is used as command prompt
Xqt closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T364689 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: binbot, Xqt, Aklapper, pywikibot-bugs-list, Aram, mevo, Isabelladantes1983, Themindcoder, Adamm71, Jersione, Hellket777, LisafBia6531, 786, Biggs657, PotsdamLamb, Jyoo1011, JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, joker88john, Viztor, CucyNoiD, Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Dvorapa, Altostratus, Neuronton, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Retitled] T364689: Giving an empty string as second replacement argument in replace.py fails if Powershell is used as command prompt
Xqt renamed this task from "In pywikibot, replace.py script using -regex can't handle null replacements" to "Giving an empty string as second replacement argument in replace.py fails if Powershell is used as command prompt". Xqt triaged this task as "High" priority. Xqt claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T364689 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: binbot, Xqt, Aklapper, pywikibot-bugs-list, Aram, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Commented On] T364689: In pywikibot, replace.py script using -regex can't handle null replacements
Xqt added a comment. In T364689#9817154 <https://phabricator.wikimedia.org/T364689#9817154>, @Aram wrote: > @Xqt, I don't know how you found out I was using PS ... The preleading PS gave me that hint {icon smile-o spin} **`PS`**`C:\Pywikibot> ...` TASK DETAIL https://phabricator.wikimedia.org/T364689 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: binbot, Xqt, Aklapper, pywikibot-bugs-list, Aram, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Commented On] T364689: In pywikibot, replace.py script using -regex can't handle null replacements
Xqt added a comment. Using empty strings with PS --- Try the follwing example invoking the Python command shell. With cmd you can use en empty string like `pwb shell foo "" bar -noimport` For PS you have to escape the empty string in this form using the gravis symbol: pwb shell foo `"`" bar -noimport Or you can igrnore PS parsing with `--%` symbol like: `pwb shell --% foo "" bar -noimport` see: https://stackoverflow.com/questions/50114672/in-powershell-how-to-allow-an-empty-string-for-a-named-parameter TASK DETAIL https://phabricator.wikimedia.org/T364689 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: binbot, Xqt, Aklapper, pywikibot-bugs-list, Aram, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Commented On] T364689: In pywikibot, replace.py script using -regex can't handle null replacements
Xqt added a comment. @Aram: I see, you are using Powershell to invoke the python command. I was able to reproduce the reported behavior with Powershell and it seems that PS ignores empty strings. Please use the `cmd` comand propt and it will work as expected. TASK DETAIL https://phabricator.wikimedia.org/T364689 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: binbot, Xqt, Aklapper, pywikibot-bugs-list, Aram, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Commented On] T364689: In pywikibot, replace.py script using -regex can't handle null replacements
Xqt added a comment. OK, another try: `pwb shell foo "" bar` The result should be (two comas after foo) `Unknown arguments: foo, , bar` TASK DETAIL https://phabricator.wikimedia.org/T364689 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: binbot, Xqt, Aklapper, pywikibot-bugs-list, Aram, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Commented On] T364689: In pywikibot, replace.py script using -regex can't handle null replacements
Xqt added a comment. What is the behaviour and the log with Python 3.12 without escaping? TASK DETAIL https://phabricator.wikimedia.org/T364689 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: binbot, Xqt, Aklapper, pywikibot-bugs-list, Aram, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Commented On] T364689: In pywikibot, replace.py script using -regex can't handle null replacements
Xqt added a comment. Just an idea to circumvent this sys.argv problem is to use a preleading linespace but does not work if the template is in the first line on the page: python pwb.py -simulate replace -page:ئانیشک -site:wiktionary:ckb -regex "\r?\n{{wikipedia}}\n?" "\n" -summary:"Replace test" TASK DETAIL https://phabricator.wikimedia.org/T364689 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, Aklapper, pywikibot-bugs-list, Aram, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Commented On] T364689: In pywikibot, replace.py script using -regex can't handle null replacements
Xqt added a comment. Does an escaping work: `python pwb.py -simulate replace -page:ئانیشک -site:wiktionary:ckb -regex "{{wikipedia}}\n?" \"\" -summary:"Replace test"` Are you able to install another python like Python 3.11 or 3.12? You may run different versions using the `py` launcher e.g.: `py -3.11 -m pwb -simulate replace -page:ئانیشک -site:wiktionary:ckb -regex "{{wikipedia}}\n?" "" -summary:"Replace test"` TASK DETAIL https://phabricator.wikimedia.org/T364689 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, Aklapper, pywikibot-bugs-list, Aram, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Commented On] T364689: In pywikibot, replace.py script using -regex can't handle null replacements
Xqt added a comment. Really strange, the empty string is lost in sys.args. What is your Windows version? TASK DETAIL https://phabricator.wikimedia.org/T364689 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, Aklapper, pywikibot-bugs-list, Aram, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Commented On] T364689: In pywikibot, replace.py script using -regex can't handle null replacements
Xqt added a comment. @Aram: could you please run `pwb version` to get your version information. Are you able to adopt this <https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1030595> patch? The replacement pairs should be printed then. TASK DETAIL https://phabricator.wikimedia.org/T364689 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, Aklapper, pywikibot-bugs-list, Aram, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Triaged] T365340: extra new line added by noreferences.py
Xqt triaged this task as "Low" priority. TASK DETAIL https://phabricator.wikimedia.org/T365340 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, Aklapper, pywikibot-bugs-list, Rubin, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Commented On] T365340: extra new line added by noreferences.py
Xqt added a comment. In T365340#9812718 <https://phabricator.wikimedia.org/T365340#9812718>, @Rubin wrote: > does the template make a difference here? It is not substituted (like `{{subst:примечания}}`), we just add `{{примечания}}` itself, its substance shouldn't affect the edit, as I understand. Please, feel free to correct me if I don't understand Yiu are right, I'l investigate into this issue. TASK DETAIL https://phabricator.wikimedia.org/T365340 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, Aklapper, pywikibot-bugs-list, Rubin, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Commented On] T365340: extra new line added by noreferences.py
Xqt added a comment. @Rubin: I guess this is made by the `{{примечания}}` template wich adds this additional line; could you pleas check it? TASK DETAIL https://phabricator.wikimedia.org/T365340 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, Aklapper, pywikibot-bugs-list, Rubin, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Commented On] T364689: In pywikibot, replace.py script using -regex can't handle null replacements
Xqt added a comment. @Aram: please run the following command for tests: `pwb.py -simulate replace -page:ئانیشک -site:wiktionary:ckb -regex "{{wikipedia}}\n?" "" -summary:"Replace test"` You should get the following: Retrieving 1 pages from wiktionary:ckb. >>> ئانیشک <<< @@ -2 +1,0 @@ - {{wikipedia}} Do you want to accept these changes? ([y]es, [N]o, [e]dit original, edit [l]atest, open in [b]rowser, [m]ore context, [a]ll, [q]uit): Instead using pages from your file it just uses the page you have mentioned above. What is your behaviour here? TASK DETAIL https://phabricator.wikimedia.org/T364689 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, Aklapper, pywikibot-bugs-list, Aram, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Claimed] T348925: preload_sites.py script is too slow
Xqt claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T348925 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: ericpien, Aklapper, pywikibot-bugs-list, Xqt, mevo, Isabelladantes1983, Themindcoder, Adamm71, Jersione, Hellket777, LisafBia6531, Susie413113, 786, Biggs657, PotsdamLamb, Jyoo1011, JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, joker88john, Viztor, CucyNoiD, Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Vali.matei, Lewizho99, Mdupont, JJMC89, Maathavan, Dvorapa, Altostratus, Neuronton, Avicennasis, Wong128hk, mys_721tx, Dinoguy1000, jayvdb, Masti, Alchimista, Jay8g ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Commented On] T348925: preload_sites.py script is too slow
Xqt added a comment. The regression was introduced with Pywikibot 8.1 (see above). Previous runs were 30 times faster for the first time and 300 times for the second. The patch above fastens up the second call but the api calls seems sequentiell instead of simultaneously which would be expected with concurrent.futures. TASK DETAIL https://phabricator.wikimedia.org/T348925 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: ericpien, Aklapper, pywikibot-bugs-list, Xqt, mevo, Isabelladantes1983, Themindcoder, Adamm71, Jersione, Hellket777, LisafBia6531, Susie413113, 786, Biggs657, PotsdamLamb, Jyoo1011, JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, joker88john, Viztor, CucyNoiD, Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Vali.matei, Lewizho99, Mdupont, JJMC89, Maathavan, Dvorapa, Altostratus, Neuronton, Avicennasis, Wong128hk, mys_721tx, Dinoguy1000, jayvdb, Masti, Alchimista, Jay8g ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Commented On] T348925: preload_sites.py script is too slow
Xqt added a comment. Hi @ericpien: I think `preload_sites` script is a good measurement. After collecting the `siteinfo` (and after Pywikibot 8.1 `userinfo`) the second call must much more faster. Thank you for your patch but I would suggest to use the already implemented CachedRequest <https://doc.wikimedia.org/pywikibot/master/api_ref/pywikibot.data.html#data.api.CachedRequest> to cache the userinfo which is already used for `siteinfo`. The advantage is that parallel running task will also benefit from it. At userinfo <https://doc.wikimedia.org/pywikibot/master/api_ref/pywikibot.site.html#pywikibot.site._apisite.APISite.userinfo> method the cached request can be implemented like if not hasattr(self, '_userinfo'): uirequest = self._request( expiry=1, parameters=dict( action='query', meta='userinfo', uiprop='blockinfo|hasmsg|groups|rights|ratelimits', formatversion=2, ) ) uidata = uirequest.submit() The 2nd run needs only ~30 seconds with this patch compared to 8 minutes without it. Maybe we could add some runtime test like this to our test matrix. TASK DETAIL https://phabricator.wikimedia.org/T348925 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: ericpien, Aklapper, pywikibot-bugs-list, Xqt, mevo, Susie413113, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Vali.matei, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, Wong128hk, mys_721tx, Dinoguy1000, jayvdb, Masti, Alchimista, Jay8g ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Unassigned] T365312: remove tools.add_full_name decorator and add_decorated_full_name function
Xqt removed Xqt as the assignee of this task. TASK DETAIL https://phabricator.wikimedia.org/T365312 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Xqt, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Edited] T365312: remove tools.add_full_name decorator and add_decorated_full_name function
Xqt updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T365312 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Xqt, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Closed] T365286: Documentation of tools.deprecated is missing
Xqt closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T365286 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Xqt, mevo, Isabelladantes1983, Themindcoder, Adamm71, Jersione, Hellket777, LisafBia6531, 786, Biggs657, PotsdamLamb, Jyoo1011, JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, Urstrulykkr, joker88john, Viztor, CucyNoiD, Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Dvorapa, Altostratus, Neuronton, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Claimed] T365286: Documentation of tools.deprecated is missing
Xqt claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T365286 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Xqt, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Urstrulykkr, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Claimed] T365312: remove tools.add_full_name decorator and add_decorated_full_name function
Xqt triaged this task as "Low" priority. Xqt claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T365312 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Xqt, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Changed Status] T365232: Add support for dtpwiki to Pywikibot
Xqt changed the task status from "Open" to "Stalled". Xqt added a comment. @JJMC89: better remove the other because T365230 <https://phabricator.wikimedia.org/T365230> is the blocker for the current task. Stalled until T365230 <https://phabricator.wikimedia.org/T365230> is solved. TASK DETAIL https://phabricator.wikimedia.org/T365232 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, JJMC89, Aklapper, Maintenance_bot, pywikibot-bugs-list, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Triaged] T365286: Documentation of tools.deprecated is missing
Xqt triaged this task as "Medium" priority. TASK DETAIL https://phabricator.wikimedia.org/T365286 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Xqt, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Urstrulykkr, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Created] T365286: Documentation of tools.deprecated is missing
Xqt created this task. Xqt added projects: Pywikibot, Pywikibot-Documentation. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION documentation of tools.deprecation is missing. Instead of it the following is shown: tools.deprecated(*outer_args, **outer_kwargs)[source] Outer wrapper. The outer wrapper may be the replacement function if the decorated decorator was called without arguments, or the replacement decorator if the decorated decorator was called without arguments. PARAMETERS: outer_args – args outer_kwargs – kwargs But this is the documentation of the outer wrapper of the add_fullname decorator. TASK DETAIL https://phabricator.wikimedia.org/T365286 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Xqt, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Urstrulykkr, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Closed] T364640: common_information fails if there are multiple language templates
Xqt closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T364640 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Ricordisamoa, Aklapper, Xqt, pywikibot-bugs-list, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Claimed] T365199: botMayEdit() raises UnsupportedPageError for Page('Talk:Israeli invasion of the Gaza Strip (2023–present)') on the English Wikipedia
Xqt claimed this task. Xqt added a comment. The design of Page.templates() <https://doc.wikimedia.org/pywikibot/master/api_ref/pywikibot.page.html#page.BasePage.templates> as well as Page.itertemplates() <https://doc.wikimedia.org/pywikibot/master/api_ref/pywikibot.page.html#page.BasePage.itertemplates> are incluenced from compat version where only templates (ns 10) are given. That might be the reason why those both page methods do not support a `namespaces` parameter like pagetemplates <https://doc.wikimedia.org/pywikibot/master/api_ref/pywikibot.site.html#pywikibot.site._generators.GeneratorsMixin.pagetemplates> do and the documentation also has only templates in mind: //Return a list of/Iterate Page objects for templates used on this Page. Template parameters are ignored. This method only returns embedded templates, ...// I think that namespaces parameter should be introduced there. TASK DETAIL https://phabricator.wikimedia.org/T365199 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, Qwerfjkl, JJMC89, Aklapper, pywikibot-bugs-list, coldchrist, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Triaged] T365199: botMayEdit() raises UnsupportedPageError for Page('Talk:Israeli invasion of the Gaza Strip (2023–present)') on the English Wikipedia
Xqt triaged this task as "High" priority. TASK DETAIL https://phabricator.wikimedia.org/T365199 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, Qwerfjkl, JJMC89, Aklapper, pywikibot-bugs-list, coldchrist, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Updated] T365232: Add support for dtpwiki to Pywikibot
Xqt added a subtask: T365220: Create Wikipedia Central Dusun. TASK DETAIL https://phabricator.wikimedia.org/T365232 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Maintenance_bot, pywikibot-bugs-list, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, Xqt, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Closed] T365247: pep8-naming release 0.14.0 fails with Python 3.7
Xqt closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T365247 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Xqt, pywikibot-bugs-list, mevo, Isabelladantes1983, Themindcoder, Adamm71, Jersione, Hellket777, LisafBia6531, 786, Biggs657, PotsdamLamb, Jyoo1011, JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, joker88john, Viztor, CucyNoiD, Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Dvorapa, Altostratus, Neuronton, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikibot-commits] [Gerrit] ...core[master]: [tests] Use pep8-naming 0.13.3 with Python 3.7
Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1032782?usp=email ) Change subject: [tests] Use pep8-naming 0.13.3 with Python 3.7 .. [tests] Use pep8-naming 0.13.3 with Python 3.7 Use pep8-naming 0.13.3 with Python 3.7 due to missing walross operator support. Also remove "ignore-names" because the lowest version is 0.13.3 Bug: T365247 Change-Id: I8cb7d88718038dbba9a28cb16ed8c31cb461e08a --- M setup.py M tox.ini 2 files changed, 2 insertions(+), 3 deletions(-) Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified diff --git a/setup.py b/setup.py index cb14e17..6190686 100755 --- a/setup.py +++ b/setup.py @@ -64,7 +64,8 @@ 'flake8-string-format', 'flake8-tuple>=0.4.1', 'flake8-no-u-prefixed-strings>=0.2', -'pep8-naming>=0.13.3', +'pep8-naming==0.13.3; python_version < "3.8"', +'pep8-naming>=0.14.0; python_version >= "3.8"', ], 'hacking': [ 'hacking', diff --git a/tox.ini b/tox.ini index 8ab5836..f7cb582 100644 --- a/tox.ini +++ b/tox.ini @@ -235,8 +235,6 @@ # pep8-naming classmethod-decorators = classmethod,classproperty -# required with pep8-naming < 0.13 -ignore-names = setUp,tearDown,setUpClass,tearDownClass,setUpModule,tearDownModule,asyncSetUp,asyncTearDown,setUpTestData,failureException,longMessage,maxDiff [isort] py_version = 37 -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1032782?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Change-Id: I8cb7d88718038dbba9a28cb16ed8c31cb461e08a Gerrit-Change-Number: 1032782 Gerrit-PatchSet: 1 Gerrit-Owner: Xqt Gerrit-Reviewer: Xqt Gerrit-Reviewer: jenkins-bot Gerrit-MessageType: merged ___ Pywikibot-commits mailing list -- pywikibot-commits@lists.wikimedia.org To unsubscribe send an email to pywikibot-commits-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Claimed] T365247: pep8-naming release 0.14.0 fails with Python 3.7
Xqt claimed this task. Xqt triaged this task as "High" priority. Xqt moved this task from Backlog to CI test failures on the Pywikibot-tests board. TASK DETAIL https://phabricator.wikimedia.org/T365247 WORKBOARD https://phabricator.wikimedia.org/project/board/107/ EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Xqt, pywikibot-bugs-list, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Created] T365247: pep8-naming release 0.14.0 fails with Python 3.7
Xqt created this task. Xqt added projects: Pywikibot, Pywikibot-tests. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION pep8-naming release 0.14.0 is installed withPython 3.7 even though 0.13.3 is supposed to be used. flake8 fails then due to the unsupported walross operator `:=` introduced with Pyhton 3.8 TASK DETAIL https://phabricator.wikimedia.org/T365247 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Xqt, pywikibot-bugs-list, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Closed] T107141: SectionError exception nowhere raised
Xqt closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T107141 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, Aklapper, pywikibot-bugs-list, XZise, mevo, Isabelladantes1983, Themindcoder, Adamm71, Jersione, Hellket777, LisafBia6531, 786, Biggs657, PotsdamLamb, Jyoo1011, JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, joker88john, Viztor, CucyNoiD, Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Dvorapa, Altostratus, Neuronton, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Edited] T364841: Pywikibot tests sometimes hangs on deletionbot_tests.TestDeletionBot.test_dry()
Xqt updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T364841 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Xqt, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Triaged] T364841: Pywikibot tests sometimes hangs on deletionbot_tests.TestDeletionBot.test_dry()
Xqt triaged this task as "High" priority. TASK DETAIL https://phabricator.wikimedia.org/T364841 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Xqt, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Created] T364841: Pywikibot tests sometimes hangs on deletionbot_tests.TestDeletionBot.test_dry()
Xqt created this task. Xqt added projects: Pywikibot, Pywikibot-tests. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION TASK DETAIL https://phabricator.wikimedia.org/T364841 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Xqt, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Created] T364840: Installing Pillow fails for Python 3.13 and 3.14
Xqt created this task. Xqt added projects: Pywikibot, Pywikibot-tests, Upstream. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Pillow 8.1 -- D:\>py -3.13 -m pip install "Pillow==8.1" Collecting Pillow==8.1 Downloading Pillow-8.1.0.tar.gz (44.9 MB) 44.9/44.9 MB 3.3 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... done Building wheels for collected packages: Pillow Building wheel for Pillow (pyproject.toml) ... error error: subprocess-exited-with-error × Building wheel for Pillow (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [224 lines of output] running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-cpython-313 creating build\lib.win-amd64-cpython-313\PIL copying src\PIL\BdfFontFile.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\BlpImagePlugin.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\BmpImagePlugin.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\BufrStubImagePlugin.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\ContainerIO.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\CurImagePlugin.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\DcxImagePlugin.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\DdsImagePlugin.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\EpsImagePlugin.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\ExifTags.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\features.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\FitsStubImagePlugin.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\FliImagePlugin.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\FontFile.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\FpxImagePlugin.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\FtexImagePlugin.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\GbrImagePlugin.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\GdImageFile.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\GifImagePlugin.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\GimpGradientFile.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\GimpPaletteFile.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\GribStubImagePlugin.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\Hdf5StubImagePlugin.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\IcnsImagePlugin.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\IcoImagePlugin.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\Image.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\ImageChops.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\ImageCms.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\ImageColor.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\ImageDraw.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\ImageDraw2.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\ImageEnhance.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\ImageFile.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\ImageFilter.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\ImageFont.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\ImageGrab.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\ImageMath.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\ImageMode.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\ImageMorph.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\ImageOps.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\ImagePalette.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\ImagePath.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\ImageQt.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\ImageSequence.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\ImageShow.py -> build\lib.win-amd64-cpython-313\PIL copying src\PIL\ImageStat.py -> build\lib.win-amd64-cpython-313\PIL
[Pywikipedia-bugs] [Maniphest] [Triaged] T364840: Installing Pillow fails for Python 3.13 and 3.14
Xqt triaged this task as "High" priority. TASK DETAIL https://phabricator.wikimedia.org/T364840 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Xqt, pywikibot-bugs-list, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Krenair ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikibot-commits] [Gerrit] ...core[master]: [tests] fix workflow files
Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1031409?usp=email ) Change subject: [tests] fix workflow files .. [tests] fix workflow files Change-Id: If99a1e4d07eac7490e3199b54d42c6bead64537d --- M .github/workflows/doctest.yml M .github/workflows/login_tests-ci.yml M .github/workflows/oauth_tests-ci.yml M .github/workflows/pywikibot-ci.yml 4 files changed, 4 insertions(+), 4 deletions(-) Approvals: Xqt: Verified; Looks good to me, approved diff --git a/.github/workflows/doctest.yml b/.github/workflows/doctest.yml index e841423..b4032be 100644 --- a/.github/workflows/doctest.yml +++ b/.github/workflows/doctest.yml @@ -15,7 +15,7 @@ jobs: build: -runs-on: ${{ matrix.os || "ubuntu-latest" }} +runs-on: ${{ matrix.os || 'ubuntu-latest' }} timeout-minutes: 10 strategy: diff --git a/.github/workflows/login_tests-ci.yml b/.github/workflows/login_tests-ci.yml index 92efe93..7d18e02 100644 --- a/.github/workflows/login_tests-ci.yml +++ b/.github/workflows/login_tests-ci.yml @@ -15,7 +15,7 @@ jobs: build: -runs-on: ${{ matrix.os || "ubuntu-latest" }} +runs-on: ${{ matrix.os || 'ubuntu-latest' }} timeout-minutes: 30 strategy: diff --git a/.github/workflows/oauth_tests-ci.yml b/.github/workflows/oauth_tests-ci.yml index b263be4..3140908 100644 --- a/.github/workflows/oauth_tests-ci.yml +++ b/.github/workflows/oauth_tests-ci.yml @@ -16,7 +16,7 @@ jobs: build: -runs-on: ${{ matrix.os || "ubuntu-latest" }} +runs-on: ${{ matrix.os || 'ubuntu-latest' }} timeout-minutes: 5 strategy: diff --git a/.github/workflows/pywikibot-ci.yml b/.github/workflows/pywikibot-ci.yml index e2421ae..e7ff0a2 100644 --- a/.github/workflows/pywikibot-ci.yml +++ b/.github/workflows/pywikibot-ci.yml @@ -17,7 +17,7 @@ jobs: build: -runs-on: ${{ matrix.os || "ubuntu-latest" }} +runs-on: ${{ matrix.os || 'ubuntu-latest' }} continue-on-error: ${{ matrix.experimental || false }} timeout-minutes: 100 -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1031409?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Change-Id: If99a1e4d07eac7490e3199b54d42c6bead64537d Gerrit-Change-Number: 1031409 Gerrit-PatchSet: 1 Gerrit-Owner: Xqt Gerrit-Reviewer: Xqt Gerrit-MessageType: merged ___ Pywikibot-commits mailing list -- pywikibot-commits@lists.wikimedia.org To unsubscribe send an email to pywikibot-commits-le...@lists.wikimedia.org
[Pywikibot-commits] [Gerrit] ...core[master]: [tests] fix workflow files
Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1031407?usp=email ) Change subject: [tests] fix workflow files .. [tests] fix workflow files Change-Id: I3887b5e903fd0884e84eb42ab900787ce03c7f8e --- M .github/workflows/doctest.yml M .github/workflows/login_tests-ci.yml M .github/workflows/oauth_tests-ci.yml M .github/workflows/pywikibot-ci.yml M .github/workflows/write_tests-ci.yml 5 files changed, 9 insertions(+), 9 deletions(-) Approvals: Xqt: Verified; Looks good to me, approved diff --git a/.github/workflows/doctest.yml b/.github/workflows/doctest.yml index aedfa75..e841423 100644 --- a/.github/workflows/doctest.yml +++ b/.github/workflows/doctest.yml @@ -15,7 +15,7 @@ jobs: build: -runs-on: ${{ matrix.os || ubuntu-latest }} +runs-on: ${{ matrix.os || "ubuntu-latest" }} timeout-minutes: 10 strategy: diff --git a/.github/workflows/login_tests-ci.yml b/.github/workflows/login_tests-ci.yml index 10ab653..92efe93 100644 --- a/.github/workflows/login_tests-ci.yml +++ b/.github/workflows/login_tests-ci.yml @@ -15,7 +15,7 @@ jobs: build: -runs-on: ${{ matrix.os || 'ubuntu-latest' }} +runs-on: ${{ matrix.os || "ubuntu-latest" }} timeout-minutes: 30 strategy: @@ -24,7 +24,7 @@ matrix: python-version: [ "pypy3.7", "pypy3.10", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13-dev", "3.14-dev" ] -site: [ wikipedia:en, wikisource:zh, wikipedia:test" ] +site: [ "wikipedia:en", "wikisource:zh", "wikipedia:test" ] include: - python-version: "3.7" site: False diff --git a/.github/workflows/oauth_tests-ci.yml b/.github/workflows/oauth_tests-ci.yml index 3b32ceb..b263be4 100644 --- a/.github/workflows/oauth_tests-ci.yml +++ b/.github/workflows/oauth_tests-ci.yml @@ -16,7 +16,7 @@ jobs: build: -runs-on: ${{ matrix.os || 'ubuntu-latest' }} +runs-on: ${{ matrix.os || "ubuntu-latest" }} timeout-minutes: 5 strategy: @@ -26,7 +26,7 @@ python-version: [ "pypy3.7", "pypy3.10", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13-dev", "3.14-dev" ] family: [ wikipedia ] code: [ test ] -domain: [ test.wikipedia.org ] +domain: [ "test.wikipedia.org" ] include: - python-version: "3.7" family: wpbeta diff --git a/.github/workflows/pywikibot-ci.yml b/.github/workflows/pywikibot-ci.yml index ecc87ff..e2421ae 100644 --- a/.github/workflows/pywikibot-ci.yml +++ b/.github/workflows/pywikibot-ci.yml @@ -17,7 +17,7 @@ jobs: build: -runs-on: ${{ matrix.os || 'ubuntu-latest' }} +runs-on: ${{ matrix.os || "ubuntu-latest" }} continue-on-error: ${{ matrix.experimental || false }} timeout-minutes: 100 @@ -27,7 +27,7 @@ matrix: python-version: [ "pypy3.7", "pypy3.10", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13-dev", "3.14-dev" ] -site: [ wikipedia:en, wikisource:zh ] +site: [ "wikipedia:en", "wikisource:zh" ] test_prod_only: [ true ] include: - python-version: "3.7" diff --git a/.github/workflows/write_tests-ci.yml b/.github/workflows/write_tests-ci.yml index 27a5623..6e6a661 100644 --- a/.github/workflows/write_tests-ci.yml +++ b/.github/workflows/write_tests-ci.yml @@ -15,7 +15,7 @@ jobs: build: -runs-on: 'ubuntu-latest' +runs-on: "ubuntu-latest" continue-on-error: ${{ matrix.experimental || false }} timeout-minutes: 100 @@ -24,7 +24,7 @@ matrix: python-version: [ "3.7" ] -site: [ wikipedia:test ] +site: [ "wikipedia:test" ] experimental: [ true ] steps: -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1031407?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Change-Id: I3887b5e903fd0884e84eb42ab900787ce03c7f8e Gerrit-Change-Number: 1031407 Gerrit-PatchSet: 1 Gerrit-Owner: Xqt Gerrit-Reviewer: Xqt Gerrit-MessageType: merged ___ Pywikibot-commits mailing list -- pywikibot-commits@lists.wikimedia.org To unsubscribe send an email to pywikibot-commits-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Closed] T364812: Add Python 3.14 to GitHub action test matrix
Xqt claimed this task. Xqt closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T364812 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Xqt, mevo, Isabelladantes1983, Themindcoder, Adamm71, Jersione, Hellket777, LisafBia6531, 786, Biggs657, PotsdamLamb, Jyoo1011, JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, joker88john, Viztor, CucyNoiD, Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Dvorapa, Altostratus, Neuronton, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikibot-commits] [Gerrit] ...core[master]: [tests] include Python 3.14 to github action tests
Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1031403?usp=email ) Change subject: [tests] include Python 3.14 to github action tests .. [tests] include Python 3.14 to github action tests Bug: T364812 Change-Id: I41cad5853f544dd3d33eaeebc26797c68b9d96fc --- M .github/workflows/doctest.yml M .github/workflows/login_tests-ci.yml M .github/workflows/oauth_tests-ci.yml M .github/workflows/pywikibot-ci.yml M .github/workflows/write_tests-ci.yml 5 files changed, 41 insertions(+), 45 deletions(-) Approvals: Xqt: Verified; Looks good to me, approved diff --git a/.github/workflows/doctest.yml b/.github/workflows/doctest.yml index 064b565..aedfa75 100644 --- a/.github/workflows/doctest.yml +++ b/.github/workflows/doctest.yml @@ -5,7 +5,6 @@ push: branches: [ master ] - concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true @@ -16,7 +15,7 @@ jobs: build: -runs-on: ${{ matrix.os || 'ubuntu-latest'}} +runs-on: ${{ matrix.os || ubuntu-latest }} timeout-minutes: 10 strategy: @@ -24,8 +23,8 @@ max-parallel: 14 matrix: -os: [ windows-latest, macOS-latest, ubuntu-latest ] python-version: [ "pypy3.7", "pypy3.10", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12" ] +os: [ windows-latest, macOS-latest, ubuntu-latest ] include: - python-version: "3.13-dev" - python-version: "3.14-dev" diff --git a/.github/workflows/login_tests-ci.yml b/.github/workflows/login_tests-ci.yml index 5cc02a2..10ab653 100644 --- a/.github/workflows/login_tests-ci.yml +++ b/.github/workflows/login_tests-ci.yml @@ -23,32 +23,31 @@ max-parallel: 1 matrix: -python-version: ["pypy3.7", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13-dev"] -site: ['wikipedia:en', 'wikisource:zh', 'wikipedia:test'] +python-version: [ "pypy3.7", "pypy3.10", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13-dev", "3.14-dev" ] +site: [ wikipedia:en, wikisource:zh, wikipedia:test" ] include: - - python-version: 3.7 + - python-version: "3.7" site: False family: wpbeta code: en - - python-version: 3.7 + - python-version: "3.7" site: False family: wpbeta code: zh - - python-version: 3.8 + - python-version: "3.8" site: wsbeta:en - - python-version: 3.7 + - python-version: "3.7" site: wikidata:test - - python-version: 3.9 + - python-version: "3.9" site: wiktionary:ar - - python-version: 3.7 + - python-version: "3.7" site: wikidata:wikidata - - python-version: 3.8 + - python-version: "3.8" site: wowwiki:uk - python-version: 3 site: wikipedia:de os: macOS-latest - steps: - name: Checkout Repository uses: actions/checkout@v4 @@ -57,14 +56,14 @@ - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 - if: ${{ matrix.python-version != '3.13-dev' }} + if: "!endsWith(matrix.python-version, '-dev')" with: python-version: ${{ matrix.python-version }} -# use deadsnakes/action until actions/setup-python supports Python 3.13 +# use deadsnakes/action for development releases - name: Set up development Python ${{ matrix.python-version }} uses: deadsnakes/action@v3.1.0 - if: ${{ matrix.python-version == '3.13-dev' }} + if: "endsWith(matrix.python-version, '-dev')" with: python-version: ${{ matrix.python-version }} @@ -107,7 +106,7 @@ echo "password_file = os.path.expanduser('passwordfile')" >> user-config.py echo "('${{ env.PYWIKIBOT_USERNAME }}', '${{ secrets.PYWIKIBOT_USERPWD }}')" > passwordfile -- name: Test with unittest +- name: Login test with unittest timeout-minutes: 2 run: | python pwb.py version diff --git a/.github/workflows/oauth_tests-ci.yml b/.github/workflows/oauth_tests-ci.yml index db48feb..3b32ceb 100644 --- a/.github/workflows/oauth_tests-ci.yml +++ b/.github/workflows/oauth_tests-ci.yml @@ -21,19 +21,18 @@ strategy: fail-fast: false - max-parallel: 7 matrix: -python-version: ["pypy3.7", "3.7", "3.8", "3.9", "3.1
[Pywikipedia-bugs] [Maniphest] [Closed] T364692: github doctest action fails for MacOS with Python 3.7 and pypi3.7
Xqt closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T364692 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Xqt, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikibot-commits] [Gerrit] [S] ...core[master]: [tests] Fix yml file for doctest
Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1031300?usp=email ) Change subject: [tests] Fix yml file for doctest .. [tests] Fix yml file for doctest Change-Id: I1c0b6ab791926cd7b9aaa79b26d79d5f03fc6817 --- M .github/workflows/doctest.yml 1 file changed, 9 insertions(+), 6 deletions(-) Approvals: Xqt: Verified; Looks good to me, approved diff --git a/.github/workflows/doctest.yml b/.github/workflows/doctest.yml index 04c3d9a..064b565 100644 --- a/.github/workflows/doctest.yml +++ b/.github/workflows/doctest.yml @@ -21,16 +21,19 @@ strategy: fail-fast: false - max-parallel: 7 + max-parallel: 14 matrix: -os: [windows-latest, macOS-latest, ubuntu-latest] -python-version: [pypy3.7, pypy3.10, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12. 3.13] +os: [ windows-latest, macOS-latest, ubuntu-latest ] +python-version: [ "pypy3.7", "pypy3.10", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12" ] include: - - python-version: 3.14-dev + - python-version: "3.13-dev" + - python-version: "3.14-dev" exclude: - os: macOS-latest -python-version: [pypy3.7, 3.7] +python-version: "pypy3.7" + - os: macOS-latest +python-version: "3.7" steps: - name: Checkout Repository @@ -40,7 +43,7 @@ - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 - if: "!endsWith(matrix.python-version, '-dev') + if: "!endsWith(matrix.python-version, '-dev')" with: python-version: ${{ matrix.python-version }} -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1031300?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Change-Id: I1c0b6ab791926cd7b9aaa79b26d79d5f03fc6817 Gerrit-Change-Number: 1031300 Gerrit-PatchSet: 1 Gerrit-Owner: Xqt Gerrit-Reviewer: Xqt Gerrit-MessageType: merged ___ Pywikibot-commits mailing list -- pywikibot-commits@lists.wikimedia.org To unsubscribe send an email to pywikibot-commits-le...@lists.wikimedia.org
[Pywikibot-commits] [Gerrit] [S] ...core[master]: [tests] include Python 3.14 to doctests, exclude 3.7 from macOS-latest
Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1031186?usp=email ) Change subject: [tests] include Python 3.14 to doctests, exclude 3.7 from macOS-latest .. [tests] include Python 3.14 to doctests, exclude 3.7 from macOS-latest Bug: T364692 Bug: T364812 Change-Id: If4e1ee42a6d052840ca77fffaa7974ef1dcba0ff --- M .github/workflows/doctest.yml 1 file changed, 9 insertions(+), 6 deletions(-) Approvals: Xqt: Verified; Looks good to me, approved diff --git a/.github/workflows/doctest.yml b/.github/workflows/doctest.yml index 6868d6b..04c3d9a 100644 --- a/.github/workflows/doctest.yml +++ b/.github/workflows/doctest.yml @@ -24,10 +24,13 @@ max-parallel: 7 matrix: -os: [ "windows-latest", "macOS-latest", "ubuntu-latest" ] -python-version: ["pypy3.7", "pypy3.10", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] +os: [windows-latest, macOS-latest, ubuntu-latest] +python-version: [pypy3.7, pypy3.10, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12. 3.13] include: - - python-version: "3.13-dev" + - python-version: 3.14-dev +exclude: + - os: macOS-latest +python-version: [pypy3.7, 3.7] steps: - name: Checkout Repository @@ -37,14 +40,14 @@ - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 - if: ${{ matrix.python-version != '3.13-dev' }} + if: "!endsWith(matrix.python-version, '-dev') with: python-version: ${{ matrix.python-version }} -# use deadsnakes/action until actions/setup-python supports Python 3.13 +# use deadsnakes/action for development releases - name: Set up development Python ${{ matrix.python-version }} uses: deadsnakes/action@v3.1.0 - if: ${{ matrix.python-version == '3.13-dev' }} + if: "endsWith(matrix.python-version, '-dev')" with: python-version: ${{ matrix.python-version }} -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1031186?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Change-Id: If4e1ee42a6d052840ca77fffaa7974ef1dcba0ff Gerrit-Change-Number: 1031186 Gerrit-PatchSet: 2 Gerrit-Owner: Xqt Gerrit-Reviewer: Xqt Gerrit-Reviewer: jenkins-bot Gerrit-MessageType: merged ___ Pywikibot-commits mailing list -- pywikibot-commits@lists.wikimedia.org To unsubscribe send an email to pywikibot-commits-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Triaged] T364812: Add Python 3.14 to GitHub action test matrix
Xqt triaged this task as "Low" priority. TASK DETAIL https://phabricator.wikimedia.org/T364812 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Xqt, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Created] T364812: Add Python 3.14 to GitHub action test matrix
Xqt created this task. Xqt added projects: Pywikibot, Pywikibot-tests. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Python 3.14 is under development, see https://docs.python.org/3.14/; add it to our GitHub action test matrix. TASK DETAIL https://phabricator.wikimedia.org/T364812 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Xqt, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Updated] T87014: Generator returns the same pages multiple times each time data is in the requests
Xqt added a project: TestMe. TASK DETAIL https://phabricator.wikimedia.org/T87014 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Dvorapa, Xqt, gerritbot, jayvdb, pywikibot-bugs-list, Mpaa, Aklapper, XZise, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, TerraCodes, Altostratus, Avicennasis, mys_721tx, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Closed] T128981: -logevents command line argument syntax allows specifying limit, however -limit exists for that purpose
Xqt closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T128981 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, jayvdb, pywikibot-bugs-list, mevo, Isabelladantes1983, Themindcoder, Adamm71, Jersione, Hellket777, LisafBia6531, 786, Biggs657, PotsdamLamb, Jyoo1011, JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, joker88john, Viztor, CucyNoiD, Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Dvorapa, Altostratus, Neuronton, Avicennasis, mys_721tx, Xqt, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Closed] T364689: In pywikibot, replace.py script using -regex can't handle null replacements
Xqt closed this task as "Invalid". TASK DETAIL https://phabricator.wikimedia.org/T364689 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, Aklapper, pywikibot-bugs-list, Aram, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org