Xqt has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1221593?usp=email )

Change subject: Revert "Use Sphinx 8.2.3"
......................................................................

Revert "Use Sphinx 8.2.3"

This reverts commit 5edf4e01c9813ca36cb27aa02b22f9dbf096e676.

Reason for revert: Test sphinx 9 with autodoc_use_legacy_class_based

Change-Id: Ide58c900cbda25192133167d420f7d8c38c9a0ab
---
M docs/conf.py
M docs/requirements.txt
M pywikibot/__metadata__.py
3 files changed, 4 insertions(+), 2 deletions(-)

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




diff --git a/docs/conf.py b/docs/conf.py
index da9772b..8cb3ee8 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -468,6 +468,8 @@
 show_authors = True
 todo_include_todos = True
 autodoc_typehints = 'description'
+autodoc_use_legacy_class_based = True  # T413563
+
 # autosectionlabel_prefix_document = True
 suppress_warnings = ['autosectionlabel.*']
 toc_object_entries_show_parents = 'hide'
diff --git a/docs/requirements.txt b/docs/requirements.txt
index 1af4509..40ec37e 100644
--- a/docs/requirements.txt
+++ b/docs/requirements.txt
@@ -1,7 +1,7 @@
 # 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 >= 8.2.3
 rstcheck >=6.2.5
 sphinxext-opengraph >= 0.13.0
 sphinx-copybutton >= 0.5.2
diff --git a/pywikibot/__metadata__.py b/pywikibot/__metadata__.py
index a934ff9..8367f21 100644
--- a/pywikibot/__metadata__.py
+++ b/pywikibot/__metadata__.py
@@ -12,6 +12,6 @@
 from time import strftime


-__version__ = '11.0.0.dev5'
+__version__ = '11.0.0.dev6'
 __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/+/1221593?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: Ide58c900cbda25192133167d420f7d8c38c9a0ab
Gerrit-Change-Number: 1221593
Gerrit-PatchSet: 5
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