[IPython-dev] Docs build broken on master, Qt API issues..
Fri Nov 4 11:57:36 CDT 2011
On Thu, Nov 3, 2011 at 22:20, Min RK <firstname.lastname@example.org> wrote:
> Should probably just add external.qt to the autodoc exclusions.
Turns out it already is, the issue is actually in
test_for('IPython.external.qt') in iptest, which will raise a ValueError
instead of Import/Runtime if sip API has been set (i.e. PyQt has been
imported already). Is there a good reason that test_for doesn't catch all
Exceptions instead of just Import/Runtime? If importing something raises
an exception, it's not importable. It shouldn't matter what that exception
is. Alternatively, we could turn the sip ValueError into an ImportError in
Both work, and are quick and easy fixes.
> On Nov 3, 2011, at 19:38, Fernando Perez <email@example.com> wrote:
> > Hi all,
> > Yarik of neurodebian fame just reported a failure to build the docs:
> > reading sources... [ 45%] api/generated/IPython.testing.iptest
> > Exception occurred:
> > File
> > line 20, in prepare_pyqt4
> > sip.setapi('QString', 2)
> > ValueError: API 'QString' has already been set to version 1
> > Can anyone think of what is causing this? I hadn't done a full build
> > doc recently, so I'm not sure when this snuck in, but obviously we
> > need to sort it out before we can consider a release...
> > Any ideas much appreciated.
> > Cheers,
> > f
> > _______________________________________________
> > IPython-dev mailing list
> > IPythonfirstname.lastname@example.org
> > http://mail.scipy.org/mailman/listinfo/ipython-dev
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev