Bug 1823530 - ipython fails to build with Sphinx 3.0.0
Summary: ipython fails to build with Sphinx 3.0.0
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ipython
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lumír Balhar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: SPHINX3
TreeView+ depends on / blocked
 
Reported: 2020-04-13 21:11 UTC by Charalampos Stratakis
Modified: 2020-04-14 23:30 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-04-14 12:17:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Charalampos Stratakis 2020-04-13 21:11:24 UTC
ipython fails to build with Sphinx 3.0.0.

Could not import extension configtraits (exception: cannot import name 'l_' from 'sphinx.locale' (/usr/lib/python3.8/site-packages/sphinx/locale/__init__.py))

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/cstratak/sphinx_3.0.0/fedora-rawhide-x86_64/01335447-ipython/

For all our attempts to build ipython with Sphinx 3.0.0, see:
https://copr.fedorainfracloud.org/coprs/cstratak/sphinx_3.0.0/package/ipython/

Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Sphinx 3:
https://copr.fedorainfracloud.org/coprs/cstratak/sphinx_3.0.0/

Let us know here if you have any questions.

Sphinx 3 will be included in Fedora 33. To make that update smoother, we're building the dependent packages in Copr.
We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 Lumír Balhar 2020-04-14 09:20:09 UTC
The problem is caused by an import of a deprecated function `l_` in docs/sphinxext/configtraits.py. It seems to me that both imports in the file are useless so I've filled an upstream PR to remove them and we'll see what CI thinks about it: https://github.com/ipython/ipython/pull/12235

Downstream PR: https://src.fedoraproject.org/rpms/ipython/pull-request/8

Comment 2 Lumír Balhar 2020-04-14 12:17:06 UTC
Merged to master branch. No need for a rebuild.

Copr build: https://copr.fedorainfracloud.org/coprs/cstratak/sphinx_3.0.0/builds/?dirname=sphinx_3.0.0:pr:8

Comment 3 Charalampos Stratakis 2020-04-14 23:30:57 UTC
Thanks for the fix!


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