Skip to content

[3.10] Docs: add standard-imghdr for compatibility with Python 3.13+#146623

Open
m-aciek wants to merge 3 commits intopython:3.10from
m-aciek:patch-2
Open

[3.10] Docs: add standard-imghdr for compatibility with Python 3.13+#146623
m-aciek wants to merge 3 commits intopython:3.10from
m-aciek:patch-2

Conversation

@m-aciek
Copy link
Copy Markdown
Contributor

@m-aciek m-aciek commented Mar 30, 2026

To keep Doc/requirements.txt self-contained for building with recent Python versions.

We pin docs on 3.10 branch to Sphinx 3.4.3, which uses imghdr which in turn was removed from stdlib in Python 3.13.

https://pypi.org/project/standard-imghdr/ is drop-in replacement for the imghdr.


📚 Documentation preview 📚: https://cpython-previews--146623.org.readthedocs.build/

@m-aciek m-aciek changed the title [3.10] Docs: add standard-imghdr for compatibility with Python 3.11+ [3.10] Docs: add standard-imghdr for compatibility with Python 3.13+ Apr 1, 2026
@m-aciek m-aciek marked this pull request as ready for review April 1, 2026 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant