We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e223bca commit e1cb553Copy full SHA for e1cb553
sphinx_jinja2_compat/__init__.py
@@ -75,7 +75,13 @@
75
# Ensure sphinx_prompt can also be imported from sphinx-prompt
76
# (whether due to https://github.com/sbrunner/sphinx-prompt/issues/612
77
# or building from source or an eventual deliberate removal)
78
+
79
+ if sys.version_info >= (3, 12):
80
+ # Ensure distutils is patched first
81
+ __import__("_distutils_hack").add_shim()
82
83
try:
84
+ # 3rd party
85
import sphinx_prompt
86
except ImportError:
87
pass
0 commit comments