copr-keygen fails to build with Sphinx 4.0.2 in Fedora 35 (currently Rawhide). + make -C docs -j2 html make: Entering directory '/builddir/build/BUILD/copr-keygen-1.80/docs' sphinx-build-3 -b html -d _build/doctrees . _build/html Running Sphinx v4.0.2 Extension error: Could not import extension sphinxcontrib.autohttp.flask (exception: cannot import name 'force_decode' from 'sphinx.util' (/usr/lib/python3.10/site-packages/sphinx/util/__init__.py)) make: *** [Makefile:45: html] Error 2 For the logs from testing build attempts, see: https://copr.fedorainfracloud.org/coprs/ksurma/pygments-2.9.0/package/copr-keygen/ You can test you package using Koji scratch build koji build --scratch <srpm> Let us know here if you have any questions. Thank you! Note: this is a caused by a reported problem with python-sphinxcontrib-httpdomain; this ticket is created for better impact visibility.
We are watching bug 1975260. In case it will not be fixed soon, we will comment out the relevant line in spec and rebuild it. But this is leaf package, so I would like to wait few weeks and hope that bug 1975260 gets fix soon.
After Sphinx' update to 4.1.2 copr-keygen started to build successfully - `force_decode` removal was reverted for now (build logs: https://copr.fedorainfracloud.org/coprs/ksurma/pygments-2.9.0/build/2365175/)
This bug appears to have been reported against 'rawhide' during the Fedora 35 development cycle. Changing version to 35.
I verified that it works now.