Bug 1975260
Summary: | Broken import with sphinx4: ImportError: cannot import name 'force_decode' from 'sphinx.util' | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miroslav Suchý <msuchy> |
Component: | python-sphinxcontrib-httpdomain | Assignee: | Dan Callaghan <djc> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 35 | CC: | djc, ksurma, mhroncok, praiskup |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-08-23 07:28:09 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1973718, 1977664, 1981749 |
Description
Miroslav Suchý
2021-06-23 11:00:44 UTC
Upstream issue: https://github.com/sphinx-contrib/httpdomain/issues/46 Here is an unmerged PR, it seems to be from a drive-by contributor but the patch looks right to me: https://github.com/sphinx-contrib/httpdomain/pull/49 Also worth noting that Sphinx appears to have re-added the deprecated `force_decode` function in 4.0.3, due to the number of extensions it broke. But they are still intending to remove it again in future. Sphinx was updated to 4.1.2 in Fedora Rawhide, this version contains the re-added `force_decode`. At the moment the issue shall be contained. This bug appears to have been reported against 'rawhide' during the Fedora 35 development cycle. Changing version to 35. I verified it is working now. |