Xqt created this task. Xqt added projects: Pywikibot, Pywikibot-tests, good first task. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. Restricted Application added a comment.
Thank you for tagging this task with #good_first_task <https://phabricator.wikimedia.org/tag/good_first_task/> for Wikimedia newcomers! Newcomers often may not be aware of things that may seem obvious to seasoned contributors, so please take a moment to reflect on how this task might look to somebody who has never contributed to Wikimedia projects. A #good_first_task <https://phabricator.wikimedia.org/tag/good_first_task/> is a self-contained, non-controversial task with a clear approach. It should be well-described with pointers to help a completely new contributor, for example it should clearly point to the codebase URL and provide clear steps to help a contributor get set up for success. We've included some guidelines at https://phabricator.wikimedia.org/tag/good_first_task/ ! Thank you for helping us drive new contributions to our projects <3 TASK DESCRIPTION **Description** Pywikibot's GitHub Actions CI currently passes with multiple warnings emitted during doctests. These stem from deprecated APIs, future-incompatible behaviors, or runtime fallbacks. While they do not break tests now, they indicate technical debt and may cause future regressions or test failures. **Warnings summary** pywikibot/backports.py::pywikibot.backports.RLock _NotImplementedWarning: pywikibot.backports.RLock.count is deprecated since release 10.2.0 pywikibot/bot.py::pywikibot.bot.handle_args UserWarning: Site objects have been created before arguments were handled (appears twice) pywikibot/data/api/_requests.py::pywikibot.data.api._requests.Request RuntimeWarning: Request() invoked without a site; setting to wikipedia:test pywikibot/page/_toolforge.py::pywikibot.page._toolforge.WikiBlameMixin.main_authors FutureWarning: deprecated since release 9.3.0; use authorsship instead pywikibot/tools/itertools.py::pywikibot.tools.itertools.itergroup FutureWarning: deprecated since release 8.2.0; use backports.batched() instead **Affected Workflow(s):** - .github/workflows/doctest.yml - Possibly others using pytest --doctest-modules **Suggested Actions:** - Evaluate whether Request() and handle_args() warnings reflect expected behavior. - add pytest settings (filterwarnings) or -W option to ignore such warnings TASK DETAIL https://phabricator.wikimedia.org/T399443 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
_______________________________________________ pywikibot-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
