You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've gone ahead and rescued imghdr similar to audioop here
similar state with it being a small, stable piece of the standard library that required no further changes and could have been left "as-is".
I'll open a PR with it as a docs-only, 3.13+ only dependency, but I'm not particularly attached. We'd need to upgrade to at least sphinx 6.6 to get to a version where sphinx does not depend on this.
Summary
Building the docs on 3.13 results in an import exception because imghdr has been removed in 3.13
Reproduction Steps
Minimal Reproducible Code
Expected Results
The docs are successfully built and I can access them
Actual Results
Running Sphinx v4.4.0
Extension error:
Could not import extension sphinx.builders.epub3 (exception: No module named 'imghdr')
Intents
doesn't apply
System Information
Checklist
Additional Context
This came from a discord.py help thread
The text was updated successfully, but these errors were encountered: