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.
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
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
Thanks for the fix!