jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/834703 )
Change subject: [8.0] Prepare next release ......................................................................
[8.0] Prepare next release
Change-Id: If672d4e4c6e8c498ef92d933e2db21bc62f4def0 --- M .appveyor.yml M HISTORY.rst M ROADMAP.rst M pywikibot/__metadata__.py M scripts/__init__.py 5 files changed, 30 insertions(+), 23 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/.appveyor.yml b/.appveyor.yml index d7a1176..b86e7f1 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,7 +1,7 @@ image: Visual Studio 2019 clone_depth: 50 skip_tags: true -version: 7.7.{build} +version: 8.0.{build} environment:
PYWIKIBOT_DIR: "%appdata%\Pywikibot" diff --git a/HISTORY.rst b/HISTORY.rst index 1025ec1..f5e16f5 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,6 +1,28 @@ Release history ^^^^^^^^^^^^^^^
+7.7.0 +----- +*25 September 2022* + +* TypeError is raised if *aliases* parameter of :meth:`WikibasePage.editAliases + <page.WikibasePage.editEntity>` method is not a list (:phab:`T318034`) +* Raise TypeError in :meth:`AliasesDict.normalizeData + <pywikibot.page._collections.AliasesDict.normalizeData>` if *data* value is not a list (:phab:`T318034`) +* tools' threading classes were moved to :mod:`tools.threading` submodule +* No longer raise NotimplementedError in :meth:`APISite.page_from_repository + <pywikibot.site._apisite.APISite.page_from_repository>` (:phab:`T318033`) +* Ability to set ``PYWIKIBOT_TEST_...`` environment variables with pwb wrapper (:phab:`T139847`) +* OmegaWiki family was removed +* Provide global ``-config`` option to specify the user config file name +* Run :mod:`pywikibot.scripts.login` script in parallel tasks if ``-async`` option is given (:phab:`T57899`) +* Ability to preload categories was added to :meth:`APISite.preloadpages + <pywikibot.site._generators.GeneratorsMixin.preloadpages>` (:phab:`T241689`) +* Add :class:`WikiBlame<page._toolforge.WikiBlameMixin>` support was added to get the five topmost authors +* Raise KeyError instead of AttributeError if :class:`page.FileInfo` is used as Mapping +* i18n and L10N updates + + 7.6.0 ----- *21 August 2022* @@ -453,6 +475,7 @@ Improvements and Bugfixes ~~~~~~~~~~~~~~~~~~~~~~~~~
+* interwiki_graph module was restored (:phab:`T223826`) * proofreadpage: search for "new" class after purge (:phab:`T280357`) * Enable different types with BaseBot.treat() * Context manager depends on pymysql version, not Python release (:phab:`T279753`) diff --git a/ROADMAP.rst b/ROADMAP.rst index 3b40eed..fbda6e7 100644 --- a/ROADMAP.rst +++ b/ROADMAP.rst @@ -1,23 +1,7 @@ -Current release 7.7.0 +Current release 8.0.0 ^^^^^^^^^^^^^^^^^^^^^
-* TypeError is raised if *aliases* parameter of :meth:`WikibasePage.editAliases - <page.WikibasePage.editEntity>` method is not a list (:phab:`T318034`) -* Raise TypeError in :meth:`AliasesDict.normalizeData - <pywikibot.page._collections.AliasesDict.normalizeData>` if *data* value is not a list (:phab:`T318034`) -* tools' threading classes were moved to :mod:`tools.threading` submodule -* No longer raise NotimplementedError in :meth:`APISite.page_from_repository - <pywikibot.site._apisite.APISite.page_from_repository>` (:phab:`T318033`) -* Ability to set ``PYWIKIBOT_TEST_...`` environment variables with pwb wrapper (:phab:`T139847`) -* OmegaWiki family was removed -* Provide global ``-config`` option to specify the user config file name -* Run :mod:`pywikibot.scripts.login` script in parallel tasks if ``-async`` option is given (:phab:`T57899`) -* Ability to preload categories was added to :meth:`APISite.preloadpages - <pywikibot.site._generators.GeneratorsMixin.preloadpages>` (:phab:`T241689`) -* Add :class:`WikiBlame<page._toolforge.WikiBlameMixin>` support was added to get the five topmost authors -* Raise KeyError instead of AttributeError if :class:`page.FileInfo` is used as Mapping -* i18n and L10N updates - +*(no changes yet)*
Deprecations ^^^^^^^^^^^^ @@ -28,9 +12,9 @@ * 7.5.0: :mod:`textlib`.tzoneFixedOffset class will be removed in favour of :class:`time.TZoneFixedOffset` * 7.4.0: ``FilePage.usingPages()`` was renamed to :meth:`using_pages()<pywikibot.FilePage.using_pages>` * 7.2.0: ``tb`` parameter of :func:`exception()<pywikibot.exception>` function was renamed to ``exc_info`` -* 7.2.0: XMLDumpOldPageGenerator is deprecated in favour of a ``content`` parameter of +* 7.2.0: XMLDumpOldPageGenerator is deprecated in favour of a ``content`` parameter of :func:`XMLDumpPageGenerator<pagegenerators.XMLDumpPageGenerator>` (:phab:`T306134`) -* 7.2.0: RedirectPageBot and NoRedirectPageBot bot classes are deprecated in favour of +* 7.2.0: RedirectPageBot and NoRedirectPageBot bot classes are deprecated in favour of :attr:`use_redirects<bot.BaseBot.use_redirects>` attribute * 7.2.0: :func:`tools.formatter.color_format<tools.formatter.color_format>` is deprecated and will be removed * 7.1.0: Unused `get_redirect` parameter of Page.getOldVersion() will be removed diff --git a/pywikibot/__metadata__.py b/pywikibot/__metadata__.py index 52376ca..fb25171 100644 --- a/pywikibot/__metadata__.py +++ b/pywikibot/__metadata__.py @@ -11,7 +11,7 @@
__name__ = 'pywikibot' -__version__ = '7.7.0' +__version__ = '8.0.0.dev0' __description__ = 'Python MediaWiki Bot Framework' __maintainer__ = 'The Pywikibot team' __maintainer_email__ = 'pywikibot@lists.wikimedia.org' diff --git a/scripts/__init__.py b/scripts/__init__.py index 1af0568..192bebf 100644 --- a/scripts/__init__.py +++ b/scripts/__init__.py @@ -29,4 +29,4 @@ # # Distributed under the terms of the MIT license. # -__version__ = '7.7.0' +__version__ = '8.0.0'
pywikibot-commits@lists.wikimedia.org