jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1309769?usp=email )
Change subject: r11.6: Prepare next release Pywikibot 11.6
......................................................................
r11.6: Prepare next release Pywikibot 11.6
Change-Id: I9df10089dfcd4685dbfea91d2e1d2f33996e71ba
---
M .pre-commit-config.yaml
M HISTORY.rst
M ROADMAP.rst
M dev-requirements.txt
M pywikibot/__metadata__.py
M pywikibot/pagegenerators/__init__.py
M scripts/__init__.py
M scripts/pyproject.toml
8 files changed, 29 insertions(+), 22 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index bdc4119..7694429 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.2.0
+ rev: v2.3.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.20
+ rev: v0.15.21
hooks:
- id: ruff-check
alias: ruff
@@ -96,7 +96,7 @@
name: isort (skip future annotations)
files: ^(pwb|pywikibot/families/__init__)\.py$
- repo: https://github.com/jshwi/docsig
- rev: v0.89.0
+ rev: v0.90.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.1.0
+ rev: v2.2.0
hooks:
- id: mypy
args: [--config-file=pyproject.toml, --follow-imports=silent]
diff --git a/HISTORY.rst b/HISTORY.rst
index 2977d6c..49009cf 100644
--- a/HISTORY.rst
+++ b/HISTORY.rst
@@ -1,6 +1,23 @@
Release History
===============
+11.5.0
+------
+*11 July 2026*
+
+* Dreprecate ``cross_projects`` :mod:`family.Family` settings (:phab:`T431178`)
+* Deprecate :func:`family.Family.post_get_convert` and
+ :func:`family.Family.pre_put_convert` functions (:phab:`T431188`)
+* Update :mod:`families.wikiquote_family`
+* Add support for minwikiquote (:phab:`T429945`)
+* Rename ``exceptions.TimeoutError`` exception to
:exc:`exceptions.ApiTimeoutError` to avoid
+ collision with Python's built-in exception (:phab:`T431174`)
+* Drop :mod:`config` ``textfile_encoding`` variable and use 'utf-8' directly
instead (:phab:`T430454`)
+* Use pyclean package with :mod:`make_dist` script.
+* Fix redirected link for :class:`pagegenerators.PetScanPageGenerator`
+* Update translations (i18n)
+
+
11.4.2
------
*26 June 2026*
diff --git a/ROADMAP.rst b/ROADMAP.rst
index 792b640..1c37e4b 100644
--- a/ROADMAP.rst
+++ b/ROADMAP.rst
@@ -1,17 +1,7 @@
-Release 11.5
+Release 11.6
============
-* Dreprecate ``cross_projects`` :mod:`family.Family` settings (:phab:`T431178`)
-* Deprecate :func:`family.Family.post_get_convert` and
- :func:`family.Family.pre_put_convert` functions (:phab:`T431188`)
-* Update :mod:`families.wikiquote_family`
-* Add support for minwikiquote (:phab:`T429945`)
-* Rename ``exceptions.TimeoutError`` exception to
:exc:`exceptions.ApiTimeoutError` to avoid
- collision with Python's built-in exception (:phab:`T431174`)
-* Drop :mod:`config` ``textfile_encoding`` variable and use 'utf-8' directly
instead (:phab:`T430454`)
-* Use pyclean package with :mod:`make_dist` script.
-* Fix redirected link for :class:`pagegenerators.PetScanPageGenerator`
-* Update translations (i18n)
+* (no changes yet)
Deprecations
diff --git a/dev-requirements.txt b/dev-requirements.txt
index a1ae267..29fe681 100644
--- a/dev-requirements.txt
+++ b/dev-requirements.txt
@@ -6,7 +6,7 @@
pytest-xvfb>=3.1.1
pre-commit >= 4.6.0; python_version > "3.9"
-coverage>=7.14.3; python_version > "3.9"
+coverage>=7.15.0; 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 4f9e22c..cdaa8f1 100644
--- a/pywikibot/__metadata__.py
+++ b/pywikibot/__metadata__.py
@@ -12,6 +12,6 @@
from time import strftime
-__version__ = '11.5.0'
+__version__ = '11.6.0.dev0'
__url__ = 'https://www.mediawiki.org/wiki/Manual:Pywikibot'
__copyright__ = f'2003-{strftime("%Y")}, Pywikibot team'
diff --git a/pywikibot/pagegenerators/__init__.py
b/pywikibot/pagegenerators/__init__.py
index bc1fd7a..d0221d7 100644
--- a/pywikibot/pagegenerators/__init__.py
+++ b/pywikibot/pagegenerators/__init__.py
@@ -620,7 +620,7 @@
sleep_duration: int = 60,
total: int | None = None,
**kwargs: Any,
-) -> Generator[pywikibot.page.Page]:
+) -> Generator[pywikibot.page.BasePage]:
"""Yield items in live time.
The provided generator must support parameter 'start', 'end',
diff --git a/scripts/__init__.py b/scripts/__init__.py
index 58825c8..de41702 100644
--- a/scripts/__init__.py
+++ b/scripts/__init__.py
@@ -34,7 +34,7 @@
from pathlib import Path
-__version__ = '11.5.0'
+__version__ = '11.6.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 f0b2c26..a2372b3 100644
--- a/scripts/pyproject.toml
+++ b/scripts/pyproject.toml
@@ -7,7 +7,7 @@
[project]
name = "pywikibot-scripts"
-version = "11.5.0"
+version = "11.6.0"
authors = [
{name = "xqt", email = "[email protected]"},
@@ -19,7 +19,7 @@
readme = "scripts/README.rst"
requires-python = ">=3.9.0"
dependencies = [
- "pywikibot >= 11.5.0",
+ "pywikibot >= 11.6.0",
"langdetect",
"mwparserfromhell",
"pydot",
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1309769?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: I9df10089dfcd4685dbfea91d2e1d2f33996e71ba
Gerrit-Change-Number: 1309769
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]