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

Bug#963647: elpy: FTBFS with Sphinx 3.1: Could not import extension elispdomain (exception: cannot import name 'l_' from 'sphinx.locale' (/usr/lib/python3/dist-packages/sphinx/locale/__init__.py))



Hi Nicholas!

On Mon, Jun 29, 2020 at 10:09:49PM -0400, Nicholas D Steeves wrote:
> Is it really as obvious as it seems?  I feel very naive trusting the
> following without having confirmed it's correct via migrations docs.  It
> appears to produce identical output to the version of Sphinx in sid
> without the patch.  Does this look correct to you?  (I'm ready to
> upload)

Yes, it's really that obvious, and the diff looks correct.

l_ was simply an alias for _ before it got removed:

https://github.com/sphinx-doc/sphinx/blob/v2.4.4/sphinx/locale/__init__.py#L269-L272

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature


Reply to: