notmuch version/Python bindings

Subject: notmuch version/Python bindings

Date: Thu, 16 Feb 2017 16:09:38 +0200

To: notmuch@notmuchmail.org

Cc:

From: Aryeh Leib Taurog


The latest notmuch includes libnotmuch.so.4.4.0 but the latest python 
bindings wrap libnotmuch.so.3 so importing from notmuch results in the 
following error:

  File "/home/altaurog/venv/offlineimap/lib/python2.7/site-packages/notmuch/__init__.py", line 54, in <module>
    from .database import Database
  File "/home/altaurog/venv/offlineimap/lib/python2.7/site-packages/notmuch/database.py", line 24, in <module>
    from .globals import (
  File "/home/altaurog/venv/offlineimap/lib/python2.7/site-packages/notmuch/globals.py", line 27, in <module>
    raise ImportError("Could not find shared 'notmuch' library.")
ImportError: Could not find shared 'notmuch' library.

I changed it to libnotmuch.so.4 in globals.py and it seems to work.  
Is that reasonable or should I expect problems?

Thread: