[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:
Maciej Olko authored and GitHub committed 2026-08-13 00:30:44 +00:00
1 parent 1d5fa349d7
commit d9e8e8ec59
1 file changed
+2
+2
View File
@@ -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