mirror of
https://github.com/python/cpython.git
synced 2026-10-28 18:35:21 +08:00
[3.10] Docs: add standard-imghdr for compatibility with Python 3.13+ (#146623)
* Add standard-imghdr for compatibility with Python 3.11+ * Fix syntax for Python version condition in requirements * Update standard-imghdr version condition for Python 3.13
This commit is contained in:
1 parent
1d5fa349d7
commit
d9e8e8ec59
1 file changed
+2
@@ -10,6 +10,8 @@ sphinx==3.4.3
|
||||
docutils==0.17.1
|
||||
# Jinja version is pinned to a version compatible with Sphinx version <4.5.
|
||||
jinja2==3.0.3
|
||||
# Sphinx 3.4.3 uses imghdr which was removed from stdlib in Python 3.13
|
||||
standard-imghdr==3.13.0; python_version>'3.12'
|
||||
|
||||
blurb
|
||||
|
||||
|
||||
Reference in new issue
Block a user