<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/bindings/python-cffi, branch 0.39_rc3</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.39_rc3</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.39_rc3'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2025-03-14T00:18:15Z</updated>
<entry>
<title>bindings/python-cffi: fix docstring for message.header()</title>
<updated>2025-03-14T00:18:15Z</updated>
<author>
<name>Michael J Gruber</name>
<email>git@grubix.eu</email>
</author>
<published>2025-03-04T12:39:43Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5802f5d6269172222a6fccf5908eae833014917b'/>
<id>urn:sha1:5802f5d6269172222a6fccf5908eae833014917b</id>
<content type='text'>
The cffi bindings raise a LookupError in case a header is not present.
Adjust the docstring to say so.

The legacy bindings behaved differently, and this is one of the things
to be aware of when migrating to the cffi bindings.
</content>
</entry>
<entry>
<title>python: Fix message ID docstring</title>
<updated>2025-02-28T15:31:55Z</updated>
<author>
<name>Floris Bruynooghe</name>
<email>flub@devork.be</email>
</author>
<published>2025-02-24T20:08:19Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=ed29a9c37ec382fc2d5b1d1ecc1f1fb28a6769c6'/>
<id>urn:sha1:ed29a9c37ec382fc2d5b1d1ecc1f1fb28a6769c6</id>
<content type='text'>
The messageidb attribute does not exist.  The returned BinString type
already allows use as both strings and binary.  Presumably this was
written before that type was adopted.
</content>
</entry>
<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: fix documentation typo</title>
<updated>2025-02-22T10:59:48Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2025-02-15T19:27:51Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9782c8651192c1496541bd8949b7991c41528b3f'/>
<id>urn:sha1:9782c8651192c1496541bd8949b7991c41528b3f</id>
<content type='text'>
The method is actually called 'getall'.
</content>
</entry>
<entry>
<title>fix segfaults in Python cFFI API and add tests</title>
<updated>2025-02-07T16:13:16Z</updated>
<author>
<name>Lars Kotthoff</name>
<email>lars@larsko.org</email>
</author>
<published>2025-02-06T02:52:51Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9c1f6cf746725af7bbbb66e746c5d694723ac0eb'/>
<id>urn:sha1:9c1f6cf746725af7bbbb66e746c5d694723ac0eb</id>
<content type='text'>
Several iterators in the Python cFFI API destroyed the objects they iterated
over too early (when the iterator was exhausted), causing subsequent segfaults
in common cases like creating a list from the iterator. This patch fixes the
segfaults and add tests to ensure that they don't happen again.
</content>
</entry>
<entry>
<title>test: increase cffi timeout</title>
<updated>2022-08-16T07:29:39Z</updated>
<author>
<name>Michael J Gruber</name>
<email>git@grubix.eu</email>
</author>
<published>2022-08-14T15:22:17Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=760431c0a3216605d3690e963bb8fa3e3c8788cb'/>
<id>urn:sha1:760431c0a3216605d3690e963bb8fa3e3c8788cb</id>
<content type='text'>
By default, the test suite uses 2min for other tests and 5s for cffi
tests. Sporadically, this leads to test failures caused by the timeout
on slower or loaded test infrastructure (as seen on ppc64le in Fedora's
infrastructure during branch time).

Increase the cffi timeout to the same 2m=120s.

Signed-off-by: Michael J Gruber &lt;git@grubix.eu&gt;
</content>
</entry>
<entry>
<title>bindings/python-cffi: fix docstring</title>
<updated>2022-07-05T10:34:25Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-07-03T20:26:46Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=db44af75ad5a79b3fd5ecad93fe95195ef175ebd'/>
<id>urn:sha1:db44af75ad5a79b3fd5ecad93fe95195ef175ebd</id>
<content type='text'>
the method Database.get_message does exist any more (if it ever
did). This makes the docstring unhelpful as an example.
</content>
</entry>
<entry>
<title>lib: add NOTMUCH_STATUS_CLOSED_DATABASE, use in _n_d_ensure_writable</title>
<updated>2022-06-25T19:06:18Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-05-25T10:51:16Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=3f27cce71f9f154cb0c2134c32d41c31eb62a239'/>
<id>urn:sha1:3f27cce71f9f154cb0c2134c32d41c31eb62a239</id>
<content type='text'>
In order for a database to actually be writeable, it must be the case that it
is open, not just the correct type of Xapian object. By explicitely
checking, we are able to provide better error reporting, in particular
for the previously broken test in T566-lib-message.
</content>
</entry>
<entry>
<title>python-cffi: use config_pairs API in ConfigIterator</title>
<updated>2022-02-17T01:57:22Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-02-09T12:28:54Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9ddd13f75827f4972872c8766320c7cb80b1819b'/>
<id>urn:sha1:9ddd13f75827f4972872c8766320c7cb80b1819b</id>
<content type='text'>
This returns all of the config keys with non-empty values, not just
those that happen to be stored in the database.
</content>
</entry>
<entry>
<title>lib/open: no default mail root in split configurations</title>
<updated>2022-01-15T19:59:39Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-12-25T13:33:05Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=fad2e7540bf9309bfb335650ded753e9ed085eff'/>
<id>urn:sha1:fad2e7540bf9309bfb335650ded753e9ed085eff</id>
<content type='text'>
If we know the configuration is split, but there is no mail root
defined, this indicates a (lack of) configuration error. Currently
this can only arise in XDG configurations.
</content>
</entry>
</feed>
