On Tue, Aug 15, 2017 at 05:46:29PM +0300, Dmitry Shachnev wrote: > celery fails to build with Sphinx 1.6, currently available in experimental: > > [...] > > This commit from upstream Celery should fix this: > https://github.com/celery/celery/commit/3c98e6216167d7e5
Sorry, that commit is not enough, because after applying it the build fails
with a new error:
Traceback (most recent call last):
[...]
File "/usr/lib/python2.7/dist-packages/sphinx/domains/std.py", line 592, in
note_citation_refs
if node['refdomain'] == 'std' and node['reftype'] == 'citation':
File "/usr/lib/python2.7/dist-packages/docutils/nodes.py", line 567, in
__getitem__
return self.attributes[key]
KeyError: 'refdomain'
So you also need to apply this patch to docs/_ext/githubsphinx.py file:
https://github.com/celery/sphinx_celery/commit/28d8f42b43d5a28a
After applying both patches the build succeeds.
--
Dmitry Shachnev
signature.asc
Description: PGP signature
_______________________________________________ Python-modules-team mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

