Xqt has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1313888?usp=email )
Change subject: release: Prepare next release 11.7.0
......................................................................
release: Prepare next release 11.7.0
Change-Id: I061ab0173f27d81bb1a534d6f91a145206269036
---
M .pre-commit-config.yaml
M HISTORY.rst
M ROADMAP.rst
M dev-requirements.txt
M pywikibot/__metadata__.py
M scripts/__init__.py
M scripts/pyproject.toml
7 files changed, 37 insertions(+), 30 deletions(-)
Approvals:
Xqt: Verified; Looks good to me, approved
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index a9e7439..d39bfe0 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -7,7 +7,7 @@
- id: check-hooks-apply
- id: check-useless-excludes
- repo: https://gitlab.wikimedia.org/repos/ci-tools/commit-message-validator
- rev: v2.3.0
+ rev: v3.0.0
hooks:
- id: commit-message-validator
- repo: https://github.com/pre-commit/pre-commit-hooks
@@ -64,7 +64,7 @@
hooks:
- id: yamlfix
- repo: https://github.com/astral-sh/ruff-pre-commit
- rev: v0.15.21
+ rev: v0.15.22
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.0a3
+ rev: 9.0.0b1
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.90.0
+ rev: v0.91.6
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.2.0
+ rev: v2.3.0
hooks:
- id: mypy
args: [--config-file=pyproject.toml, --follow-imports=silent]
diff --git a/HISTORY.rst b/HISTORY.rst
index 8e4f55d..6d14035 100644
--- a/HISTORY.rst
+++ b/HISTORY.rst
@@ -1,6 +1,30 @@
Release History
===============
+11.6.0
+------
+*22 July 2026*
+
+* Add support for bolwiki (:phab:`T429953`)
+* The *top_only* parameter of :meth:`page.User.contributions` and
:meth:`APISite.usercontribs
+ <pywikibot.site._generators.GeneratorsMixin.usercontribs>` was renamed to
*top*. Its behavior has
+ changed, and `False` can now be used as an argument. (:phab:`T308961`)
+* Add a new collection class :class:`page.Contribution` to hold results from
+ :meth:`page.User.contribs` (:phab:`T308961`)
+* Add a new method :meth:`page.User.contribs` to retrieve user contributions.
+ This method supports all ``prop`` items from :api:`Usercontribs`
(:phab:`T308961`)
+* Add a new exception :exc:`exceptions.UnexpectedAPIDataError`
(:phab:`T308961`)
+* Add a new collection class :class:`tools.collections.DataRecord` and derive
+ :class:`page.Revision` from it (:phab:`T432464`)
+* Make :func:`i18n.altlang` a public function (:phab:`T432543`)
+* Use :exc:`requests.exceptions.JSONDecodeError` instead of :exc:`ValueError`
in
+ :meth:`data.api.Request._json_loads`
+* Provide a :class:`backports.sentinel` implementation backported from Python
3.15
+* Update translations (i18n)
+* Fix :meth:`WikiStats.get()<data.wikistats.WikiStats.get>` to propagate HTTP
fetch exceptions
+ instead of raising `AttributeError`
+
+
11.5.0
------
*11 July 2026*
diff --git a/ROADMAP.rst b/ROADMAP.rst
index 924fb44..ae8c6ec 100644
--- a/ROADMAP.rst
+++ b/ROADMAP.rst
@@ -1,24 +1,7 @@
-Release 11.6
+Release 11.7
============
-* Add support for bolwiki (:phab:`T429953`)
-* The *top_only* parameter of :meth:`page.User.contributions` and
:meth:`APISite.usercontribs
- <pywikibot.site._generators.GeneratorsMixin.usercontribs>` was renamed to
*top*. Its behavior has
- changed, and `False` can now be used as an argument. (:phab:`T308961`)
-* Add a new collection class :class:`page.Contribution` to hold results from
- :meth:`page.User.contribs` (:phab:`T308961`)
-* Add a new method :meth:`page.User.contribs` to retrieve user contributions.
- This method supports all ``prop`` items from :api:`Usercontribs`
(:phab:`T308961`)
-* Add a new exception :exc:`exceptions.UnexpectedAPIDataError`
(:phab:`T308961`)
-* Add a new collection class :class:`tools.collections.DataRecord` and derive
- :class:`page.Revision` from it (:phab:`T432464`)
-* Make :func:`i18n.altlang` a public function (:phab:`T432543`)
-* Use :exc:`requests.exceptions.JSONDecodeError` instead of :exc:`ValueError`
in
- :meth:`data.api.Request._json_loads`
-* Provide a :class:`backports.sentinel` implementation backported from Python
3.15
-* Update translations (i18n)
-* Fix :meth:`WikiStats.get()<data.wikistats.WikiStats.get>` to propagate HTTP
fetch exceptions
- instead of raising `AttributeError`
+* (no changes yet)
Deprecations
diff --git a/dev-requirements.txt b/dev-requirements.txt
index 29fe681..3bfd8d9 100644
--- a/dev-requirements.txt
+++ b/dev-requirements.txt
@@ -5,8 +5,8 @@
pytest-attrib >= 0.1.3
pytest-xvfb>=3.1.1
-pre-commit >= 4.6.0; python_version > "3.9"
-coverage>=7.15.0; python_version > "3.9"
+pre-commit >= 4.6.1; python_version > "3.9"
+coverage>=7.15.2; python_version > "3.9"
coverage==7.10.7; python_version == "3.9"
# required for coverage (T380697)
tomli>=2.4.1; python_version < "3.11"
diff --git a/pywikibot/__metadata__.py b/pywikibot/__metadata__.py
index dc63c3d..2a3cab1 100644
--- a/pywikibot/__metadata__.py
+++ b/pywikibot/__metadata__.py
@@ -12,6 +12,6 @@
from time import strftime
-__version__ = '11.6.0'
+__version__ = '11.7.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 de41702..b7d22a7 100644
--- a/scripts/__init__.py
+++ b/scripts/__init__.py
@@ -34,7 +34,7 @@
from pathlib import Path
-__version__ = '11.6.0'
+__version__ = '11.7.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 a2372b3..9b0760e 100644
--- a/scripts/pyproject.toml
+++ b/scripts/pyproject.toml
@@ -7,7 +7,7 @@
[project]
name = "pywikibot-scripts"
-version = "11.6.0"
+version = "11.7.0"
authors = [
{name = "xqt", email = "[email protected]"},
@@ -19,7 +19,7 @@
readme = "scripts/README.rst"
requires-python = ">=3.9.0"
dependencies = [
- "pywikibot >= 11.6.0",
+ "pywikibot >= 11.7.0",
"langdetect",
"mwparserfromhell",
"pydot",
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1313888?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: I061ab0173f27d81bb1a534d6f91a145206269036
Gerrit-Change-Number: 1313888
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]