Skip to content

Commit 25acd23

Browse files
authored
Remove upper pin on Sphinx version (#855)
Remove upper pin on Sphinx version * Workaround for autosummary warning
1 parent ff8e496 commit 25acd23

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ install_requires =
5151
eralchemy==1.2.*
5252
hieroglyph>=2.1.0
5353
setuptools>=50
54-
sphinx>=7.1, <7.4
54+
sphinx>=7.1, !=7.4.4
5555
sphinx-design>=0.5.0
5656
sphinx_rtd_theme>=1.0.0
5757
sphinxcontrib-svg2pdfconverter

src/conf.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,12 @@ def generate_task_icon_modifier_rst():
175175
('py:class', r'zmq\.asyncio\.\w+')
176176
]
177177

178+
suppress_warnings = [
179+
# Workaround https://github.com/sphinx-doc/sphinx/issues/12589
180+
# and https://github.com/sphinx-doc/sphinx/issues/12660:
181+
'autosummary.import_cycle',
182+
]
183+
178184
# List of patterns, relative to source directory, that match files and
179185
# directories to ignore when looking for source files.
180186
exclude_patterns = ['user-guide/examples/**README.rst']
@@ -326,5 +332,3 @@ def generate_task_icon_modifier_rst():
326332
# Create sentence case versions of wordlist:
327333
sentence_case = [word.capitalize() for word in words]
328334
sentence_case_file.write_text('\n'.join(sentence_case) + '\n')
329-
330-

0 commit comments

Comments
 (0)