Re: /usr/bin/sphinx-build is now in python3-sphinx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 25, 2015 at 03:07:35PM -0700, Orion Poplawski wrote:
> On 11/25/2015 02:50 PM, Zbigniew Jędrzejewski-Szmek wrote:
> > 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.
> 
> Thanks.  Probably should put these into a sphinx-tools package or similar at
> that point.

sphinx-build is again provided by python2-sphinx. I rebuilt packages which
meanwhile failed to build in koji:
python-AppTools, Mayavi, openstack-packstack, python-stem.

rpg fails to build, but for unrelated reasons: import failures in
doctests and tests.

Zbyszek
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux