https://bugzilla.wikimedia.org/show_bug.cgi?id=72169
Bug ID: 72169 Summary: querymodules deprecated Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: critical Priority: Unprioritized Component: tests Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: jayvdb@gmail.com Web browser: --- Mobile Platform: ---
test.wikidata (which is using code not deployed to the production wikis) builds on travis are failing because paraminfo param querymodules has been deprecated in the API, and one of our scripts exercises code which uses querymodules, and our script test fails if the script has deprecated warnings.
FAIL: test_interwiki_simulate (tests.script_tests.TestScript) Test running interwiki -simulate. ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/travis/build/wikimedia/pywikibot-core/tests/script_tests.py", line 320, in testScript self.assertNotIn('deprecated', result['stderr'].lower()) AssertionError: 'deprecated' unexpectedly found in 'warning: api warning (paraminfo): the querymodules parameter has been deprecated.\nwhich page to check: warning: api warning (paraminfo): the querymodules parameter has been deprecated.\nretrieving 1 pages from wikidata:test.\nnote: [[test:test page]] does not exist. skipping.\n======post-processing [[test:test page]]======\n'
https://bugzilla.wikimedia.org/show_bug.cgi?id=72169
--- Comment #1 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 167168 had a related patch set uploaded by John Vandenberg: MW 1.25wmf4 API deprecated paraminfo querymodules
https://gerrit.wikimedia.org/r/167168
https://bugzilla.wikimedia.org/show_bug.cgi?id=72169
Gerrit Notification Bot gerritadmin@wikimedia.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |PATCH_TO_REVIEW
https://bugzilla.wikimedia.org/show_bug.cgi?id=72169
--- Comment #2 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 167168 merged by jenkins-bot: MW 1.25wmf4 API deprecated paraminfo querymodules
https://gerrit.wikimedia.org/r/167168
https://bugzilla.wikimedia.org/show_bug.cgi?id=72169
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|PATCH_TO_REVIEW |RESOLVED Resolution|--- |FIXED
pywikipedia-bugs@lists.wikimedia.org