jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1224646?usp=email )

Change subject: [doc] Retry using Sphinx 9
......................................................................

[doc] Retry using Sphinx 9

- update requirements to use Sphinx 9.1, including furo update
- filter DeprecationWarning which is often triggered by napoleon
- sort extension list

Bug: T413563
Change-Id: I963e0db86d2a44925c796031101d506e3ea52754
---
M docs/conf.py
M docs/requirements.txt
M pywikibot/__metadata__.py
3 files changed, 8 insertions(+), 8 deletions(-)

Approvals:
  jenkins-bot: Verified
  Xqt: Looks good to me, approved




diff --git a/docs/conf.py b/docs/conf.py
index c2572dc..499275d 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -35,6 +35,7 @@
 # Ignoring them.

 warnings.simplefilter(action='ignore', category=FutureWarning)
+warnings.simplefilter('ignore', category=DeprecationWarning)

 repo_dir = Path(__file__).resolve().parents[1]
 sys.path = [str(repo_dir), str(repo_dir / 'pywikibot')] + sys.path
@@ -47,14 +48,12 @@

 # If your documentation needs a minimal Sphinx version, state it here.
 #
-needs_sphinx = '8.2.3'
+needs_sphinx = '9.1.0'

 # Add any Sphinx extension module names here, as strings. They can be
 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
 # ones.
 extensions = [
-    'sphinx_copybutton',
-    'sphinx_tabs.tabs',
     'sphinx.ext.autodoc',
     'sphinx.ext.autosectionlabel',
     'sphinx.ext.autosummary',
@@ -62,10 +61,11 @@
     'sphinx.ext.linkcode',
     'sphinx.ext.napoleon',
     'sphinx.ext.viewcode',
+    'sphinx_copybutton',
+    'sphinx_tabs.tabs',
     'sphinxext.opengraph',
 ]

-
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']

diff --git a/docs/requirements.txt b/docs/requirements.txt
index 3246f12..e03a460 100644
--- a/docs/requirements.txt
+++ b/docs/requirements.txt
@@ -1,9 +1,9 @@
 # This is a PIP requirements file for building Sphinx documentation of 
Pywikibot
 # ../requirements.txt is also needed.
 # Note: Python 3.11 is required for sphinx 8.2+
-sphinx == 8.2.3
+sphinx >= 9.1.0
 rstcheck >=6.2.5
 sphinxext-opengraph >= 0.13.0
 sphinx-copybutton >= 0.5.2
 sphinx-tabs >= 3.4.7
-furo == 2025.9.25
+furo == 2025.12.19
diff --git a/pywikibot/__metadata__.py b/pywikibot/__metadata__.py
index 3d7879e..72662fb 100644
--- a/pywikibot/__metadata__.py
+++ b/pywikibot/__metadata__.py
@@ -3,7 +3,7 @@
 .. versionadded:: 4.0
 """
 #
-# (C) Pywikibot team, 2020-2025
+# (C) Pywikibot team, 2020-2026
 #
 # Distributed under the terms of the MIT license.
 #
@@ -12,6 +12,6 @@
 from time import strftime


-__version__ = '11.0.0.dev9'
+__version__ = '11.0.0.dev10'
 __url__ = 'https://www.mediawiki.org/wiki/Manual:Pywikibot'
 __copyright__ = f'2003-{strftime("%Y")}, Pywikibot team'

--
To view, visit 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1224646?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: I963e0db86d2a44925c796031101d506e3ea52754
Gerrit-Change-Number: 1224646
Gerrit-PatchSet: 4
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]

Reply via email to