Matej Cepl
0f267ba848
- Remove upstreamed patches: - CVE-2023-27043-email-parsing-errors.patch - CVE-2024-4032-private-IP-addrs.patch - CVE-2024-6923-email-hdr-inject.patch - CVE-2024-8088-inf-loop-zipfile_Path.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python310?expand=0&rev=146
22 lines
808 B
Diff
22 lines
808 B
Diff
---
|
|
Doc/tools/extensions/pyspecific.py | 8 +++++++-
|
|
1 file changed, 7 insertions(+), 1 deletion(-)
|
|
|
|
--- a/Doc/tools/extensions/pyspecific.py
|
|
+++ b/Doc/tools/extensions/pyspecific.py
|
|
@@ -27,7 +27,13 @@ try:
|
|
except ImportError:
|
|
from sphinx.environment import NoUri
|
|
from sphinx.locale import _ as sphinx_gettext
|
|
-from sphinx.util import status_iterator, logging
|
|
+try:
|
|
+ from sphinx.util.display import status_iterator
|
|
+except ImportError:
|
|
+ # This method was moved into sphinx.util.display in Sphinx 6.1.0. Before
|
|
+ # that it resided in sphinx.util.
|
|
+ from sphinx.util import status_iterator
|
|
+from sphinx.util import logging
|
|
from sphinx.util.nodes import split_explicit_title
|
|
from sphinx.writers.text import TextWriter, TextTranslator
|
|
from sphinx.writers.latex import LaTeXTranslator
|