notmuch version/Python bindings
Aryeh Leib Taurog
python at aryehleib.com
Thu Feb 16 06:58:50 PST 2017
Okay, makes sense. Might I suggest a new release on pypi, then?
On Thu, Feb 16, 2017 at 10:24:16AM -0400, David Bremner wrote:
> Aryeh Leib Taurog <python at aryehleib.com> writes:
> > 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?
> I'd say you should get your python bindings from the same place you get
> libnotmuch. In the latest released source (and in git master), the
> SOVERSION in version.py matches, and globals.py uses that.
More information about the notmuch