Xqt has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1328304?usp=email )
Change subject: release: Prepare next release 11.8.0
......................................................................
release: Prepare next release 11.8.0
Change-Id: I3024bf2ab9ce3f05d19427c8a0cdacdbb6628572
---
M .github/workflows/doctest.yml
M .github/workflows/login_tests-ci.yml
M .github/workflows/oauth_tests-ci.yml
M .github/workflows/pre-commit.yml
M .github/workflows/pywikibot-ci.yml
M .github/workflows/sysop_write_tests-ci.yml
M .pre-commit-config.yaml
M HISTORY.rst
M ROADMAP.rst
M dev-requirements.txt
M docs/requirements.txt
M pywikibot/__metadata__.py
M scripts/__init__.py
M scripts/pyproject.toml
14 files changed, 73 insertions(+), 67 deletions(-)
Approvals:
Xqt: Verified; Looks good to me, approved
diff --git a/.github/workflows/doctest.yml b/.github/workflows/doctest.yml
index 62d31f9..ae1b100 100644
--- a/.github/workflows/doctest.yml
+++ b/.github/workflows/doctest.yml
@@ -20,7 +20,7 @@
jobs:
build:
runs-on: ${{ matrix.os || 'ubuntu-latest' }}
- timeout-minutes: 15
+ timeout-minutes: 12
strategy:
fail-fast: false
matrix:
diff --git a/.github/workflows/login_tests-ci.yml
b/.github/workflows/login_tests-ci.yml
index 635f002..701b5a1 100644
--- a/.github/workflows/login_tests-ci.yml
+++ b/.github/workflows/login_tests-ci.yml
@@ -39,7 +39,7 @@
name: Run Login/Logout Tests
runs-on: ${{ matrix.os || 'ubuntu-latest' }}
needs: wait_for_all
- timeout-minutes: 45
+ timeout-minutes: 40
strategy:
fail-fast: false
max-parallel: 1
diff --git a/.github/workflows/oauth_tests-ci.yml
b/.github/workflows/oauth_tests-ci.yml
index 099107e..e9bac7a 100644
--- a/.github/workflows/oauth_tests-ci.yml
+++ b/.github/workflows/oauth_tests-ci.yml
@@ -21,7 +21,7 @@
build:
runs-on: ${{ matrix.os || 'ubuntu-latest' }}
continue-on-error: ${{ matrix.experimental || false }}
- timeout-minutes: 10
+ timeout-minutes: 7
strategy:
fail-fast: false
matrix:
diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
index fc4f094..8ba3c80 100644
--- a/.github/workflows/pre-commit.yml
+++ b/.github/workflows/pre-commit.yml
@@ -20,7 +20,7 @@
pre-commit:
runs-on: ${{ matrix.os || 'ubuntu-latest' }}
continue-on-error: ${{ matrix.experimental || false }}
- timeout-minutes: 10
+ timeout-minutes: 7
strategy:
fail-fast: false
matrix:
diff --git a/.github/workflows/pywikibot-ci.yml
b/.github/workflows/pywikibot-ci.yml
index 59c74f1..50acb80 100644
--- a/.github/workflows/pywikibot-ci.yml
+++ b/.github/workflows/pywikibot-ci.yml
@@ -23,7 +23,7 @@
build:
runs-on: ${{ matrix.os || 'ubuntu-latest' }}
continue-on-error: ${{ matrix.experimental || false }}
- timeout-minutes: 60
+ timeout-minutes: 65
strategy:
fail-fast: false
matrix:
diff --git a/.github/workflows/sysop_write_tests-ci.yml
b/.github/workflows/sysop_write_tests-ci.yml
index 2e0c85f..fa421c5 100644
--- a/.github/workflows/sysop_write_tests-ci.yml
+++ b/.github/workflows/sysop_write_tests-ci.yml
@@ -21,7 +21,7 @@
build:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental || false }}
- timeout-minutes: 25
+ timeout-minutes: 20
strategy:
fail-fast: false
matrix:
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 7770cca..3626540 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -64,7 +64,7 @@
hooks:
- id: yamlfix
- repo: https://github.com/astral-sh/ruff-pre-commit
- rev: v0.16.2
+ rev: v0.16.4
hooks:
- id: ruff-check
alias: ruff
@@ -86,7 +86,7 @@
- --remove-unused-variables
exclude: ^pywikibot/backports\.py$
- repo: https://github.com/PyCQA/isort
- rev: 9.0.0b2
+ rev: 9.0.0b5
hooks:
- id: isort
name: isort
@@ -96,7 +96,7 @@
name: isort (skip future annotations)
files: ^(pwb|pywikibot/families/__init__)\.py$
- repo: https://github.com/jshwi/docsig
- rev: v0.94.0
+ rev: v0.96.0
hooks:
- id: docsig
exclude: ^(tests|scripts)
@@ -113,7 +113,7 @@
- flake8-print>=5.0.0
- pep8-naming>=0.15.1
- repo: https://github.com/pre-commit/mirrors-mypy
- rev: v2.3.0
+ rev: v2.3.1
hooks:
- id: mypy
args: [--config-file=pyproject.toml, --follow-imports=silent]
diff --git a/HISTORY.rst b/HISTORY.rst
index 6d14035..1d0a352 100644
--- a/HISTORY.rst
+++ b/HISTORY.rst
@@ -1,6 +1,58 @@
Release History
===============
+11.7.0
+------
+*22 August 2026*
+
+* Yield non-strict unconnected pages in :meth:`APISite.unconnected_pages()
+ <pywikibot.site._extensions.WikibaseClientMixin.unconnected_pages>` and fix
the
+ regression introduced in :ref:`10.4.0`.
+* :meth:`api.Request.wait()<data.api.Request.wait>` and
:meth:`data.WaitingMixin.wait`
+ accept *kwargs* to be passed to :exc:`exceptions.ApiTimeoutError`.
(:phab:`T434974`)
+* :exc:`exceptions.ApiTimeoutError` supports *site* and *uri* attributes passed
+ as parameters. (:phab:`T434974`)
+* Update translations (i18n)
+* Honor *mode* for uncompressed archives in :func:`tools.open_archive`.
+* Remove minimum retry limit from maxlag wait cycle in
:meth:`data.api.Request.submit`.
+ (:phab:`T434566`)
+* Fix upload counter in :class:`specialbots.UploadRobot`.
+* Avoid unnecessary :class:`pywikibot.Site` creation in
:class:`specialbots.UploadRobot`.
+* Add :meth:`page.BasePage.review` and :meth:`page.BasePage.unreview`, which
call
+
:meth:`APISite.review_revision()<pywikibot.site._extensions.FlaggedRevsMixin.review_revision>`.
+ (:phab:`T408389`)
+* Add
:meth:`APISite.review_revision()<pywikibot.site._extensions.FlaggedRevsMixin.review_revision>`
+ for the :ext:`FlaggedRevs` extension. (:phab:`T408389`)
+* Add ``show`` filters to :meth:`APISite.blocks()
+ <pywikibot.site._generators.GeneratorsMixin.blocks>`; they can be set by the
new *account*, *ip*,
+ *ip_range* and *temp* parameters. (:phab:`T433531`)
+* Duplicate pages are no longer yielded in :meth:`page.BasePage.getReferences`
and
+
:meth:`APISite.pagereferences()<pywikibot.site._generators.GeneratorsMixin.pagereferences>`
when
+ backlinks and template inclusions overlap. (:phab:`T405551`)
+* :meth:`page.BasePage.getOldVersion` is only a convenience wrapper around
+ :meth:`page.BasePage.get_revision`. It is deprecated now in favour of
+ ``get_revision(oldid, content=True).text``. (:phab:`T433799`)
+* HTML comments spanning multiple lines are now recognized with
:class:`textlib.Timestripper`.
+ (:phab:`T432541`)
+* The *lang* parameter of the :func:`i18n.altlang` function is now
positional-only. The *lang* value
+ is no longer included in the returned fallback sequence; the fallback
sequence was changed from a
+ list to a tuple.
+* Raise the newly implemented :exc:`exceptions.CitoidError` when the Citoid
service of the
+ :mod:`data.citoid` module returns an error response. (:phab:`T433230`)
+* Improvements for :meth:`APISite.assert_valid_iter_params()
+ <pywikibot.site._apisite.APISite.assert_valid_iter_params>`: the
*msg_prefix* parameter is now
+ positional-only and the *is_ts* parameter is now keyword-only. If *start*
and *end* parameters are
+ ``datetime`` objects, the *is_ts* parameter is always treated as ``True``. A
``ValueError`` is
+ raised instead of ``AssertionError`` when *start* and *end* parameters are
in the wrong order.
+* All ``ucshow`` parameters of :api:`Usercontribs` are supported by
+
:meth:`APSite.usercontribs()<pywikibot.site._generators.GeneratorsMixin.usercontribs>`,
+ :meth:`pywikibot.User.contributions` and :meth:`pywikibot.User.contribs`.
+* :ext:`FlaggedRevs` support was added. The :meth:`APSite.stable_revid()
+ <pywikibot.site._extensions.FlaggedRevsMixin.stable_revid>` site method
+ and the :attr:`page.BasePage.stable_revision_id` and
:attr:`page.BasePage.stable_revision`
+ properties were added to retrieve the stable revision and its ID.
(:phab:`T409848`)
+
+
11.6.0
------
*22 July 2026*
diff --git a/ROADMAP.rst b/ROADMAP.rst
index 523b7b4..a24f339 100644
--- a/ROADMAP.rst
+++ b/ROADMAP.rst
@@ -1,53 +1,7 @@
-Release 11.7
+Release 11.8
============
-* Yield non-strict unconnected pages in :meth:`APISite.unconnected_pages()
- <pywikibot.site._extensions.WikibaseClientMixin.unconnected_pages>` and fix
the
- regression introduced in :ref:`10.4.0`.
-* :meth:`api.Request.wait()<data.api.Request.wait>` and
:meth:`data.WaitingMixin.wait`
- accept *kwargs* to be passed to :exc:`exceptions.ApiTimeoutError`.
(:phab:`T434974`)
-* :exc:`exceptions.ApiTimeoutError` supports *site* and *uri* attributes passed
- as parameters. (:phab:`T434974`)
-* Update translations (i18n)
-* Honor *mode* for uncompressed archives in :func:`tools.open_archive`.
-* Remove minimum retry limit from maxlag wait cycle in
:meth:`data.api.Request.submit`.
- (:phab:`T434566`)
-* Fix upload counter in :class:`specialbots.UploadRobot`.
-* Avoid unnecessary :class:`pywikibot.Site` creation in
:class:`specialbots.UploadRobot`.
-* Add :meth:`page.BasePage.review` and :meth:`page.BasePage.unreview`, which
call
-
:meth:`APISite.review_revision()<pywikibot.site._extensions.FlaggedRevsMixin.review_revision>`.
- (:phab:`T408389`)
-* Add
:meth:`APISite.review_revision()<pywikibot.site._extensions.FlaggedRevsMixin.review_revision>`
- for the :ext:`FlaggedRevs` extension. (:phab:`T408389`)
-* Add ``show`` filters to :meth:`APISite.blocks()
- <pywikibot.site._generators.GeneratorsMixin.blocks>`; they can be set by the
new *account*, *ip*,
- *ip_range* and *temp* parameters. (:phab:`T433531`)
-* Duplicate pages are no longer yielded in :meth:`page.BasePage.getReferences`
and
-
:meth:`APISite.pagereferences()<pywikibot.site._generators.GeneratorsMixin.pagereferences>`
when
- backlinks and template inclusions overlap. (:phab:`T405551`)
-* :meth:`page.BasePage.getOldVersion` is only a convenience wrapper around
- :meth:`page.BasePage.get_revision`. It is deprecated now in favour of
- ``get_revision(oldid, content=True).text``. (:phab:`T433799`)
-* HTML comments spanning multiple lines are now recognized with
:class:`textlib.Timestripper`.
- (:phab:`T432541`)
-* The *lang* parameter of the :func:`i18n.altlang` function is now
positional-only. The *lang* value
- is no longer included in the returned fallback sequence; the fallback
sequence was changed from a
- list to a tuple.
-* Raise the newly implemented :exc:`exceptions.CitoidError` when the Citoid
service of the
- :mod:`data.citoid` module returns an error response. (:phab:`T433230`)
-* Improvements for :meth:`APISite.assert_valid_iter_params()
- <pywikibot.site._apisite.APISite.assert_valid_iter_params>`: the
*msg_prefix* parameter is now
- positional-only and the *is_ts* parameter is now keyword-only. If *start*
and *end* parameters are
- ``datetime`` objects, the *is_ts* parameter is always treated as ``True``. A
``ValueError`` is
- raised instead of ``AssertionError`` when *start* and *end* parameters are
in the wrong order.
-* All ``ucshow`` parameters of :api:`Usercontribs` are supported by
-
:meth:`APSite.usercontribs()<pywikibot.site._generators.GeneratorsMixin.usercontribs>`,
- :meth:`pywikibot.User.contributions` and :meth:`pywikibot.User.contribs`.
-* :ext:`FlaggedRevs` support was added. The :meth:`APSite.stable_revid()
- <pywikibot.site._extensions.FlaggedRevsMixin.stable_revid>` site method
- and the :attr:`page.BasePage.stable_revision_id` and
:attr:`page.BasePage.stable_revision`
- properties were added to retrieve the stable revision and its ID.
(:phab:`T409848`)
-
+* (no changes yet)
Deprecations
============
diff --git a/dev-requirements.txt b/dev-requirements.txt
index 3bfd8d9..b3a7755 100644
--- a/dev-requirements.txt
+++ b/dev-requirements.txt
@@ -3,10 +3,10 @@
# Python 3.10 is required for pytest and pre-commit
pytest >= 9.1.1; python_version > "3.9"
pytest-attrib >= 0.1.3
-pytest-xvfb>=3.1.1
+pytest-xvfb >= 3.1.1
-pre-commit >= 4.6.1; python_version > "3.9"
-coverage>=7.15.2; python_version > "3.9"
+pre-commit >= 4.6.2; python_version > "3.9"
+coverage >= 7.15.4; python_version > "3.9"
coverage==7.10.7; python_version == "3.9"
# required for coverage (T380697)
-tomli>=2.4.1; python_version < "3.11"
+tomli >= 2.4.1; python_version < "3.11"
diff --git a/docs/requirements.txt b/docs/requirements.txt
index 9f14aee..390e43d 100644
--- a/docs/requirements.txt
+++ b/docs/requirements.txt
@@ -2,7 +2,7 @@
# ../requirements.txt is also needed.
# Note: Python 3.11 is required for sphinx 8.2+
sphinx >= 9.1.0
-rstcheck >=6.2.5
+rstcheck >=6.3.0
sphinxext-opengraph >= 0.13.0
sphinx-copybutton >= 0.5.2
sphinx-tabs >= 3.5.0
diff --git a/pywikibot/__metadata__.py b/pywikibot/__metadata__.py
index a14be17..5185839 100644
--- a/pywikibot/__metadata__.py
+++ b/pywikibot/__metadata__.py
@@ -12,6 +12,6 @@
from time import strftime
-__version__ = '11.7.0'
+__version__ = '11.8.0.dev0'
__url__ = 'https://www.mediawiki.org/wiki/Manual:Pywikibot'
__copyright__ = f'2003-{strftime("%Y")}, Pywikibot team'
diff --git a/scripts/__init__.py b/scripts/__init__.py
index b7d22a7..ba81280 100644
--- a/scripts/__init__.py
+++ b/scripts/__init__.py
@@ -34,7 +34,7 @@
from pathlib import Path
-__version__ = '11.7.0'
+__version__ = '11.8.0'
#: defines the entry point for pywikibot-scripts package
base_dir = Path(__file__).parent
diff --git a/scripts/pyproject.toml b/scripts/pyproject.toml
index 9b0760e..a9bd93d 100644
--- a/scripts/pyproject.toml
+++ b/scripts/pyproject.toml
@@ -7,7 +7,7 @@
[project]
name = "pywikibot-scripts"
-version = "11.7.0"
+version = "11.8.0"
authors = [
{name = "xqt", email = "[email protected]"},
@@ -19,7 +19,7 @@
readme = "scripts/README.rst"
requires-python = ">=3.9.0"
dependencies = [
- "pywikibot >= 11.7.0",
+ "pywikibot >= 11.8.0",
"langdetect",
"mwparserfromhell",
"pydot",
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1328304?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I3024bf2ab9ce3f05d19427c8a0cdacdbb6628572
Gerrit-Change-Number: 1328304
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]