Bug 215520 - www/py-django110: Docs build fails
Summary: www/py-django110: Docs build fails
Status: Closed Not Accepted
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-python (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-23 16:00 UTC by Melvyn Sopacua
Modified: 2017-02-13 16:48 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (python)


Attachments
Sphinx error logfile (6.55 KB, text/plain)
2016-12-23 16:00 UTC, Melvyn Sopacua
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Melvyn Sopacua 2016-12-23 16:00:51 UTC
Created attachment 178230 [details]
Sphinx error logfile

Django 1.10.4 docs no longer build.

Sphinx 1.4.8 fails earlier and at different point then forthcoming 1.5.1 (#215311). Log for Sphinx 1.51 attached. Upstream tag 1.10.4 doesn't have this issue with 1.4.6 Sphinx.
Comment 1 Melvyn Sopacua 2016-12-23 16:07:39 UTC
Between working and not working environments version of py35-docutils seems to be the culprit and log also points there. Checking revert of py35-docutils to 0.12_1.
Comment 2 Melvyn Sopacua 2016-12-23 16:44:09 UTC
docutils version is a red herring.

Cannot see any significant changes in [1]. In theory it should register visit_snippet as per line 61. It is like `snippet_with_filename` is not registered as node at all or delegation is broken.
Comment 4 Melvyn Sopacua 2017-01-01 17:14:02 UTC
This is a bug in py-docutils 0.13.

Finally narrowed it down by recursively downgrading each dependency to the same version of a working environment.
I can't even begin to debug where the real issue is, but as opposed to stated earlier, py-docutils is *NOT* a red herring - but... apparently sphinx is transforming as well to adapt to the new docutils and so as of now, I can say that only Sphinx 1.4.6 and docutils 0.12_1 is a working combination, whereas Sphinx 1.4.6 and docutils 0.13 is not, nor is Sphinx 1.5.1 and docutils 0.12_1.

The generated errors shift between versions and have little diagnostic info about the root cause (at least for me not being intimate with docutils and/or sphinx internals).

As it is (or at least was a week ago) - the HTMLDOCS option in www/py-django110 is BROKEN and should probably be marked as such.
Comment 5 Melvyn Sopacua 2017-02-13 16:48:02 UTC
No takers.