[Pywikipedia-bugs] [Maniphest] [Closed] T367939: All TestSupersetWithAuth.test_login_and_oauth_permisson of superset_tests fails with ConnectionError
Xqt closed this task as "Resolved". Xqt claimed this task. Xqt added a comment. Seems this is solved upstream TASK DETAIL https://phabricator.wikimedia.org/T367939 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Zache, 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] T367955: TestLoginLogout.setUpClass() of site_login_logout_tests fails on all beta clusters
Xqt closed this task as "Resolved". Xqt claimed this task. Xqt added a subscriber: Ladsgroup. Xqt added a comment. Solved upstream: https://github.com/wikimedia/pywikibot/actions/runs/9576949563 Thank you @Ladsgroup for this quick fix TASK DETAIL https://phabricator.wikimedia.org/T367955 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Ladsgroup, Aklapper, Xqt, pywikibot-bugs-list, mevo, Chqaz, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, CptViraj, Aram, Viztor, DannyS712, Wenyi, Bsandipan, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, TheresNoTime, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Jay8g, 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] T367955: TestLoginLogout.setUpClass() of site_login_logout_tests fails on all beta clusters
Xqt added a comment. Might be related to T367940 <https://phabricator.wikimedia.org/T367940>. Restart jobs again. TASK DETAIL https://phabricator.wikimedia.org/T367955 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Xqt, pywikibot-bugs-list, mevo, Chqaz, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, CptViraj, Aram, Viztor, DannyS712, Wenyi, Bsandipan, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, TheresNoTime, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Jay8g, 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] T367955: TestLoginLogout.setUpClass() of site_login_logout_tests fails on all beta clusters
Xqt added a project: Upstream. TASK DETAIL https://phabricator.wikimedia.org/T367955 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Xqt, pywikibot-bugs-list, mevo, Chqaz, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, CptViraj, Aram, Viztor, DannyS712, Wenyi, Bsandipan, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, TheresNoTime, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Jay8g, 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] T367955: TestLoginLogout.setUpClass() of site_login_logout_tests fails on all beta clusters
Xqt triaged this task as "High" priority. TASK DETAIL https://phabricator.wikimedia.org/T367955 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Xqt, pywikibot-bugs-list, mevo, Chqaz, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, CptViraj, Aram, Viztor, DannyS712, Wenyi, Bsandipan, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, TheresNoTime, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Jay8g, 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] T367955: TestLoginLogout.setUpClass() of site_login_logout_tests fails on all beta clusters
Xqt created this task. Xqt added projects: Pywikibot, Pywikibot-tests, Beta-Cluster-Infrastructure. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION == ERROR: setUpClass (tests.site_login_logout_tests.TestLoginLogout) -- Traceback (most recent call last): File "/home/runner/work/pywikibot/pywikibot/pywikibot/login.py", line 295, in login self.login_to_site() File "/home/runner/work/pywikibot/pywikibot/pywikibot/login.py", line 394, in login_to_site parameters = self._login_parameters( File "/home/runner/work/pywikibot/pywikibot/pywikibot/login.py", line 365, in _login_parameters parameters['logintoken'] = self.site.tokens['login'] File "/home/runner/work/pywikibot/pywikibot/pywikibot/site/_tokenwallet.py", line 46, in __getitem__ self._tokens = self.site.get_tokens([]) File "/home/runner/work/pywikibot/pywikibot/pywikibot/site/_apisite.py", line 1753, in get_tokens pdata = self._paraminfo.parameter('query+tokens', 'type') File "/home/runner/work/pywikibot/pywikibot/pywikibot/data/api/_paraminfo.py", line 349, in parameter module = self[module] File "/home/runner/work/pywikibot/pywikibot/pywikibot/data/api/_paraminfo.py", line 316, in __getitem__ self.fetch({key}) File "/home/runner/work/pywikibot/pywikibot/pywikibot/data/api/_paraminfo.py", line 125, in fetch self._init() File "/home/runner/work/pywikibot/pywikibot/pywikibot/data/api/_paraminfo.py", line 89, in _init self._fetch(self._preloaded_modules) File "/home/runner/work/pywikibot/pywikibot/pywikibot/data/api/_paraminfo.py", line 182, in _fetch result = request.submit() File "/home/runner/work/pywikibot/pywikibot/pywikibot/data/api/_requests.py", line 1314, in submit self._data = super().submit() File "/home/runner/work/pywikibot/pywikibot/pywikibot/data/api/_requests.py", line 1083, in submit if self._internal_api_error(code, error.copy(), result): File "/home/runner/work/pywikibot/pywikibot/pywikibot/data/api/_requests.py", line 939, in _internal_api_error raise e pywikibot.exceptions.APIMWError: internal_api_error_InvalidArgumentException: [ZnKDdh3VgsZg3jbPzTadQEQ] Exception caught: LinksMigration config 769 on pagelinks table is not supported anymore [errorclass: InvalidArgumentException; servedby: deployment-mediawiki11; help: InvalidArgumentException at /srv/mediawiki/php-master/includes/linker/LinksMigration.php(171) from /srv/mediawiki/php-master/includes/linker/LinksMigration.php(171) #0 /srv/mediawiki/php-master/includes/linker/LinksMigration.php(146): MediaWiki\Linker\LinksMigration->assertMapping(string) #1 /srv/mediawiki/php-master/includes/api/ApiQueryBacklinks.php(114): MediaWiki\Linker\LinksMigration->getTitleFields(string) #2 /srv/mediawiki/php-master/vendor/wikimedia/object-factory/src/ObjectFactory.php(240): ApiQueryBacklinks->__construct(ApiQuery, string, MediaWiki\Linker\LinksMigration) #3 /srv/mediawiki/php-master/vendor/wikimedia/object-factory/src/ObjectFactory.php(149): Wikimedia\ObjectFactory\ObjectFactory::getObjectFromSpec(array, array) #4 /srv/mediawiki/php-master/includes/api/ApiModuleManager.php(184): Wikimedia\ObjectFactory\ObjectFactory->createObject(array, array) #5 /srv/mediawiki/php-master/includes/api/ApiModuleManager.php(156): ApiModuleManager->instantiateModule(string, array) #6 /srv/mediawiki/php-master/includes/api/ApiBase.php(660): ApiModuleManager->getModule(string) #7 /srv/mediawiki/php-master/includes/api/ApiBase.php(1995): ApiBase->getModuleFromPath(string) #8 /srv/mediawiki/php-master/includes/api/ApiParamInfo.php(337): ApiBase->getFinalParamDescription() #9 /srv/mediawiki/php-master/includes/api/ApiParamInfo.php(155): ApiParamInfo->getModuleInfo(ApiQuery) #10 /srv/mediawiki/php-master/includes/api/ApiMain.php(1953): ApiParamInfo->execute() #11 /srv/mediawiki/php-master/includes/api/ApiMain.php(929): ApiMain->executeAction() #12 /srv/mediawiki/php-master/includes/api/ApiMain.php(900): ApiMain->executeActionWithErrorHandling() #13 /srv/mediawiki/php-master/includes/api/ApiEntryPoint.php(158): ApiMain->execute() #14 /srv/mediawiki/php-master/includes/MediaWikiEntryPoint.php(200): MediaWiki\Api\ApiEntryPoint->execute() #15 /srv/mediawiki/php-master/api.php(44): MediaWiki\MediaWikiEntryPoint->run() #16 /srv/mediawiki/w/api.php(3): require(string) #17 {main}] During handling of the above exception, another e
[Pywikipedia-bugs] [Maniphest] [Commented On] T367939: All TestSupersetWithAuth.test_login_and_oauth_permisson of superset_tests fails with ConnectionError
Xqt added a comment. In T367939#9906156 <https://phabricator.wikimedia.org/T367939#9906156>, @Zache wrote: > I created a ticket T367945 <https://phabricator.wikimedia.org/T367945> for superset being down. Should we modify the test or wait if it will come back up? I think it depends on how quick is it solved upstream and whether this problem may accur later. The tests can be modified like this to skip the test: def test_login_and_oauth_permisson(self): """Superset login and queries.""" sql = 'SELECT page_id, page_title FROM page LIMIT 2;' site = self.get_site() self.assertTrue(site.logged_in()) # Test login and initial site parameters superset = SupersetQuery(site=site) try: superset.login() except (ConnectionError, NoUsernameError): self.skipTest('Oauth permission is missing.') except ConnectionError as err: self.skipTest(err) TASK DETAIL https://phabricator.wikimedia.org/T367939 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Zache, 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] [Updated] T367939: All TestSupersetWithAuth.test_login_and_oauth_permisson of superset_tests fails with ConnectionError
Xqt added a project: Upstream. Xqt updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T367939 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Zache, 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] [Updated] T367939: All TestSupersetWithAuth.test_login_and_oauth_permisson of superset_tests fails with ConnectionError
Xqt added a subtask: T367945: superset.wmcloud.org down. TASK DETAIL https://phabricator.wikimedia.org/T367939 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Zache, 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] [Triaged] T367939: All TestSupersetWithAuth.test_login_and_oauth_permisson of superset_tests fails with ConnectionError
Xqt triaged this task as "High" priority. Xqt moved this task from Backlog to Test failures on the Pywikibot-tests board. TASK DETAIL https://phabricator.wikimedia.org/T367939 WORKBOARD https://phabricator.wikimedia.org/project/board/107/ EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Zache, 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 ___ 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] T367939: All TestSupersetWithAuth.test_login_and_oauth_permisson of superset_tests fails with ConnectionError
Xqt created this task. Xqt added projects: Pywikibot, Pywikibot-tests. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION == ERROR: test_login_and_oauth_permisson (tests.superset_tests.TestSupersetWithAuth) Superset login and queries. -- Traceback (most recent call last): File "/home/runner/work/pywikibot/pywikibot/tests/superset_tests.py", line 61, in test_login_and_oauth_permisson superset.login() File "/home/runner/work/pywikibot/pywikibot/pywikibot/data/superset.py", line 87, in login self.last_response = http.fetch(url) File "/home/runner/work/pywikibot/pywikibot/pywikibot/comms/http.py", line 457, in fetch callback(response) File "/home/runner/work/pywikibot/pywikibot/pywikibot/comms/http.py", line 327, in error_handling_callback raise ConnectionError(response) ConnectionError: HTTPSConnectionPool(host='superset.wmcloud.org', port=443): Max retries exceeded with url: /login/mediawiki?next= (Caused by NameResolutionError(": Failed to resolve 'superset.wmcloud.org' ([Errno -2] Name or service not known)")) -- TASK DETAIL https://phabricator.wikimedia.org/T367939 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Zache, 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 ___ 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] T367777: TestFilePageDataItem.test_data_item_when_file_exist_but_without_item of file_tests fails recently
Xqt closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T36 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Zache, 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 ___ 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] T367684: Add superset query service as pywikibot generator
Xqt closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T367684 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Zache, Xqt Cc: Xqt, Aklapper, pywikibot-bugs-list, Zache, 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] [Started] T367777: TestFilePageDataItem.test_data_item_when_file_exist_but_without_item of file_tests fails recently
Xqt claimed this task. Xqt changed the task status from "Open" to "In Progress". TASK DETAIL https://phabricator.wikimedia.org/T36 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 ___ 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] T367777: TestFilePageDataItem.test_data_item_when_file_exist_but_without_item of file_tests fails recently
Xqt updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T36 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 ___ 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] T367777: TestFilePageDataItem.test_data_item_when_file_exist_but_without_item of file_tests fails recently
Xqt triaged this task as "High" priority. Xqt changed the subtype of this task from "Task" to "Bug Report". TASK DETAIL https://phabricator.wikimedia.org/T36 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 ___ 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] T367777: TestFilePageDataItem.test_data_item_when_file_exist_but_without_item of file_tests fails recently
Xqt created this task. Xqt added projects: Pywikibot, Pywikibot-tests. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Test was introduced with rPWBC92ad39a <https://phabricator.wikimedia.org/rPWBC92ad39a4d262f765c531ba8917e3aa50b60fb6d8> due to T348422 <https://phabricator.wikimedia.org/T348422> months ago but now it fails. Seems there are no pages found without 'mediainfo' wohtin the first 5 pages D:\pwb\GIT\core>py -3.11 -m pwb file_tests -v TestFilePageDataItem.test_data_item_when_file_exist_but_without_item tests: max_retries reduced from 15 to 3 test_data_item_when_file_exist_but_without_item (__main__.TestFilePageDataItem.test_data_item_when_file_exist_but_without_item) Test if data item is missing from file. ... ERROR == ERROR: test_data_item_when_file_exist_but_without_item (__main__.TestFilePageDataItem.test_data_item_when_file_exist_but_without_item) Test if data item is missing from file. -- Traceback (most recent call last): File "D:\pwb\GIT\core\tests\file_tests.py", line 429, in test_data_item_when_file_exist_but_without_item item = page.data_item() UnboundLocalError: cannot access local variable 'page' where it is not associated with a value -- Ran 1 test in 3.059s FAILED (errors=1) TASK DETAIL https://phabricator.wikimedia.org/T36 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 ___ 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 "[9.2] Publish Pywikibot 9.2"
Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1046711?usp=email ) Change subject: Revert "[9.2] Publish Pywikibot 9.2" .. Revert "[9.2] Publish Pywikibot 9.2" This reverts commit 7564bfde26e9237033886d60ab16bf316208903a. Reason for revert: stable failed Change-Id: I078335ed186f44d0837cc10edab3540b1d63d479 --- M pywikibot/__metadata__.py 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Xqt: Verified; Looks good to me, approved diff --git a/pywikibot/__metadata__.py b/pywikibot/__metadata__.py index be801c8..6e5a9d0 100644 --- a/pywikibot/__metadata__.py +++ b/pywikibot/__metadata__.py @@ -12,6 +12,6 @@ from time import strftime -__version__ = '9.2.0' +__version__ = '9.2.0.dev3' __url__ = 'https://www.mediawiki.org/wiki/Manual:Pywikibot' __copyright__ = f'2003-{strftime("%Y")}, Pywikibot team' -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1046711?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Change-Id: I078335ed186f44d0837cc10edab3540b1d63d479 Gerrit-Change-Number: 1046711 Gerrit-PatchSet: 1 Gerrit-Owner: Xqt Gerrit-Reviewer: Xqt Gerrit-Reviewer: jenkins-bot ___ 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]: [9.2] Publish Pywikibot 9.2
Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1046694?usp=email ) Change subject: [9.2] Publish Pywikibot 9.2 .. [9.2] Publish Pywikibot 9.2 Change-Id: If81d19966b886cd6913d6c74ad1bf9f0bb24ba71 --- M pywikibot/__metadata__.py 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified diff --git a/pywikibot/__metadata__.py b/pywikibot/__metadata__.py index 6e5a9d0..be801c8 100644 --- a/pywikibot/__metadata__.py +++ b/pywikibot/__metadata__.py @@ -12,6 +12,6 @@ from time import strftime -__version__ = '9.2.0.dev3' +__version__ = '9.2.0' __url__ = 'https://www.mediawiki.org/wiki/Manual:Pywikibot' __copyright__ = f'2003-{strftime("%Y")}, Pywikibot team' -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1046694?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Change-Id: If81d19966b886cd6913d6c74ad1bf9f0bb24ba71 Gerrit-Change-Number: 1046694 Gerrit-PatchSet: 1 Gerrit-Owner: Xqt Gerrit-Reviewer: Xqt Gerrit-Reviewer: jenkins-bot ___ 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] T367684: Add superset query service as pywikibot generator
Xqt changed the subtype of this task from "Task" to "Feature Request". Xqt triaged this task as "Low" priority. Xqt added a comment. Looks like it could be implemented similar to [https://doc.wikimedia.org/pywikibot/master/search.html?q=sparql_keywords=yes=default#||sparql]] or mysql <https://doc.wikimedia.org/pywikibot/master/search.html?q=mysql_keywords=yes=default#> TASK DETAIL https://phabricator.wikimedia.org/T367684 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Zache, Xqt Cc: Xqt, Aklapper, pywikibot-bugs-list, Zache, 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
[Pywikibot-commits] [Gerrit] ...core[master]: [tests] remove experimental flag from sysop_write_tests-ci.yml
Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1045751?usp=email ) Change subject: [tests] remove experimental flag from sysop_write_tests-ci.yml .. [tests] remove experimental flag from sysop_write_tests-ci.yml All tests are either solved or expected to fail. Also remove coverage statistics report because this is already done by pytest Change-Id: I457e5655e2c940d2f33842d3e5041b1e8f8e5d46 --- M .github/workflows/sysop_write_tests-ci.yml 1 file changed, 0 insertions(+), 5 deletions(-) Approvals: Xqt: Verified; Looks good to me, approved diff --git a/.github/workflows/sysop_write_tests-ci.yml b/.github/workflows/sysop_write_tests-ci.yml index fd47a94..6d692cb 100644 --- a/.github/workflows/sysop_write_tests-ci.yml +++ b/.github/workflows/sysop_write_tests-ci.yml @@ -26,7 +26,6 @@ python-version: [ "3.7" ] site: [ "wikipedia:test" ] attr: [ "write and not rights", "write and rights", "rights and not write" ] -experimental: [ true ] steps: - name: Checkout Repository @@ -68,10 +67,6 @@ python pwb.py version pytest -s -r A -a "${{ matrix.attr }}" --cov=.; -- name: Show coverage statistics - run: | -coverage report - - name: Upload coverage to Codecov uses: codecov/codecov-action@v4 env: -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1045751?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Change-Id: I457e5655e2c940d2f33842d3e5041b1e8f8e5d46 Gerrit-Change-Number: 1045751 Gerrit-PatchSet: 1 Gerrit-Owner: Xqt Gerrit-Reviewer: Xqt ___ 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] split write tests into tasks
Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1045543?usp=email ) Change subject: [tests] split write tests into tasks .. [tests] split write tests into tasks Change-Id: I4e72fc4200053e16c1a70b28f396ab42501a5e28 --- M .github/workflows/sysop_write_tests-ci.yml 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Xqt: Verified; Looks good to me, approved diff --git a/.github/workflows/sysop_write_tests-ci.yml b/.github/workflows/sysop_write_tests-ci.yml index 71badcf..fd47a94 100644 --- a/.github/workflows/sysop_write_tests-ci.yml +++ b/.github/workflows/sysop_write_tests-ci.yml @@ -25,7 +25,7 @@ matrix: python-version: [ "3.7" ] site: [ "wikipedia:test" ] -attr: [ "write", "rights and not write" ] +attr: [ "write and not rights", "write and rights", "rights and not write" ] experimental: [ true ] steps: -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1045543?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Change-Id: I4e72fc4200053e16c1a70b28f396ab42501a5e28 Gerrit-Change-Number: 1045543 Gerrit-PatchSet: 1 Gerrit-Owner: Xqt Gerrit-Reviewer: Xqt ___ 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] rename write tests action
Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1045542?usp=email ) Change subject: [tests] rename write tests action .. [tests] rename write tests action Change-Id: I923031bd1ce65ec9134912f15667a47ba1d10494 --- R .github/workflows/sysop_write_tests-ci.yml 1 file changed, 0 insertions(+), 0 deletions(-) Approvals: jenkins-bot: Verified Xqt: Verified; Looks good to me, approved diff --git a/.github/workflows/write_tests-ci.yml b/.github/workflows/sysop_write_tests-ci.yml similarity index 100% rename from .github/workflows/write_tests-ci.yml rename to .github/workflows/sysop_write_tests-ci.yml -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1045542?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Change-Id: I923031bd1ce65ec9134912f15667a47ba1d10494 Gerrit-Change-Number: 1045542 Gerrit-PatchSet: 1 Gerrit-Owner: Xqt Gerrit-Reviewer: Xqt Gerrit-Reviewer: jenkins-bot ___ 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] split write tests in two tasks
Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1045535?usp=email ) Change subject: [tests] split write tests in two tasks .. [tests] split write tests in two tasks Change-Id: If08fe6669f88cb780c21d11fbc4c594d3aed7d1e --- M .github/workflows/write_tests-ci.yml 1 file changed, 6 insertions(+), 5 deletions(-) Approvals: Xqt: Verified; Looks good to me, approved diff --git a/.github/workflows/write_tests-ci.yml b/.github/workflows/write_tests-ci.yml index 6e6a661..71badcf 100644 --- a/.github/workflows/write_tests-ci.yml +++ b/.github/workflows/write_tests-ci.yml @@ -1,5 +1,5 @@ -name: Write test CI -# Run Pywikibot write tests on test wiki +name: Sysop write test CI +# Run Pywikibot write tests on test wiki using sysop rights on: push: @@ -25,6 +25,7 @@ matrix: python-version: [ "3.7" ] site: [ "wikipedia:test" ] +attr: [ "write", "rights and not write" ] experimental: [ true ] steps: @@ -57,15 +58,15 @@ echo "password_file = os.path.expanduser('passwordfile')" >> user-config.py echo "('${{ env.PYWIKIBOT_USERNAME }}', '${{ secrets.PYWIKIBOT_USERPWD }}')" > passwordfile -- name: Write tests with pytest +- name: Sysop and write tests with pytest id: ci_test continue-on-error: true timeout-minutes: 90 env: -PYWIKIBOT_TEST_WRITE: ${{ matrix.site == 'wikipedia:test' && 1 || 0}} +PYWIKIBOT_TEST_WRITE: ${{ matrix.site == 'wikipedia:test' && 1 || 0 }} run: | python pwb.py version -pytest -s -r A -a "rights or write" --cov=.; +pytest -s -r A -a "${{ matrix.attr }}" --cov=.; - name: Show coverage statistics run: | -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1045535?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Change-Id: If08fe6669f88cb780c21d11fbc4c594d3aed7d1e Gerrit-Change-Number: 1045535 Gerrit-PatchSet: 1 Gerrit-Owner: Xqt Gerrit-Reviewer: Xqt Gerrit-CC: jenkins-bot ___ Pywikibot-commits mailing list -- pywikibot-commits@lists.wikimedia.org To unsubscribe send an email to pywikibot-commits-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Unblock] T334053: Use only one entry point for all http requests
Xqt closed subtask T367649: http.get_authentication() uses private requests.util.urlparse() function as Resolved. TASK DETAIL https://phabricator.wikimedia.org/T334053 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] T367649: http.get_authentication() uses private requests.util.urlparse() function
Xqt closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T367649 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] [Edited] T367649: http.get_authentication() uses private requests.util.urlparse() function
Xqt updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T367649 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] [Triaged] T367649: http.get_authentication() uses private requests.util.urlparse() function
Xqt triaged this task as "Low" priority. TASK DETAIL https://phabricator.wikimedia.org/T367649 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] [Updated] T367649: http.get_authentication() uses private requests.util.urlparse() function
Xqt added a parent task: T334053: Use only one entry point for all http requests. TASK DETAIL https://phabricator.wikimedia.org/T367649 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] [Updated] T334053: Use only one entry point for all http requests
Xqt added a subtask: T367649: http.get_authentication() uses private requests.util.urlparse() function. TASK DETAIL https://phabricator.wikimedia.org/T334053 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] T367649: http.get_authentication() uses private requests.util.urlparse() function
Xqt created this task. Xqt added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION `comms.http.get_authentication()` uses `requests.util.urlparse()` function which is not member of the public API. `urllib.parse.urlparse` should be used instead. TASK DETAIL https://phabricator.wikimedia.org/T367649 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] [Unblock] T367260: Write test CI github action has ~ 22 failing tests or errors
Xqt closed subtask T367259: TestProtectionBot.test_summary() of protectbot_tests fails with AssertionError as Resolved. TASK DETAIL https://phabricator.wikimedia.org/T367260 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 ___ 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] T367259: TestProtectionBot.test_summary() of protectbot_tests fails with AssertionError
Xqt closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T367259 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 ___ 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] T353387: Suggest installing requests_oauthlib instead of throwing NoUsernameError
Xqt closed this task as "Resolved". 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, Isabelladantes1983, LAVANYANELLURI, ajaypediredla14, Themindcoder, Adamm71, Jainitbafna, Hellket777, LisafBia6531, 786, Biggs657, AFZL210, Gaurav24072002, Abhinay76, PotsdamLamb, Annysah01, Rohitgeddam, Jyoo1011, JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Soda, Chaytanya, Zkhalido, JorisDarlingtonQuarshie, Hook696, wiki-helenatxu, Kent7301, Aram, Viztor, CucyNoiD, Klein, Wenyi, Tks4Fish, Gaboe420, Mh-3110, Giuliamocci, Cpaulf30, Lahi, Af420, Bsandipan, JakeTheDeveloper, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Dvorapa, xSavitar, Altostratus, Neuronton, 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
[Pywikipedia-bugs] [Maniphest] [Updated] T367259: TestProtectionBot.test_summary() of protectbot_tests fails with AssertionError
Xqt removed a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T367259 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, Isabelladantes1983, Themindcoder, Adamm71, Hellket777, LisafBia6531, 786, Biggs657, Juan90264, Alter-paule, Beast1978, Un1tY, Hook696, Kent7301, CucyNoiD, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Lewizho99, Maathavan, Neuronton ___ 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] T129368: Usages of unittest.expectedFailure or unittest.skip should be solved (goal)
Xqt added a subtask: T367303: TestFlowHide.test_hide() of flow_edit_tests fails with timeout. TASK DETAIL https://phabricator.wikimedia.org/T129368 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Dvorapa, Mpaa, gerritbot, valhallasw, jayvdb, Aklapper, Xqt, pywikibot-bugs-list, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Altostratus, binbot, 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] [Updated] T367303: TestFlowHide.test_hide() of flow_edit_tests fails with timeout
Xqt added a parent task: T129368: Usages of unittest.expectedFailure or unittest.skip should be solved (goal). TASK DETAIL https://phabricator.wikimedia.org/T367303 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, happy5214, 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 ___ 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] T367259: TestProtectionBot.test_summary() of protectbot_tests fails with AssertionError
Xqt reopened this task as "Open". Xqt added a comment. Reopened. Now the result is like it was before. TASK DETAIL https://phabricator.wikimedia.org/T367259 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 ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikipedia-bugs] [Maniphest] [Block] T367260: Write test CI github action has ~ 22 failing tests or errors
Xqt reopened subtask T367259: TestProtectionBot.test_summary() of protectbot_tests fails with AssertionError as Open. TASK DETAIL https://phabricator.wikimedia.org/T367260 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 ___ 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] T367518: TestScriptGenerator.test_illustrate_wikidata fails with AssertionError
Xqt closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T367518 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] [Started] T367518: TestScriptGenerator.test_illustrate_wikidata fails with AssertionError
Xqt triaged this task as "High" priority. Xqt changed the task status from "Open" to "In Progress". Xqt claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T367518 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 ___ 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] T367518: TestScriptGenerator.test_illustrate_wikidata fails with AssertionError
Xqt created this task. Xqt added projects: Pywikibot, Pywikibot-tests. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION TestScriptGenerator.test_illustrate_wikidata fails with AssertionError for few days: == FAIL: test_illustrate_wikidata (tests.script_tests.TestScriptGenerator) Test running illustrate_wikidata -simulate -page:Foobar -always -site:wikipedia:en. -- Traceback (most recent call last): File "/home/runner/work/pywikibot/pywikibot/tests/script_tests.py", line 243, in test_script self.assertIn(error, err_result) AssertionError: 'Script terminated successfully' not found in 'WARNING: IllustrateRobot.__init__ set the Bot.site property; this is only needed when the Bot accesses many sites.\nRetrieving 1 pages from wikipedia:en.\nFound Q860\nAdding P18 --> [[commons:File:TC-dbl.PNG]]\nDo you want to accept these changes? ([y]es, [N]o, [a]ll, [q]uit): \n1 read operation\nExecution time: \nRead operation time: 0.0 seconds\nScript terminated by exception:\n\nERROR: EOF when reading a line (EOFError)\nTraceback (most recent call last):\n File "/home/runner/work/pywikibot/pywikibot/pwb.py", line 40, in \n sys.exit(main())\n File "/home/runner/work/pywikibot/pywikibot/pwb.py", line 36, in main\nrunpy.run_path(str(path), run_name=\'__main__\')\n File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/runpy.py", line 265, in run_path\nreturn _run_module_code(code, init_globals, run_name,\n File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/runpy.py", line 97, in _run_module_code\n_run_code(code, mod_globals, init_globals,\n File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/runpy.py", line 87, in _run_code\nexec(code, run_globals)\n File "/home/runner/work/pywikibot/pywikibot/pywikibot/scripts/wrapper.py", line 521, in \nmain()\n File "/home/runner/work/pywikibot/pywikibot/pywikibot/scripts/wrapper.py", line 505, in main\nif not execute():\n File "/home/runner/work/pywikibot/pywikibot/pywikibot/scripts/wrapper.py", line 492, in execute\nrun_python_file(filename, script_args, module)\n File "/home/runner/work/pywikibot/pywikibot/pywikibot/scripts/wrapper.py", line 149, in run_python_file\nexec(compile(source, filename, \'exec\', dont_inherit=True),\n File "/home/runner/work/pywikibot/pywikibot/scripts/illustrate_wikidata.py", line 108, in \nmain()\n File "/home/runner/work/pywikibot/pywikibot/scripts/illustrate_wikidata.py", line 104, in main\nbot.run()\n File "/home/runner/work/pywikibot/pywikibot/pywikibot/bot.py", line 1669, in run\n super().run()\n File "/home/runner/work/pywikibot/pywikibot/pywikibot/bot.py", line 1581, in run\n self.treat(page)\n File "/home/runner/work/pywikibot/pywikibot/pywikibot/bot.py", line 1834, in treat\n self.treat_page()\n File "/home/runner/work/pywikibot/pywikibot/pywikibot/bot.py", line 2346, in treat_page\nself.treat_page_and_item(page, item)\n File "/home/runner/work/pywikibot/pywikibot/scripts/illustrate_wikidata.py", line 75, in treat_page_and_item\nself.user_add_claim(item, newclaim, page.site)\n File "/home/runner/work/pywikibot/pywikibot/pywikibot/bot.py", line 2148, in user_add_claim\nreturn self._save_page(item, item.addClaim, claim, bot=bot, **kwargs)\n File "/home/runner/work/pywikibot/pywikibot/pywikibot/bot.py", line 1315, in _save_page\nif not self.user_confirm(\'Do you want to accept these changes?\'):\n File "/home/runner/work/pywikibot/pywikibot/pywikibot/bot.py", line 1238, in user_confirm\nchoice = pywikibot.input_choice(question,\n File "/home/runner/work/pywikibot/pywikibot/pywikibot/bot.py", line 549, in wrapper\nreturn function(*args, **kwargs)\n File "/home/runner/work/pywikibot/pywikibot/pywikibot/bot.py", line 601, in input_choice\nreturn ui.input_choice(question, answers, default, return_shortcut,\n File "/home/runner/work/pywikibot/pywikibot/pywikibot/userinterfaces/terminal_interface_base.py", line 504, in input_choice\nanswer = self.input(output) or default\n File "/home/runner/work/pywikibot/pywikibot/pywikibot/userinterfaces/terminal_interface_base.py", line 391, in input\ntext = self._input_reraise_cntl_c(password)\n File "/home/runner/work/pywikibot/pywikibot/pywikibot/userinterfaces/terminal_interface_base.py", line 411, in _input_reraise_cntl_c\ntext = self._raw_input()\n File "/home/runner/work/pywikibot/pywikibot/pywikibot/userinterfaces/terminal_interface_base.py",
[Pywikipedia-bugs] [Maniphest] [Commented On] T367323: TestWikibaseWriteGeneral.test_edit_entity_new_property() of wikibase_edit_tests fails with OtherPageSaveError
Xqt added a comment. The property already exists with https://test.wikidata.org/wiki/Property:P93593 and cannot be re-created. The current test implementation is not very usefull. One may delete the property first to re-create it or just change the description or sth like that. TASK DETAIL https://phabricator.wikimedia.org/T367323 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: 813gan, 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 ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org
[Pywikibot-commits] [Gerrit] ...i18n[master]: build: Updating braces to 3.0.3
Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/i18n/+/1042466?usp=email ) Change subject: build: Updating braces to 3.0.3 .. build: Updating braces to 3.0.3 * https://github.com/advisories/GHSA-grv7-fg5c-xmjg Change-Id: I1d5f7f6936805df335e540528e15e30c13d8a3ba --- M package-lock.json 1 file changed, 15 insertions(+), 14 deletions(-) Approvals: Xqt: Looks good to me, approved Libraryupgrader: Checked jenkins-bot: Verified diff --git a/package-lock.json b/package-lock.json index 0140890..17d8065 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4,6 +4,7 @@ "requires": true, "packages": { "": { + "name": "repo", "devDependencies": { "grunt": "1.6.1", "grunt-banana-checker": "0.13.0" @@ -83,12 +84,12 @@ } }, "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz;, - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz;, + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "dev": true, "dependencies": { - "fill-range": "^7.0.1" + "fill-range": "^7.1.1" }, "engines": { "node": ">=8" @@ -208,9 +209,9 @@ "dev": true }, "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz;, - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz;, + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "dev": true, "dependencies": { "to-regex-range": "^5.0.1" @@ -1177,12 +1178,12 @@ } }, "braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz;, - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz;, + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "dev": true, "requires": { - "fill-range": "^7.0.1" + "fill-range": "^7.1.1" } }, "chalk": { @@ -1268,9 +1269,9 @@ "dev": true }, "fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz;, - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz;, + "integrity":
[Pywikipedia-bugs] [Maniphest] [Retitled] T367320: TestUpload.test_png_chunked() of upload_tests fails with duplicate error
Xqt renamed this task from "TestUpload.test_png_chunked() of upload_tests fails with duplocate error" to "TestUpload.test_png_chunked() of upload_tests fails with duplicate error". TASK DETAIL https://phabricator.wikimedia.org/T367320 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: jayvdb, 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, 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] T129368: Usages of unittest.expectedFailure or unittest.skip should be solved (goal)
Xqt added a subtask: T367260: Write test CI github action has ~ 22 failing tests or errors. TASK DETAIL https://phabricator.wikimedia.org/T129368 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Dvorapa, Mpaa, gerritbot, valhallasw, jayvdb, Aklapper, Xqt, pywikibot-bugs-list, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Altostratus, binbot, 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] [Updated] T367260: Write test CI github action has ~ 22 failing tests or errors
Xqt added a parent task: T129368: Usages of unittest.expectedFailure or unittest.skip should be solved (goal). TASK DETAIL https://phabricator.wikimedia.org/T367260 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 ___ 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] T367260: Write test CI github action has ~ 22 failing tests or errors
Xqt added a subtask: T133288: Fix test for TestUpload and remove expectedFailure decorator. TASK DETAIL https://phabricator.wikimedia.org/T367260 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 ___ 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] T133288: Fix test for TestUpload and remove expectedFailure decorator
Xqt added a parent task: T367260: Write test CI github action has ~ 22 failing tests or errors. TASK DETAIL https://phabricator.wikimedia.org/T133288 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: jayvdb, Aklapper, XZise, 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, 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] [Unblock] T367260: Write test CI github action has ~ 22 failing tests or errors
Xqt closed subtask T367296: TestSiteSysopWrite.test_protect_exception() of site_tests fails with Error as Resolved. TASK DETAIL https://phabricator.wikimedia.org/T367260 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 ___ 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] T367296: TestSiteSysopWrite.test_protect_exception() of site_tests fails with Error
Xqt closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T367296 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] [Triaged] T367327: TestWikibaseMakeClaim.test_WbTabularData_edit() of wikibase_edit_tests fails with ValueError
Xqt triaged this task as "High" priority. TASK DETAIL https://phabricator.wikimedia.org/T367327 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Lokal_Profil, 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 ___ 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] T367260: Write test CI github action has ~ 22 failing tests or errors
Xqt added a subtask: T367327: TestWikibaseMakeClaim.test_WbTabularData_edit() of wikibase_edit_tests fails with ValueError. TASK DETAIL https://phabricator.wikimedia.org/T367260 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 ___ 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] T367327: TestWikibaseMakeClaim.test_WbTabularData_edit() of wikibase_edit_tests fails with ValueError
Xqt added a parent task: T367260: Write test CI github action has ~ 22 failing tests or errors. TASK DETAIL https://phabricator.wikimedia.org/T367327 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Lokal_Profil, 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 ___ 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] T367327: TestWikibaseMakeClaim.test_WbTabularData_edit() of wikibase_edit_tests fails with ValueError
Xqt created this task. Xqt added projects: Pywikibot, Pywikibot-tests. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION TestWikibaseMakeClaim.test_WbTabularData_edit _ self = def test_WbTabularData_edit(self): """Attempt adding a tabular-data with valid input.""" # Clean the slate in preparation for test. testsite = self.get_repo() item = self._clean_item(testsite, 'P30175') # set new claim claim = pywikibot.page.Claim( testsite, 'P30175', datatype='tabular-data') commons_site = pywikibot.Site('commons') page = pywikibot.Page(commons_site, 'Data:Bea.gov/GDP by state.tab') > target = pywikibot.WbGeoShape(page) tests/wikibase_edit_tests.py:407: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pywikibot/_wbtypes.py:1062: in __init__ specifics['label']) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ page = Page('Data:Bea.gov/GDP by state.tab') data_site = DataSite("commons", "commons"), ending = '.map', label = 'geo-shape' @staticmethod def _validate(page: pywikibot.Page, data_site: BaseSite, ending: str, label: str) -> None: """ Validate the provided page against general and type specific rules. :param page: Page containing the data. :param data_site: The site serving as a repository for the given data type. :param ending: Required filetype-like ending in page titles. E.g. '.map' :param label: Label describing the data type in error messages. """ if not isinstance(page, pywikibot.Page): raise ValueError(f'Page {page} must be a pywikibot.Page object ' f'not a {type(page)}.') # validate page exists if not page.exists(): raise ValueError(f'Page {page} must exist.') # validate page is on the right site, and that site supports the type if not data_site: raise ValueError( f'The provided site does not support {label}.') if page.site != data_site: raise ValueError( f'Page must be on the {label} repository site.') # validate page title fulfills hard-coded Wikibase requirement # pcre regexp: '/^Data:[^\\[\\]#\\\:{|}]+\.map$/u' for geo-shape # pcre regexp: '/^Data:[^\\[\\]#\\\:{|}]+\.tab$/u' for tabular-data # As we have already checked for existence the following simplified # check should be enough. if not page.title().startswith('Data:') \ or not page.title().endswith(ending): raise ValueError( "Page must be in 'Data:' namespace and end in '{}' " > 'for {}.'.format(ending, label)) E ValueError: Page must be in 'Data:' namespace and end in '.map' for geo-shape. pywikibot/_wbtypes.py:1049: ValueError TASK DETAIL https://phabricator.wikimedia.org/T367327 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Lokal_Profil, 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 ___ 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] T367326: TestWikibaseMakeClaim.test_Coordinate_edit() of wikibase_edit_tests fails with missing required field "precision"
Xqt triaged this task as "High" priority. Xqt added a project: Pywikibot-tests. TASK DETAIL https://phabricator.wikimedia.org/T367326 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Lokal_Profil, 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 ___ 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] T367260: Write test CI github action has ~ 22 failing tests or errors
Xqt added a subtask: T367326: TestWikibaseMakeClaim.test_Coordinate_edit() of wikibase_edit_tests fails with missing required field "precision". TASK DETAIL https://phabricator.wikimedia.org/T367260 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 ___ 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] T367326: TestWikibaseMakeClaim.test_Coordinate_edit() of wikibase_edit_tests fails with missing required field "precision"
Xqt added a parent task: T367260: Write test CI github action has ~ 22 failing tests or errors. TASK DETAIL https://phabricator.wikimedia.org/T367326 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Lokal_Profil, Xqt, 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] T367326: TestWikibaseMakeClaim.test_Coordinate_edit() of wikibase_edit_tests fails with missing required field "precision"
Xqt created this task. Xqt added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION __ TestWikibaseMakeClaim.test_Coordinate_edit __ func = self = ItemPage('Q68') args = (Claim.fromJSON(DataSite("test", "wikidata"), {'mainsnak': {'snaktype': 'value', 'property': 'P20480', 'datatype': 'gl...type': 'globecoordinate'}}, 'type': 'statement', 'id': 'Q68$d8450805-71d2-4cbf-9421-22da1b43656a', 'rank': 'normal'}),) kwargs = {}, do_async = False, callback = None err = APIError("modification-failed", "Missing required field "precision"", {'param': 'action=wbsetclaim=%7B%22mainsna...postorius/lists/mediawiki-api-announce.lists.wikimedia.org/ for notice of API deprecations and breaking changes.'}) link = '[[wikidata:test:Q68]]' def handle(func, self, *args, **kwargs): do_async = kwargs.pop('asynchronous', False) callback = kwargs.pop('callback', None) err = None try: > func(self, *args, **kwargs) pywikibot/page/_decorators.py:32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pywikibot/page/_wikibase.py:905: in addClaim self.repo.addClaim(self, claim, bot=bot, **kwargs) pywikibot/site/_decorators.py:93: in callee return fn(self, *args, **kwargs) pywikibot/site/_datasite.py:353: in addClaim data = req.submit() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = pywikibot.data.api._requests.Request'/w/api.php?action=wbsetclaim={"mainsnak":+{"snaktype":+"val...k":+"normal"}=671327==user=5=json=4ff9ea4506dfdd5ae729db08bcadaa1e66693ab1+\'> def submit(self) -> dict: """Submit a query and parse the response. .. versionchanged:: 8.0.4 in addition to *readapidenied* also try to login when API response is *notloggedin*. .. versionchanged:: 9.0 Raise :exc:`exceptions.APIError` if the same error comes twice in a row within the loop. :return: a dict containing data retrieved from api.php """ self._add_defaults() use_get = self._use_get() retries = 0 self.last_error = dict.fromkeys(['code', 'info']) while True: paramstring = self._http_param_string() simulate = self._simulate(self.action) if simulate: return simulate if self.throttle: self.site.throttle(write=self.write) else: pywikibot.log( f"Submitting unthrottled action '{self.action}'.") use_get, uri, body, headers = self._get_request_params(use_get, paramstring) response, use_get = self._http_request(use_get, uri, body, headers, paramstring) if response is None: continue result = self._json_loads(response) if result is None: continue if self._userinfo_query(result): continue if self._handle_warnings(result): continue if 'error' not in result: return result error = result['error'] for key in result: if key in ('error', 'warnings'): continue assert key not in error error[key] = result[key] if '*' in error: # help text returned error['help'] = error.pop('*') code = error.setdefault('code', 'Unknown') info = error.setdefault('info', None) if (code == self.last_error['code'] and info == self.last_error['info']): raise pywikibot.exceptions.APIError(**self.last_error) self.last_error = error if not self._logged_in(code): continue if code == 'maxlag': retries += 1 if retries > max(5, pywikibot.config.max_retries): break pywikibot.log('Pausing due to database lag: ' + info) try: lag = error['lag']
[Pywikipedia-bugs] [Maniphest] [Triaged] T367324: TestWikibaseWriteGeneral.test_edit_entity_propogation() of wikibase_edit_tests fails with AssertionError
Xqt triaged this task as "High" priority. TASK DETAIL https://phabricator.wikimedia.org/T367324 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, RPI2026F1, 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 ___ 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] T367260: Write test CI github action has ~ 22 failing tests or errors
Xqt added a subtask: T367324: TestWikibaseWriteGeneral.test_edit_entity_propogation() of wikibase_edit_tests fails with AssertionError. TASK DETAIL https://phabricator.wikimedia.org/T367260 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 ___ 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] T367324: TestWikibaseWriteGeneral.test_edit_entity_propogation() of wikibase_edit_tests fails with AssertionError
Xqt added a parent task: T367260: Write test CI github action has ~ 22 failing tests or errors. TASK DETAIL https://phabricator.wikimedia.org/T367324 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, RPI2026F1, 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 ___ 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] T367324: TestWikibaseWriteGeneral.test_edit_entity_propogation() of wikibase_edit_tests fails with AssertionError
Xqt created this task. Xqt added projects: Pywikibot, Pywikibot-tests. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION TestWikibaseWriteGeneral.test_edit_entity_propogation _ self = def test_edit_entity_propogation(self): """Test that ``ItemPage.editEntity`` propagates changes to claims.""" testsite = self.get_repo() item = pywikibot.ItemPage(testsite) claim = pywikibot.Claim(testsite, 'P97339') claim.setTarget('test') qual = pywikibot.Claim(testsite, 'P97339') qual.setTarget('test') ref = pywikibot.Claim(testsite, 'P97339') ref.setTarget('test') claim.addQualifier(qual) claim.addSource(ref) item.editEntity() > self.assertIsNotNone(claim.snak) E AssertionError: unexpectedly None TASK DETAIL https://phabricator.wikimedia.org/T367324 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, RPI2026F1, 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 ___ 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] T367323: TestWikibaseWriteGeneral.test_edit_entity_new_property() of wikibase_edit_tests fails with OtherPageSaveError
Xqt triaged this task as "High" priority. TASK DETAIL https://phabricator.wikimedia.org/T367323 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: 813gan, 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 ___ 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] T367323: TestWikibaseWriteGeneral.test_edit_entity_new_property() of wikibase_edit_tests fails with OtherPageSaveError
Xqt added a parent task: T36726: Link "Upload a new version of this file" should be relative. TASK DETAIL https://phabricator.wikimedia.org/T367323 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: 813gan, 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 ___ 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] T367323: TestWikibaseWriteGeneral.test_edit_entity_new_property() of wikibase_edit_tests fails with OtherPageSaveError
Xqt created this task. Xqt added projects: Pywikibot, Pywikibot-tests. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION TestWikibaseWriteGeneral.test_edit_entity_new_property func = self = PropertyPage('Property:-1') args = ({'descriptions': {'en': {'language': 'en', 'value': 'Pywikibot test new property - 1718172266.6584291'}}, 'labels': {'en': {'language': 'en', 'value': 'Pywikibot test new property'}}},) kwargs = {}, do_async = False, callback = None err = APIError("failed-save", "The save has failed.", {'param': 'new=property=wbeditentity=1=%7B%22labels%22...postorius/lists/mediawiki-api-announce.lists.wikimedia.org/ for notice of API deprecations and breaking changes.'}) link = '[[wikidata:test:Property:-1]]' def handle(func, self, *args, **kwargs): do_async = kwargs.pop('asynchronous', False) callback = kwargs.pop('callback', None) err = None try: > func(self, *args, **kwargs) pywikibot/page/_decorators.py:32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pywikibot/page/_wikibase.py:812: in editEntity super().editEntity(data, **kwargs) pywikibot/page/_wikibase.py:326: in editEntity self, data, baserevid=baserevid, **kwargs) pywikibot/site/_decorators.py:93: in callee return fn(self, *args, **kwargs) pywikibot/site/_datasite.py:328: in editEntity return req.submit() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = pywikibot.data.api._requests.Request'/w/api.php?new=property=wbeditentity=1={"labels":...6.6584291"}},+"datatype":+"string"}=user=5=json=c59b754766064550ef58d8f65fa521f866693a11+\'> def submit(self) -> dict: """Submit a query and parse the response. .. versionchanged:: 8.0.4 in addition to *readapidenied* also try to login when API response is *notloggedin*. .. versionchanged:: 9.0 Raise :exc:`exceptions.APIError` if the same error comes twice in a row within the loop. :return: a dict containing data retrieved from api.php """ self._add_defaults() use_get = self._use_get() retries = 0 self.last_error = dict.fromkeys(['code', 'info']) while True: paramstring = self._http_param_string() simulate = self._simulate(self.action) if simulate: return simulate if self.throttle: self.site.throttle(write=self.write) else: pywikibot.log( f"Submitting unthrottled action '{self.action}'.") use_get, uri, body, headers = self._get_request_params(use_get, paramstring) response, use_get = self._http_request(use_get, uri, body, headers, paramstring) if response is None: continue result = self._json_loads(response) if result is None: continue if self._userinfo_query(result): continue if self._handle_warnings(result): continue if 'error' not in result: return result error = result['error'] for key in result: if key in ('error', 'warnings'): continue assert key not in error error[key] = result[key] if '*' in error: # help text returned error['help'] = error.pop('*') code = error.setdefault('code', 'Unknown') info = error.setdefault('info', None) if (code == self.last_error['code'] and info == self.last_error['info']): raise pywikibot.exceptions.APIError(**self.last_error) self.last_error = error if not self._logged_in(code): continue if code == 'maxlag': retries += 1 if retries > max(5, pywikibot.config.max_retries): break pywikibot.log('Pausing due to database lag: ' + info) try: l
[Pywikipedia-bugs] [Maniphest] [Triaged] T367321: TestUpload.test_sha1_missmatch() of upload_tests fails with AssertionError
Xqt triaged this task as "High" priority. TASK DETAIL https://phabricator.wikimedia.org/T367321 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, XZise, 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 ___ 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] T367321: TestUpload.test_sha1_missmatch() of upload_tests fails with AssertionError
Xqt added a parent task: T367260: Write test CI github action has ~ 22 failing tests or errors. TASK DETAIL https://phabricator.wikimedia.org/T367321 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, XZise, 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 ___ 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] T367260: Write test CI github action has ~ 22 failing tests or errors
Xqt added a subtask: T367321: TestUpload.test_sha1_missmatch() of upload_tests fails with AssertionError. TASK DETAIL https://phabricator.wikimedia.org/T367260 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 ___ 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] T367321: TestUpload.test_sha1_missmatch() of upload_tests fails with AssertionError
Xqt created this task. Xqt added projects: Pywikibot, Pywikibot-tests. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION TestUpload.test_sha1_missmatch self = def test_sha1_missmatch(self): """Test trying to continue with a different file.""" > self._init_upload(1024) tests/upload_tests.py:120: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/upload_tests.py:72: in _init_upload ignore_warnings=warn_callback) pywikibot/site/_decorators.py:93: in callee return fn(self, *args, **kwargs) pywikibot/site/_apisite.py:3023: in upload return Uploader(self, filepage, **kwargs).upload() pywikibot/site/_upload.py:134: in upload return self._upload(self.ignore_warnings, self.report_success) pywikibot/site/_upload.py:370: in _upload data, file_key)): tests/upload_tests.py:52: in warn_callback self.assertCountEqual([w.code for w in warnings], expected_warns) E AssertionError: Element counts were not equal: E First has 1, Second has 0: 'duplicate-archive' TASK DETAIL https://phabricator.wikimedia.org/T367321 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, XZise, 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 ___ 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] T367260: Write test CI github action has ~ 22 failing tests or errors
Xqt added a subtask: T367320: TestUpload.test_png_chunked() of upload_tests fails with duplocate error. TASK DETAIL https://phabricator.wikimedia.org/T367260 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 ___ 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] T367320: TestUpload.test_png_chunked() of upload_tests fails with duplocate error
Xqt triaged this task as "High" priority. TASK DETAIL https://phabricator.wikimedia.org/T367320 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: jayvdb, 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, 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] T367320: TestUpload.test_png_chunked() of upload_tests fails with duplocate error
Xqt added a parent task: T367260: Write test CI github action has ~ 22 failing tests or errors. TASK DETAIL https://phabricator.wikimedia.org/T367320 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: jayvdb, 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, 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] T367320: TestUpload.test_png_chunked() of upload_tests fails with duplocate error
Xqt created this task. Xqt added projects: Pywikibot, Pywikibot-tests. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION _ TestUpload.test_png_chunked __ self = def test_png_chunked(self): """Test uploading a png in two chunks using Site.upload.""" page = pywikibot.FilePage(self.site, 'MP_sounds-pwb-chunked.png') self.site.upload(page, source_filename=self.sounds_png, comment='pywikibot test', >ignore_warnings=True, chunk_size=1024) tests/upload_tests.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pywikibot/site/_decorators.py:93: in callee return fn(self, *args, **kwargs) pywikibot/site/_apisite.py:3023: in upload return Uploader(self, filepage, **kwargs).upload() pywikibot/site/_upload.py:134: in upload return self._upload(self.ignore_warnings, self.report_success) pywikibot/site/_upload.py:439: in _upload report_success, file_key) pywikibot/site/_upload.py:457: in submit result = request.submit()['upload'] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = pywikibot.data.api._requests.Request'/w/api.php?action=upload=pywikibot+test=MP+sounds-...y=1azs4b3xr4ng.yzvhgu.23124.png==5=json=f71d55ad3eaf00649aefe1e64ffecf3c666939bd+\'> def submit(self) -> dict: """Submit a query and parse the response. .. versionchanged:: 8.0.4 in addition to *readapidenied* also try to login when API response is *notloggedin*. .. versionchanged:: 9.0 Raise :exc:`exceptions.APIError` if the same error comes twice in a row within the loop. :return: a dict containing data retrieved from api.php """ self._add_defaults() use_get = self._use_get() retries = 0 self.last_error = dict.fromkeys(['code', 'info']) while True: paramstring = self._http_param_string() simulate = self._simulate(self.action) if simulate: return simulate if self.throttle: self.site.throttle(write=self.write) else: pywikibot.log( f"Submitting unthrottled action '{self.action}'.") use_get, uri, body, headers = self._get_request_params(use_get, paramstring) response, use_get = self._http_request(use_get, uri, body, headers, paramstring) if response is None: continue result = self._json_loads(response) if result is None: continue if self._userinfo_query(result): continue if self._handle_warnings(result): continue if 'error' not in result: return result error = result['error'] for key in result: if key in ('error', 'warnings'): continue assert key not in error error[key] = result[key] if '*' in error: # help text returned error['help'] = error.pop('*') code = error.setdefault('code', 'Unknown') info = error.setdefault('info', None) if (code == self.last_error['code'] and info == self.last_error['info']): raise pywikibot.exceptions.APIError(**self.last_error) self.last_error = error if not self._logged_in(code): continue if code == 'maxlag': retries += 1 if retries > max(5, pywikibot.config.max_retries): break pywikibot.log('Pausing due to database lag: ' + info) try: lag = error['lag'] except KeyError: lag = lagpattern.search(info) lag = float(lag['lag']) if lag else 0.0 self.site.throttle.lag(lag * retries) # reset last error self.last_error = dict.fromkeys(['code', 'info'])
[Pywikipedia-bugs] [Maniphest] [Updated] T367260: Write test CI github action has ~ 22 failing tests or errors
Xqt added a subtask: T367319: TestUpload.test_png() of upload_tests fails with invalid path or duplicate file error. TASK DETAIL https://phabricator.wikimedia.org/T367260 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 ___ 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] T367319: TestUpload.test_png() of upload_tests fails with invalid path or duplicate file error
Xqt triaged this task as "High" priority. TASK DETAIL https://phabricator.wikimedia.org/T367319 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, jayvdb, Xqt, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, 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] [Updated] T367319: TestUpload.test_png() of upload_tests fails with invalid path or duplicate file error
Xqt added a parent task: T367260: Write test CI github action has ~ 22 failing tests or errors. TASK DETAIL https://phabricator.wikimedia.org/T367319 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, jayvdb, Xqt, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, 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] [Created] T367319: TestUpload.test_png() of upload_tests fails with invalid path or duplicate file error
Xqt created this task. Xqt added projects: Pywikibot, Pywikibot-tests. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION _ TestUpload.test_png __ self = def test_png(self): """Test uploading a png using Site.upload.""" page = pywikibot.FilePage(self.site, 'MP_sounds-pwb.png') self.site.upload(page, source_filename=self.sounds_png, comment='pywikibot test', >ignore_warnings=True) tests/upload_tests.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pywikibot/site/_decorators.py:93: in callee return fn(self, *args, **kwargs) pywikibot/site/_apisite.py:3023: in upload return Uploader(self, filepage, **kwargs).upload() pywikibot/site/_upload.py:134: in upload return self._upload(self.ignore_warnings, self.report_success) pywikibot/site/_upload.py:439: in _upload report_success, file_key) pywikibot/site/_upload.py:457: in submit result = request.submit()['upload'] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = pywikibot.data.api._requests.Request'/w/api.php?action=upload=pywikibot+test=MP+sounds-...ment=pywikibot+test=user==5=json=f71d55ad3eaf00649aefe1e64ffecf3c666939bd+\'> def submit(self) -> dict: """Submit a query and parse the response. .. versionchanged:: 8.0.4 in addition to *readapidenied* also try to login when API response is *notloggedin*. .. versionchanged:: 9.0 Raise :exc:`exceptions.APIError` if the same error comes twice in a row within the loop. :return: a dict containing data retrieved from api.php """ self._add_defaults() use_get = self._use_get() retries = 0 self.last_error = dict.fromkeys(['code', 'info']) while True: paramstring = self._http_param_string() simulate = self._simulate(self.action) if simulate: return simulate if self.throttle: self.site.throttle(write=self.write) else: pywikibot.log( f"Submitting unthrottled action '{self.action}'.") use_get, uri, body, headers = self._get_request_params(use_get, paramstring) response, use_get = self._http_request(use_get, uri, body, headers, paramstring) if response is None: continue result = self._json_loads(response) if result is None: continue if self._userinfo_query(result): continue if self._handle_warnings(result): continue if 'error' not in result: return result error = result['error'] for key in result: if key in ('error', 'warnings'): continue assert key not in error error[key] = result[key] if '*' in error: # help text returned error['help'] = error.pop('*') code = error.setdefault('code', 'Unknown') info = error.setdefault('info', None) if (code == self.last_error['code'] and info == self.last_error['info']): raise pywikibot.exceptions.APIError(**self.last_error) self.last_error = error if not self._logged_in(code): continue if code == 'maxlag': retries += 1 if retries > max(5, pywikibot.config.max_retries): break pywikibot.log('Pausing due to database lag: ' + info) try: lag = error['lag'] except KeyError: lag = lagpattern.search(info) lag = float(lag['lag']) if lag else 0.0 self.site.throttle.lag(lag * retries) # reset last error self.last_error = dict.fromkeys(['code', 'info']) continue if code == 'help'
[Pywikipedia-bugs] [Maniphest] [Triaged] T367317: TestUpload.test_offset_oversize() of upload_tests fails with AssertionError
Xqt triaged this task as "High" priority. TASK DETAIL https://phabricator.wikimedia.org/T367317 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, XZise, 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 ___ 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] T367317: TestUpload.test_offset_oversize() of upload_tests fails with AssertionError
Xqt added a parent task: T367260: Write test CI github action has ~ 22 failing tests or errors. TASK DETAIL https://phabricator.wikimedia.org/T367317 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, XZise, 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 ___ 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] T367260: Write test CI github action has ~ 22 failing tests or errors
Xqt added a subtask: T367317: TestUpload.test_offset_oversize() of upload_tests fails with AssertionError. TASK DETAIL https://phabricator.wikimedia.org/T367260 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 ___ 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] T367317: TestUpload.test_offset_oversize() of upload_tests fails with AssertionError
Xqt created this task. Xqt added projects: Pywikibot, Pywikibot-tests. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION ___ TestUpload.test_offset_oversize self = def test_offset_oversize(self): """Test trying to continue with an offset which is to large.""" > self._init_upload(1024) tests/upload_tests.py:144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/upload_tests.py:72: in _init_upload ignore_warnings=warn_callback) pywikibot/site/_decorators.py:93: in callee return fn(self, *args, **kwargs) pywikibot/site/_apisite.py:3023: in upload return Uploader(self, filepage, **kwargs).upload() pywikibot/site/_upload.py:134: in upload return self._upload(self.ignore_warnings, self.report_success) pywikibot/site/_upload.py:370: in _upload data, file_key)): tests/upload_tests.py:52: in warn_callback self.assertCountEqual([w.code for w in warnings], expected_warns) E AssertionError: Element counts were not equal: E First has 1, Second has 0: 'duplicate-archive' TASK DETAIL https://phabricator.wikimedia.org/T367317 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, XZise, 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 ___ 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] T367260: Write test CI github action has ~ 22 failing tests or errors
Xqt added a subtask: T367316: TestUpload.test_offset_missmatch() of upload_tests fails woth AssertionError. TASK DETAIL https://phabricator.wikimedia.org/T367260 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 ___ 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] T367316: TestUpload.test_offset_missmatch() of upload_tests fails woth AssertionError
Xqt added a parent task: T367260: Write test CI github action has ~ 22 failing tests or errors. TASK DETAIL https://phabricator.wikimedia.org/T367316 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, XZise, 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 ___ 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] T367316: TestUpload.test_offset_missmatch() of upload_tests fails woth AssertionError
Xqt triaged this task as "High" priority. TASK DETAIL https://phabricator.wikimedia.org/T367316 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, XZise, 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 ___ 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] T367316: TestUpload.test_offset_missmatch() of upload_tests fails woth AssertionError
Xqt created this task. Xqt added projects: Pywikibot, Pywikibot-tests. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION ___ TestUpload.test_offset_missmatch ___ self = def test_offset_missmatch(self): """Test trying to continue with a different offset.""" > self._init_upload(1024) tests/upload_tests.py:132: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/upload_tests.py:72: in _init_upload ignore_warnings=warn_callback) pywikibot/site/_decorators.py:93: in callee return fn(self, *args, **kwargs) pywikibot/site/_apisite.py:3023: in upload return Uploader(self, filepage, **kwargs).upload() pywikibot/site/_upload.py:134: in upload return self._upload(self.ignore_warnings, self.report_success) pywikibot/site/_upload.py:370: in _upload data, file_key)): tests/upload_tests.py:52: in warn_callback self.assertCountEqual([w.code for w in warnings], expected_warns) E AssertionError: Element counts were not equal: E First has 1, Second has 0: 'duplicate-archive' TASK DETAIL https://phabricator.wikimedia.org/T367316 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, XZise, 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 ___ 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] T367314: TestUpload.test_continue_filekey_once() of upload_tests fails with AssertionError
Xqt triaged this task as "High" priority. TASK DETAIL https://phabricator.wikimedia.org/T367314 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, XZise, 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 ___ 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] T367260: Write test CI github action has ~ 22 failing tests or errors
Xqt added a subtask: T367314: TestUpload.test_continue_filekey_once() of upload_tests fails with AssertionError. TASK DETAIL https://phabricator.wikimedia.org/T367260 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 ___ 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] T367314: TestUpload.test_continue_filekey_once() of upload_tests fails with AssertionError
Xqt added a parent task: T367260: Write test CI github action has ~ 22 failing tests or errors. TASK DETAIL https://phabricator.wikimedia.org/T367314 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, XZise, 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 ___ 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] T367314: TestUpload.test_continue_filekey_once() of upload_tests fails with AssertionError
Xqt created this task. Xqt added projects: Pywikibot, Pywikibot-tests. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION TestUpload.test_continue_filekey_once _ self = def test_continue_filekey_once(self): """Test continuing to upload a file without using chunked mode.""" > self._test_continue_filekey(0) tests/upload_tests.py:111: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/upload_tests.py:99: in _test_continue_filekey self._init_upload(chunk_size) tests/upload_tests.py:72: in _init_upload ignore_warnings=warn_callback) pywikibot/site/_decorators.py:93: in callee return fn(self, *args, **kwargs) pywikibot/site/_apisite.py:3023: in upload return Uploader(self, filepage, **kwargs).upload() pywikibot/site/_upload.py:134: in upload return self._upload(self.ignore_warnings, self.report_success) pywikibot/site/_upload.py:439: in _upload report_success, file_key) pywikibot/site/_upload.py:485: in submit file_key)): tests/upload_tests.py:52: in warn_callback self.assertCountEqual([w.code for w in warnings], expected_warns) E AssertionError: Element counts were not equal: E First has 1, Second has 0: 'duplicate-archive' E First has 1, Second has 0: 'nochange' E First has 1, Second has 0: 'duplicateversions' TASK DETAIL https://phabricator.wikimedia.org/T367314 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, XZise, 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 ___ 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] T367311: TestThankRevision.test_thank_revision() of thanks_tests fails with invalid revision ID
Xqt triaged this task as "High" priority. TASK DETAIL https://phabricator.wikimedia.org/T367311 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, darthbhyrava, 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 ___ 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] T367311: TestThankRevision.test_thank_revision() of thanks_tests fails with invalid revision ID
Xqt added a parent task: T367260: Write test CI github action has ~ 22 failing tests or errors. TASK DETAIL https://phabricator.wikimedia.org/T367311 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, darthbhyrava, 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 ___ 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] T367260: Write test CI github action has ~ 22 failing tests or errors
Xqt added a subtask: T367311: TestThankRevision.test_thank_revision() of thanks_tests fails with invalid revision ID. TASK DETAIL https://phabricator.wikimedia.org/T367260 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 ___ 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] T367311: TestThankRevision.test_thank_revision() of thanks_tests fails with invalid revision ID
Xqt created this task. Xqt added projects: Pywikibot, Pywikibot-tests. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION TestThankRevision.test_thank_revision _ self = def test_thank_revision(self): """Test thanks for normal revisions. This test relies on activity in recentchanges, and there must make edits made before reruns of this test; see :phab:`T137836`. """ site = self.get_site() data = site.recentchanges(total=20) for rev in data: revid = rev['revid'] username = rev['user'] user = User(site, username) if user.is_thankable: break else: self.skipTest(NO_THANKABLE_REVS) before_time = site.getcurrenttimestamp() > site.thank_revision(revid, source='pywikibot test') tests/thanks_tests.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pywikibot/site/_decorators.py:62: in callee return fn(self, *args, **kwargs) pywikibot/site/_extensions.py:347: in thank_revision data = req.submit() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = pywikibot.data.api._requests.Request'/w/api.php?action=thank=0=pywikibot+test=user=5=json=ae7f63a90b466a20120e8b508d0888db66693930+\'> def submit(self) -> dict: """Submit a query and parse the response. .. versionchanged:: 8.0.4 in addition to *readapidenied* also try to login when API response is *notloggedin*. .. versionchanged:: 9.0 Raise :exc:`exceptions.APIError` if the same error comes twice in a row within the loop. :return: a dict containing data retrieved from api.php """ self._add_defaults() use_get = self._use_get() retries = 0 self.last_error = dict.fromkeys(['code', 'info']) while True: paramstring = self._http_param_string() simulate = self._simulate(self.action) if simulate: return simulate if self.throttle: self.site.throttle(write=self.write) else: pywikibot.log( f"Submitting unthrottled action '{self.action}'.") use_get, uri, body, headers = self._get_request_params(use_get, paramstring) response, use_get = self._http_request(use_get, uri, body, headers, paramstring) if response is None: continue result = self._json_loads(response) if result is None: continue if self._userinfo_query(result): continue if self._handle_warnings(result): continue if 'error' not in result: return result error = result['error'] for key in result: if key in ('error', 'warnings'): continue assert key not in error error[key] = result[key] if '*' in error: # help text returned error['help'] = error.pop('*') code = error.setdefault('code', 'Unknown') info = error.setdefault('info', None) if (code == self.last_error['code'] and info == self.last_error['info']): raise pywikibot.exceptions.APIError(**self.last_error) self.last_error = error if not self._logged_in(code): continue if code == 'maxlag': retries += 1 if retries > max(5, pywikibot.config.max_retries): break pywikibot.log('Pausing due to database lag: ' + info) try: lag = error['lag'] except KeyError: lag = lagpattern.search(info) lag = float(lag['lag']) if lag else 0.0 self.site.throttle.lag(lag * retries) # reset last error self.last_error = dict.fromkeys(['code
[Pywikipedia-bugs] [Maniphest] [Triaged] T367309: TestSiteSysopWrite.test_revdel_file() of site_tests fails with AssertionError
Xqt triaged this task as "High" priority. Xqt added a subscriber: Huji. TASK DETAIL https://phabricator.wikimedia.org/T367309 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Huji, 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 ___ 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] T367260: Write test CI github action has ~ 22 failing tests or errors
Xqt added a subtask: T367309: TestSiteSysopWrite.test_revdel_file() of site_tests fails with AssertionError. TASK DETAIL https://phabricator.wikimedia.org/T367260 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 ___ 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] T367309: TestSiteSysopWrite.test_revdel_file() of site_tests fails with AssertionError
Xqt added a parent task: T367260: Write test CI github action has ~ 22 failing tests or errors. TASK DETAIL https://phabricator.wikimedia.org/T367309 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 ___ 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] T367309: TestSiteSysopWrite.test_revdel_file() of site_tests fails with AssertionError
Xqt created this task. Xqt added projects: Pywikibot, Pywikibot-tests. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION _ TestSiteSysopWrite.test_revdel_file __ self = def test_revdel_file(self): """Test deleting and undeleting file revisions.""" site = pywikibot.Site('test') # Verify state site.deleterevs('oldimage', [20210314184415, 20210314184430], show='content|comment|user', reason='pywikibot unit tests', target='File:T276726.png') # Single revision site.deleterevs('oldimage', '20210314184415', hide='user', show='', reason='pywikibot unit tests', target='File:T276726.png') ts1 = pywikibot.Timestamp(2021, 3, 14, 18, 43, 57) ts2 = pywikibot.Timestamp(2021, 3, 14, 18, 44, 17) fp1 = pywikibot.FilePage(site, 'File:T276726.png') site.loadimageinfo(fp1, history=True) for v in fp1._file_revisions.values(): if v['timestamp'] == ts1: self.assertTrue(hasattr(v, 'userhidden')) # Multiple revisions site.deleterevs('oldimage', '20210314184415|20210314184430', hide='comment', reason='pywikibot unit tests', target='File:T276726.png') fp2 = pywikibot.FilePage(site, 'File:T276726.png') site.loadimageinfo(fp2, history=True) for idx, v in fp2._file_revisions.items(): if v['timestamp'] in (ts1, ts2): self.assertTrue(hasattr(v, 'commenthidden')) # Concurrently show and hide site.deleterevs('oldimage', ['20210314184415', '20210314184430'], hide='user|content', show='comment', reason='pywikibot unit tests', target='File:T276726.png') fp3 = pywikibot.FilePage(site, 'File:T276726.png') site.loadimageinfo(fp3, history=True) for idx, v in fp3._file_revisions.items(): if v['timestamp'] in (ts1, ts2): self.assertFalse(hasattr(v, 'commenthidden')) > self.assertFalse(hasattr(v, 'userhidden')) E AssertionError: True is not false tests/site_tests.py:757: AssertionError TASK DETAIL https://phabricator.wikimedia.org/T367309 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 ___ 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] T367308: TestThankFlowPost.test_thank_post() of flow_thanks_tests fails with AssertionError
Xqt triaged this task as "High" priority. TASK DETAIL https://phabricator.wikimedia.org/T367308 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, happy5214, 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 ___ 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] T367260: Write test CI github action has ~ 22 failing tests or errors
Xqt added a subtask: T367308: TestThankFlowPost.test_thank_post() of flow_thanks_tests fails with AssertionError. TASK DETAIL https://phabricator.wikimedia.org/T367260 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 ___ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org