<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/bindings/python-cffi/setup.py, branch 0.40</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.40</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.40'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2025-02-22T11:10:13Z</updated>
<entry>
<title>bindings/python: strip ~ from python version</title>
<updated>2025-02-22T11:10:13Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2025-02-15T19:49:53Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8bc1fccbf9c0dfea8c1d04a0727153436665d44a'/>
<id>urn:sha1:8bc1fccbf9c0dfea8c1d04a0727153436665d44a</id>
<content type='text'>
Inspired by a suggestion of Xiyue Deng, this change ensures that
the python bindings have a version that recent setuptools is happy
with.

This will have the unfortunate side effect of the python view of the
version number differing from the rest of notmuch for the
pre-releases. The alternative would be to transform the version
numbers for the Debian packages for the pre-releases, as there is now
no version scheme that works for both, since setuptools started
rejecting versions with "~" in them.  If we decide to go the latter
way in the future, this change is easy to revert.
</content>
</entry>
<entry>
<title>python-cffi: fix out-of-tree build</title>
<updated>2021-12-05T13:08:48Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-10-31T10:03:54Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f17d75b83c90ae4ea75f79377f3acb873b9e564e'/>
<id>urn:sha1:f17d75b83c90ae4ea75f79377f3acb873b9e564e</id>
<content type='text'>
The main idea is to replace the hack of copying version.txt into the
bindings source with a generated _notmuch_config.py file.

This will mean that the bindings only build after configuring and
building notmuch itself. Given those constraints, "pip install ."
should work.
</content>
</entry>
<entry>
<title>Rename version to version.txt</title>
<updated>2020-10-30T19:14:24Z</updated>
<author>
<name>Ralph Seichter</name>
<email>github@seichter.de</email>
</author>
<published>2020-10-28T14:44:35Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=981d5a01689937ba45f3cd9dbdcdc65e6d264286'/>
<id>urn:sha1:981d5a01689937ba45f3cd9dbdcdc65e6d264286</id>
<content type='text'>
Building Notmuch on macOS is known to cause problems because the Notmuch
distribution archive contains two files named "version". These names
clash with the &lt;version&gt; header as defined in C++20. Therefore, the
existing naming will likely become a problem on other platforms as well,
once compilers adopt the new standard.

Signed-off-by: Ralph Seichter &lt;github@seichter.de&gt;
Amended-by: db s/keyword/header/ in commit message.
</content>
</entry>
<entry>
<title>bindings/python-cffi: copy version file into bindings dir</title>
<updated>2020-07-03T09:38:55Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-06-30T00:22:47Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=3a42abb456893b71b530f099a1467400f2b0ea71'/>
<id>urn:sha1:3a42abb456893b71b530f099a1467400f2b0ea71</id>
<content type='text'>
Attempt to avoid breaking "pip install ."

As far as I can tell, we need to have a copy (not just a relative
symlink) of the version file.
</content>
</entry>
<entry>
<title>python-cffi: read version from notmuch version file</title>
<updated>2020-06-19T10:01:13Z</updated>
<author>
<name>Floris Bruynooghe</name>
<email>flub@devork.be</email>
</author>
<published>2020-06-19T09:46:28Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=81057164cddf6a5c1d4c30a23767c4de8e615c1c'/>
<id>urn:sha1:81057164cddf6a5c1d4c30a23767c4de8e615c1c</id>
<content type='text'>
This keeps it in sync with the main notmuch version which is less
confusing to users.
</content>
</entry>
<entry>
<title>Rename package to notmuch2</title>
<updated>2019-12-03T12:12:30Z</updated>
<author>
<name>Floris Bruynooghe</name>
<email>flub@devork.be</email>
</author>
<published>2019-11-17T16:41:35Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e2df30f7a98f91543d0b3561dbb366eb4b3d812c'/>
<id>urn:sha1:e2df30f7a98f91543d0b3561dbb366eb4b3d812c</id>
<content type='text'>
This is based on a previous discussion on the list where this was more
or less seen as the least-bad option.
</content>
</entry>
<entry>
<title>Introduce CFFI-based python bindings</title>
<updated>2019-12-03T12:12:30Z</updated>
<author>
<name>Floris Bruynooghe</name>
<email>flub@google.com</email>
</author>
<published>2019-10-08T21:03:12Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=83c2d158983875bf77a9b7662894df585b61741c'/>
<id>urn:sha1:83c2d158983875bf77a9b7662894df585b61741c</id>
<content type='text'>
This introduces CFFI-based Python3-only bindings.
The bindings aim at:
- Better performance on pypy
- Easier to use Python-C interface
- More "pythonic"
  - The API should not allow invalid operations
  - Use native object protocol where possible
- Memory safety; whatever you do from python, it should not coredump.
</content>
</entry>
</feed>
