[Bug] Cannot build python3 bindings documentation of notmuch 0.28.1

Dan Čermák dan.cermak at posteo.net
Wed Feb 6 05:52:31 PST 2019


Hi list,

the python3 bindings documentation seems to be broken:

on OpenSUSE Tumbleweed and Fedora 29 (both have Python 3.7 and sphinx
1.7.6) I get this:

$ cd bindings/python/docs/
$ make dirhtml
sphinx-build -b dirhtml -d build/doctrees   source build/dirhtml
Running Sphinx v1.7.6

Configuration error:
There is a programable error in your configuration file:

Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/sphinx/config.py", line 161, in __init__
    execfile_(filename, config)
  File "/usr/lib/python3.7/site-packages/sphinx/util/pycompat.py", line 150, in execfile_
    exec_(code, _globals)
  File "conf.py", line 39, in <module>
    from notmuch import __VERSION__,__AUTHOR__
  File "/home/dan/packages/git.notmuchmail.org/git/notmuch/bindings/python/notmuch/__init__.py", line 54, in <module>
    from .database import Database
  File "/home/dan/packages/git.notmuchmail.org/git/notmuch/bindings/python/notmuch/database.py", line 25, in <module>
    from .globals import (
  File "/home/dan/packages/git.notmuchmail.org/git/notmuch/bindings/python/notmuch/globals.py", line 48, in <module>
    class NotmuchDatabaseS(Structure):
TypeError: __mro_entries__ must return a tuple

make: *** [Makefile:38: dirhtml] Error 2


Cheers,

Dan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20190206/890b9213/attachment.sig>


More information about the notmuch mailing list