Skip to content

make users-guide fails with python >= 3.13 #11020

Open
@philderbeast

Description

@philderbeast

Describe the bug
Running make users-guide fails with Python versions 3.13 and newer because the imghdr module was removed from the standard library after being deprecated in Python 3.11.

To Reproduce

$ make users-guide
...
Extension error:
Could not import extension sphinx.builders.epub3 (exception: No module named 'imghdr')
make[1]: *** [Makefile:40: ../dist-newstyle/doc/users-guide/index.html] Error 2
make[1]: Leaving directory '/home/.../cabal/doc'
make: *** [Makefile:287: users-guide] Error 2

System information

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 25.04
Release:	25.04
Codename:	plucky

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions