Skip to content

Commit 3444d22

Browse files
committed
MAINT: some more post sphinx 9.0 cleanup
1 parent 120a605 commit 3444d22

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ packages = find:
2121
python_requires = >=3.10
2222
install_requires =
2323
packaging
24-
sphinx>=4
24+
sphinx>=5
2525

2626
[options.extras_require]
2727
test =

sphinx_automodapi/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
'find_mod_objs',
1313
'find_autosummary_in_lines_for_automodsumm']
1414

15-
SPHINX_LT_8_3 = Version(sphinx.__version__) < Version("8.3.dev")
15+
SPHINX_LT_9 = Version(sphinx.__version__) < Version("9.0")
1616

1717
# We use \n instead of os.linesep because even on Windows, the generated files
1818
# use \n as the newline character.
@@ -244,7 +244,7 @@ def get_object_type(app, obj, parent):
244244
another Python object (e.g. a module or a class) to which *obj*
245245
belongs to.
246246
"""
247-
if SPHINX_LT_8_3:
247+
if SPHINX_LT_9:
248248
from sphinx.ext.autosummary import get_documenter
249249

250250
documenter = get_documenter(app, obj, parent)

0 commit comments

Comments
 (0)