On Wed, Nov 25, 2015 at 02:36:22PM -0700, Orion Poplawski wrote:
> On 11/25/2015 02:13 PM, Orion Poplawski wrote:
> > On 11/25/2015 01:41 PM, Orion Poplawski wrote:
> >> If you use sphinx-build in your package, you need to BR/R
> >> /usr/bin/sphinx-build instead of python-sphinx.
> >>
> >
> > but apparently prematurely as /usr/bin/sphinx-build is not written in
> > python3:
> >
> > sphinx-build -b html -d build/mayavi/doctrees source/mayavi
> > build/mayavi/html
> > Running Sphinx v1.3.1
> > making output directory...
> > Exception occurred:
> > File "/usr/lib/python3.5/site-packages/sphinx/application.py", line 429,
> > in
> > setup_extension
> > mod = __import__(extension, None, None, ['setup'])
> > File
> > "/builddir/build/BUILD/mayavi-4.4.3/docs/source/mayavi/sphinxext/traitsdoc.py",
> > line
> > 129
> > print "[numpydoc] Phantom importing modules from", fn, "..."
> > ^
> > SyntaxError: Missing parentheses in call to 'print'
> >
> > https://bugzilla.redhat.com/show_bug.cgi?id=1285535
> >
>
> Ah, crap, no it looks like we need to update the sphinx using packages to
> python3.
Nah, this requires more preparation. I'll revert the change to use
python3 in /usr/bin/sphinx-{build,apidoc,autogen,quickstart}, and
we can try prepare for the switch and do it at some later point.
Zbyszek
--
devel mailing list
[email protected]
http://lists.fedoraproject.org/admin/lists/[email protected]