<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/bindings/python/docs/source, branch feature/git-remote</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=feature%2Fgit-remote</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=feature%2Fgit-remote'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2025-02-22T11:01:47Z</updated>
<entry>
<title>python: move legacy python bindings to contrib.</title>
<updated>2025-02-22T11:01:47Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2025-02-15T19:30:43Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d526797ad198e394bb8b4909f43976b76fb347f1'/>
<id>urn:sha1:d526797ad198e394bb8b4909f43976b76fb347f1</id>
<content type='text'>
This forces us to verify the build and test suite completes without
the legacy python bindings.

As of this commit the legacy python bindings are unsupported by
notmuch. They are provided in contrib/ for now, but will most likely
eventually be removed from there as well. We recommend that
downstream/distro packagers phase out their packages for the legacy
python bindings.
</content>
</entry>
<entry>
<title>docs: Update intersphinx_mapping</title>
<updated>2024-12-08T13:07:45Z</updated>
<author>
<name>Fredrik Lönnegren</name>
<email>fredrik@frelon.se</email>
</author>
<published>2024-12-05T16:45:50Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=969b26704da11c9e1935e5b442f6a88b32bb7e22'/>
<id>urn:sha1:969b26704da11c9e1935e5b442f6a88b32bb7e22</id>
<content type='text'>
Running `make dirhtml` in bindings/python/docs generates the following
error:

```
sphinx-build -b dirhtml -d build/doctrees   source build/dirhtml
Running Sphinx v8.0.2
loading translations [en]... done
making output directory... done
Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 'restructuredtext'}`.
ERROR: Invalid value `None` in intersphinx_mapping['https://docs.python.org/']. Expected a two-element tuple or list.
```

This commit updates intersphinx_mapping to follow the latest docs [1]

[1] https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html

Signed-off-by: Fredrik Lönnegren &lt;fredrik@frelon.se&gt;
</content>
</entry>
<entry>
<title>python: fix threads.__str__ automethod documentation</title>
<updated>2019-02-16T13:03:56Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2019-02-11T18:22:37Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0888639489dcde2b60e425d76842a4970e444cf6'/>
<id>urn:sha1:0888639489dcde2b60e425d76842a4970e444cf6</id>
<content type='text'>
Indent the directive properly to attach it to Threads autoclass
documentation.

Fixes:

WARNING: don't know which module to import for autodocumenting
'__str__' (try placing a "module" or "currentmodule" directive in the
document, or giving an explicit module name)
</content>
</entry>
<entry>
<title>python: fix documentation title underline</title>
<updated>2019-02-16T13:02:55Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2019-02-11T18:22:36Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=528e5ba2c8a6a8585a3508dee549b2880dfca671'/>
<id>urn:sha1:528e5ba2c8a6a8585a3508dee549b2880dfca671</id>
<content type='text'>
Fix documentation build sphinx warning:

filesystem.rst:18: WARNING: Title underline too short.
</content>
</entry>
<entry>
<title>python: fix documentation build with python 3.7</title>
<updated>2019-02-16T12:42:13Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani.nikula@intel.com</email>
</author>
<published>2019-02-11T18:22:35Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=510dc8c8377e4fef1e96c13c2ea3f25f4b51c889'/>
<id>urn:sha1:510dc8c8377e4fef1e96c13c2ea3f25f4b51c889</id>
<content type='text'>
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 &lt;module&gt;
    from notmuch import __VERSION__,__AUTHOR__
  File "/path/to/notmuch/bindings/python/notmuch/__init__.py", line 54, in &lt;module&gt;
    from .database import Database
  File "/path/to/notmuch/bindings/python/notmuch/database.py", line 25, in &lt;module&gt;
    from .globals import (
  File "/path/to/notmuch/bindings/python/notmuch/globals.py", line 48, in &lt;module&gt;
    class NotmuchDatabaseS(Structure):
TypeError: __mro_entries__ must return a tuple
</content>
</entry>
<entry>
<title>move more http -&gt; https</title>
<updated>2018-05-03T23:59:20Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2018-04-29T08:35:30Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c20a5eb80520a11cb697a45b0d9553c68e2199c8'/>
<id>urn:sha1:c20a5eb80520a11cb697a45b0d9553c68e2199c8</id>
<content type='text'>
Correct URLs that have crept into the notmuch codebase with http://
when https:// is possible.

As part of this conversion, this changeset also indicates the current
preferred upstream URLs for both gmime and sup.  the new URLs are
https-enabled, the old ones are not.

This also fixes T310-emacs.sh, thanks to Bremner for catching it.
</content>
</entry>
<entry>
<title>python: add bindings for notmuch_message_get_propert(y/ies)</title>
<updated>2018-05-02T23:16:11Z</updated>
<author>
<name>Ruben Pollan</name>
<email>meskio@sindominio.net</email>
</author>
<published>2018-05-02T17:01:01Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5e05f00fe59d2f2d7dceadefaab30bcc12b0e8df'/>
<id>urn:sha1:5e05f00fe59d2f2d7dceadefaab30bcc12b0e8df</id>
<content type='text'>
Message.get_property (prop) returns a string with the value of the property and
Message.get_properties (prop, exact=False) yields key, value pairs
</content>
</entry>
<entry>
<title>Fix typos as found by codespell</title>
<updated>2018-03-24T23:09:54Z</updated>
<author>
<name>Georg Faerber</name>
<email>georg@riseup.net</email>
</author>
<published>2018-03-18T02:30:25Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c117306f2dfcdf705ef3433962d227d1cb39eb90'/>
<id>urn:sha1:c117306f2dfcdf705ef3433962d227d1cb39eb90</id>
<content type='text'>
Signed-off-by: Georg Faerber &lt;georg@riseup.net&gt;
</content>
</entry>
<entry>
<title>python: Fix method name in docs</title>
<updated>2017-12-24T13:17:06Z</updated>
<author>
<name>l-m-h@web.de</name>
<email>l-m-h@web.de</email>
</author>
<published>2017-12-22T22:26:49Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e0ac149955686353570c19c9949c9032d46fb30f'/>
<id>urn:sha1:e0ac149955686353570c19c9949c9032d46fb30f</id>
<content type='text'>
Fix a method rename in the docs that was overlooked in
3444c731d27fd42bbbdaae00af6ca48b4525b03b.
</content>
</entry>
<entry>
<title>python: add bindings to access config</title>
<updated>2017-12-19T10:36:30Z</updated>
<author>
<name>l-m-h@web.de</name>
<email>l-m-h@web.de</email>
</author>
<published>2017-12-07T11:40:46Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6c6b0f13ffc3988b0f31774b33b8215be02abaa9'/>
<id>urn:sha1:6c6b0f13ffc3988b0f31774b33b8215be02abaa9</id>
<content type='text'>
The C functions notmuch_database_get_config,
notmuch_database_get_config_list and notmuch_database_set_config are
part of the official C bindings.  So there should also be some python
bindings for them.

Also they are the only way to access the named queries introduced in
b9bf3f44.

The interface of the python functions is designed to be close to the C
functions.
</content>
</entry>
</feed>
