mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 20:08:10 +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 |
||
---|---|---|
.. | ||
docs | ||
notmuch | ||
.gitignore | ||
MANIFEST.in | ||
README | ||
setup.py |
notmuch -- The python interface to notmuch ========================================== This module makes the functionality of the notmuch library (`https://notmuchmail.org`_) available to python. Successful import of this module depends on a libnotmuch.so|dll being available on the user's system. If you have downloaded the full source tarball, you can create the documentation with sphinx installed, go to the docs directory and "make html". A static version of the documentation is available at: https://notmuch.readthedocs.io/projects/notmuch-python/ To build the python bindings, do python setup.py install --prefix=path/to/your/preferred/location