jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1108168?usp=email )
Change subject: doc: update ROADMAP.rst and CHANGELOG.rst ......................................................................
doc: update ROADMAP.rst and CHANGELOG.rst
Change-Id: I93af4dd9774893e1eb83b869d9cc775601cc9682 --- M ROADMAP.rst M pywikibot/backports.py M pywikibot/bot.py M scripts/CHANGELOG.rst 4 files changed, 22 insertions(+), 7 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/ROADMAP.rst b/ROADMAP.rst index 30cd9f8..2f5c373 100644 --- a/ROADMAP.rst +++ b/ROADMAP.rst @@ -3,13 +3,17 @@
**Improvements**
+* A *timeout* parameter was added to :func:`data.memento.get_closest_memento_url` + and the default timeout was increased to 30 s (:phab:`T382943`). +* :func:`bot.calledModuleName` returns either 'unittest' or 'pytest' during test run (:phab:`T382797`). +* :class:`tools.threading.BoundedPoolExecutor` was added (:phab:`T333741`). * *args* parameter for :mod:`logging` functions can be used as formatting arguments * :attr:`.login.OauthLoginManager.access_token` was added. * Representation string for :class:`login.LoginManager` was added.
**Bugfixes**
-* (no changes yet) +* Remove unintentional *args* parameter in :class:`tools.threading.ThreadList` (:phab:`T382787`).
**Code cleanups**
@@ -53,6 +57,7 @@
**Other breaking changes**
+* :mod:`backports` module is no longer a public API. * Drop support for MediaWiki < 1.31 (:phab:`T378984`) * Require ``requests >= 2.31.0`` (:phab:`T347031`) * Python 3.7 support was dropped (:phab:`T378893`), including *importlib_metadata* of diff --git a/pywikibot/backports.py b/pywikibot/backports.py index d981548..ab18130 100644 --- a/pywikibot/backports.py +++ b/pywikibot/backports.py @@ -1,10 +1,14 @@ """This module contains backports to support older Python versions.
-This module is not part of the public pywikibot API. Breaking changes may be -made at any time, and the module is not subject to deprecation requirements. +.. caution:: This module is not part of the public pywikibot API. + Breaking changes may be made at any time, and the module is not + subject to deprecation requirements. + +.. versionchanged:: 10.0 + This module is 'private'. """ # -# (C) Pywikibot team, 2014-2024 +# (C) Pywikibot team, 2014-2025 # # Distributed under the terms of the MIT license. # diff --git a/pywikibot/bot.py b/pywikibot/bot.py index 44bf4f6..d52b250 100644 --- a/pywikibot/bot.py +++ b/pywikibot/bot.py @@ -666,8 +666,8 @@ docstring and because the module name will be used for the filename of the log.
- .. versionchanged:: Detect unittest and pytest run and return the - test module. + .. versionchanged:: 10.0 + Detect unittest and pytest run and return the test module. """ mod = pywikibot.argvu[0]
diff --git a/scripts/CHANGELOG.rst b/scripts/CHANGELOG.rst index 889a509..216d711 100644 --- a/scripts/CHANGELOG.rst +++ b/scripts/CHANGELOG.rst @@ -7,10 +7,16 @@ * Require Python 3.8 or higher * Require Pywikibot 10.0.0
+archivebot +^^^^^^^^^^ + +* Fix mangling screen messages in ``-async`` mode (:phab:`T382797`) +* save the talk page in asynchronous mode if ``-async`` option was given + dataextend ^^^^^^^^^^
-* Script was removed from repository +* Script was removed from repository (:phab:`T377066`)
9.6.1 -----
pywikibot-commits@lists.wikimedia.org