Bug 609642 - sphinx-1.0b is breaking autodoc
Summary: sphinx-1.0b is breaking autodoc
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-sphinx
Version: 14
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Michel Lind
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-30 18:23 UTC by Toshio Kuratomi
Modified: 2014-08-18 13:16 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-18 05:28:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Toshio Kuratomi 2010-06-30 18:23:56 UTC
Description of problem:

Just tried to rebuild python-nose and got a failure in building the docs:
http://koji.fedoraproject.org/koji/taskinfo?taskID=2283973

Looking at the build.log, sphinx is failing here:

reading sources... [ 48%] plugins/allmodules
reST markup error:
<autodoc>:19: (SEVERE/4) Problems with "include" directive path:
IOError: [Errno 2] No such file or directory: 'builddir/build/BUILD/nose-0.11.3/nose/plugins/allmodules.py'.
make: *** [html] Error 1

Looks like the directory is missing an initial '/' (should be /builddir/build/BUILD/nose-0.11.3/nose/plugins/allmodules.py)


Version-Release number of selected component (if applicable):
python-sphinx-1.0-0.1.b2.fc14

How reproducible:
Everytime

Steps to Reproduce:
1. try to scratch build python-nose from the devel branch in rawhide
2.
3.

Additional info:

The same srpm will scratch build on F-13 where we have sphinx-0.6.6

Comment 1 Michel Lind 2010-07-02 15:23:14 UTC
Has upstream been contacted? If sphinx 1.0 is likely to be out in the F-14 time frame then we probably should encourage projects using it to upgrade to the new API.

If that does not happen fast enough, perhaps a compatibility package is needed (yikes).

Comment 2 Toshio Ernie Kuratomi 2010-07-02 15:37:52 UTC
Upstream hasn't been contacted yet -- I've got my hands in a lot of areas right now :-(  If you can reproduce and take it to upstream that would be great.

I haven't found precisely where the include path is being created but I think this is a simple bug rather than an API change.

Comment 3 Michel Lind 2010-07-02 15:47:47 UTC
Noticed after posting my comment that this is indeed just a simple bug -- I can reproduce it, but have not pinpointed the exact fault yet. Let me try looking at post-beta2 changes to see if this has actually been fixed.

Comment 4 Bug Zapper 2010-07-30 12:21:02 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 14 development cycle.
Changing version to '14'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 5 Toshio Ernie Kuratomi 2011-01-18 05:28:40 UTC
Looks to be fixed:

http://koji.fedoraproject.org/koji/taskinfo?taskID=2727800


Note You need to log in before you can comment on or make changes to this bug.