mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 20:38:08 +01:00
510dc8c837
The simplistic mocking in conf.py falls short on python 3.7. Just use unittest.mock instead. Fixes: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/sphinx/config.py", line 368, in eval_config_file execfile_(filename, namespace) File "/usr/lib/python3/dist-packages/sphinx/util/pycompat.py", line 150, in execfile_ exec_(code, _globals) File "/path/to/notmuch/bindings/python/docs/source/conf.py", line 39, in <module> from notmuch import __VERSION__,__AUTHOR__ File "/path/to/notmuch/bindings/python/notmuch/__init__.py", line 54, in <module> from .database import Database File "/path/to/notmuch/bindings/python/notmuch/database.py", line 25, in <module> from .globals import ( File "/path/to/notmuch/bindings/python/notmuch/globals.py", line 48, in <module> class NotmuchDatabaseS(Structure): TypeError: __mro_entries__ must return a tuple |
||
---|---|---|
.. | ||
conf.py | ||
database.rst | ||
filesystem.rst | ||
index.rst | ||
message.rst | ||
messages.rst | ||
notes.rst | ||
query.rst | ||
quickstart.rst | ||
status_and_errors.rst | ||
tags.rst | ||
thread.rst | ||
threads.rst |