[Pywikipedia-bugs] [Maniphest] [Commented On] T352606: Cannot run tests vs sites where oauth is configured in user-config.py

2023-12-02 Thread Mpaa
Mpaa added a comment. I think that here we could use apipath, as the goal should to check only that the site is online. if 'hostname' not in data and 'site' in data: # Ignore if the family has defined this as # obsolete without a mapping to a hostname. with

[Pywikipedia-bugs] [Maniphest] [Updated] T352606: Cannot run tests vs sites where oauth is configured in user-config.py

2023-12-02 Thread JJMC89
JJMC89 added a project: Pywikibot-tests. TASK DETAIL https://phabricator.wikimedia.org/T352606 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Aklapper, pywikibot-bugs-list, Mpaa, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH,

[Pywikipedia-bugs] [Maniphest] [Created] T352606: Cannot run tests vs sites where oauth is configured in user-config.py

2023-12-02 Thread Mpaa
Mpaa created this task. Mpaa added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue** (include links if applicable): - configure to use oauth for the site used for tests (e.g. en.wikisource in

[Pywikipedia-bugs] [Maniphest] [Updated] T352482: APIError: Petscan: No result for source categories

2023-12-02 Thread Maintenance_bot
Maintenance_bot removed a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T352482 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, Maintenance_bot Cc: Magnus, Xqt, Mpaa, mevo, Aklapper, pywikibot-bugs-list, JJMC89,

[Pywikipedia-bugs] [Maniphest] [Commented On] T352482: APIError: Petscan: No result for source categories

2023-12-02 Thread gerritbot
gerritbot added a comment. Change 979467 **merged** by jenkins-bot: [pywikibot/core@master] [tests] skip PetScanPageGeneratorTestCase if APIError occurred https://gerrit.wikimedia.org/r/979467 TASK DETAIL https://phabricator.wikimedia.org/T352482 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Updated] T352482: APIError: Petscan: No result for source categories

2023-12-02 Thread Xqt
Xqt added a parent task: T129368: Usages of unittest.expectedFailure should be solved (goal). TASK DETAIL https://phabricator.wikimedia.org/T352482 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Magnus, Xqt, Mpaa, mevo, Aklapper,

[Pywikipedia-bugs] [Maniphest] [Updated] T129368: Usages of unittest.expectedFailure should be solved (goal)

2023-12-02 Thread Xqt
Xqt added a subtask: T352482: APIError: Petscan: No result for source categories. 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,

[Pywikipedia-bugs] [Maniphest] [Updated] T352482: APIError: Petscan: No result for source categories

2023-12-02 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T352482 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, gerritbot Cc: Magnus, Xqt, Mpaa, mevo, Aklapper, pywikibot-bugs-list, JJMC89, Isabelladantes1983,

[Pywikipedia-bugs] [Maniphest] [Commented On] T352482: APIError: Petscan: No result for source categories

2023-12-02 Thread gerritbot
gerritbot added a comment. Change 979467 had a related patch set uploaded (by Xqt; author: Xqt): [pywikibot/core@master] [tests] expect PetScanPageGeneratorTestCase to fail https://gerrit.wikimedia.org/r/979467 TASK DETAIL https://phabricator.wikimedia.org/T352482 EMAIL

[Pywikipedia-bugs] [Maniphest] [Updated] T352482: APIError: Petscan: No result for source categories

2023-12-02 Thread Xqt
Xqt added a project: Upstream. Xqt added a subscriber: Magnus. TASK DETAIL https://phabricator.wikimedia.org/T352482 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Magnus, Xqt, Mpaa, mevo, Aklapper, pywikibot-bugs-list, JJMC89, PotsdamLamb,

[Pywikipedia-bugs] [Maniphest] [Reopened] T352482: APIError: Petscan: No result for source categories

2023-12-02 Thread Xqt
Xqt reopened this task as "Open". Xqt added a comment. works for a local test but still fails on CI TASK DETAIL https://phabricator.wikimedia.org/T352482 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, Mpaa, mevo, Aklapper,

[Pywikipedia-bugs] [Maniphest] [Closed] T352482: APIError: Petscan: No result for source categories

2023-12-02 Thread Xqt
Xqt closed this task as "Resolved". Xqt claimed this task. Xqt added a comment. Works again: D:\pwb\GIT\core>pwb pagegenerators_tests -v PetScanPageGeneratorTestCase.test_petscan tests: max_retries reduced from 15 to 1 test_petscan

[Pywikipedia-bugs] [Maniphest] [Updated] T352482: APIError: Petscan: No result for source categories

2023-12-02 Thread Mpaa
Mpaa added a comment. I think this now fails because on my request to delete "Category:Pywikibot Protect Test" in T352560 , the category has now been removed also from: User:Sn1per/ProtectTest1 User:Sn1per/ProtectTest2