From: David Bremner <david@tethera.net>
To: notmuch@notmuchmail.org
Subject: Re: [RFC] test: build python docs
Date: Sun, 24 Dec 2017 09:44:07 -0400 [thread overview]
Message-ID: <87mv2844wo.fsf@tethera.net> (raw)
In-Reply-To: <20171224131452.811-1-david@tethera.net>
David Bremner <david@tethera.net> writes:
> The idea is to consider any warning from sphinx-build as a test
> failure. This requires the -W option, which we probably don't want for
> builds.
> ---
>
> I'm not sure the best way to do this. An alternative approach would be
> to build the python docs during the main build (much as we currently
> build the ruby bindings). I suspect we'd want some way to disable the
> "-W" option to sphinx-build in that case, so that python doc failures
> don't break the entire build. On the other hand, for distros breaking
> the test suite is pretty much equivalent to breaking the build. In the
> proposed patch the test could be disabled by dropping sphinx-build
> from the test env (which makes the man pages go away), or by patching
> the single test out.
Sure enough, no sooner do I send this and fix the warning about
get_config_list, I get others that I don't see an obvious fix for:
/home/bremner/software/upstream/notmuch/bindings/python/docs/source/status_and_errors.rst:17: WARNING: error while formatting arguments for notmuch.STATUS: 'Status' object has no attribute '__bases__'
/home/bremner/software/upstream/notmuch/bindings/python/docs/source/threads.rst:14: WARNING: don't know which module to import for autodocumenting u'__str__' (try placing a "module" or "currentmodule" directive in the document, or giving an explicit module name)
prev parent reply other threads:[~2017-12-24 13:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-24 13:14 [RFC] test: build python docs David Bremner
2017-12-24 13:44 ` David Bremner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mv2844wo.fsf@tethera.net \
--to=david@tethera.net \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).