python-f5-sdk fails to build with Sphinx 4.0.2 in Fedora 35 (currently Rawhide). + make html sphinx-build -b html -d _build/doctrees . _build/html Running Sphinx v4.0.2 making output directory... done Exception occurred: File "/builddir/build/BUILD/f5-common-python-3.0.21/docs/conf.py", line 361, in setup app.add_stylesheet('theme_overrides.css') AttributeError: 'Sphinx' object has no attribute 'add_stylesheet' For the logs from testing build attempts, see: https://copr.fedorainfracloud.org/coprs/ksurma/pygments-2.9.0/package/python-f5-sdk/ Possible solution for this issue: In some cases it may be enough to replace the call to 'add_stylesheet' with 'add_css_file' instead. You can test you package using Koji scratch build koji build --scratch <srpm> For details regarding the Sphinx change, see https://fedoraproject.org/wiki/Changes/Sphinx4 Let us know here if you have any questions. Thank you!