New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sphinx.locale.l_() (deprecated in v1.18) has been removed in 3.x #1816
Comments
sten0
added a commit
to sten0/elpy
that referenced
this issue
Jun 26, 2020
4 tasks
I was compelled to see if I could learn how to check for deprecated functions, and found that I could have spotted this a year ago if only I'd been parsing build logs for warnings. Here's the full list, using Sphinx 2.4.3, which warns on deprecated functions that will be (or in this case have been) removed in 3.x:
So it looks like my PR will be sufficient to close this issue :-) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
Hi,
sphinx.locale.l_()
(elispdomain.py:L11) was deprecated in v1.18 and no longer exists in 3.x. Upstream Sphinx appears to recommend switching to sphinx.locale._()I'm wondering if you'll be be able to look into this in the next couple of weeks, because I don't think I'll be able to find time to work on this until the deadline has past, and I'm guessing there may be other vestigial Sphinx 1.x bits ;-) The only reason there's a timeline is Debian sid (development of next version) is switching to 3.1.1 sometime "in a couple of weeks" (Bug#963647), and Ubuntu groovy will switch a few weeks afterwards. Worst-case scenario I'll temporarily remove the local copy of the docs, leaving users who don't have internet access (eg: the Read The Docs copy) without documentation until October.
Steps to reproduce
With Elpy 1.34 (also 03a7517):
My configuration
OS
Debian sid + Sphinx 3.1.1
The text was updated successfully, but these errors were encountered: