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
force_decode is no longer available in Sphinx 4.0.0 #46
Comments
The same issue appears in repoze/repoze.sphinx.autointerface#16. I started a PR repoze/repoze.sphinx.autointerface#17, but haven't had time to fix the remaining issues. I could definitely use advice on how to replace |
Hi guys, |
The change is now reverted in 4.0.3 of sphinx. The |
OK. |
Just tested that. With 4.0.3 + /usr/bin/python3 setup.py build_sphinx -b man --build-dir build/sphinx
running build_sphinx
Running Sphinx v4.0.3
making output directory... done
building [mo]: targets for 0 po files that are out of date
building [man]: all manpages
updating environment: [new config] 2 added, 0 changed, 0 removed
reading sources... [100%] index
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
writing... python-sphinxcontrib-httpdomain.3 { } done
build succeeded. One more time thank you to let me know :) |
I would suggest that you reopen this issue.
|
I'm also happy to support here, but yes, this will become an issue again in Sphinx 5 |
I happily accept that this patch is not the greatest achievement of the computer science, but it seems to do the job, and it allows me to build httpdomain package for openSUSE with different versions of Sphinx. Of course, the proper solution is to follow the idea of sphinx-doc/sphinx#5620 (comment) and fix the use of |
…SR 905350 https://build.opensuse.org/request/show/905350 by user mcepl + dimstar_suse - Add missing_force_decode.patch with shim for missing force_decode method (gh#sphinx-contrib/httpdomain#46).
PR #49 seems to be a reasonable solution to this (just remove all usages of |
Hi,
today I tried to update to sphinx 4.0.0 and the build of doc failed on:
It seems that
force_decode
is deprecated from Sphinx 2.0 and it is removed completely in 4.0. See https://www.sphinx-doc.org/en/master/extdev/deprecated.htmlThe text was updated successfully, but these errors were encountered: