python-rjsmin fails to build with Sphinx 4.0.2 in Fedora 35 (currently Rawhide).
+ sphinx-build -b html docs/_userdoc docs/_userdoc/html
Running Sphinx v4.0.2
making output directory... done
File "/builddir/build/BUILD/rjsmin-1.1.0/docs/_userdoc/conf.py", line 30, in setup
AttributeError: 'Sphinx' object has no attribute 'add_stylesheet'
For the logs from testing build attempts, see:
Possible solution to 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!
your package has an open Fails To Build From Source bug for Fedora 35.
Action is required from you.
If you can fix your package to build, perform a build in koji, and either create
an update in bodhi, or close this bug without creating an update, if updating is
not appropriate . If you are working on a fix, set the status to ASSIGNED to
acknowledge this. If you have already fixed this issue, please close this Bugzilla report.
Following the policy for such packages , your package will be orphaned if
this bug remains in NEW state more than 8 weeks (not sooner than 2021-08-25).
A week before the mass branching of Fedora 36 according to the schedule ,
any packages not successfully rebuilt at least on Fedora 34 will be
retired regardless of the status of this bug.
disabled docs and rebuilt the package.