Bug 2180485

Summary: python-requests-cache fails to build with Sphinx 6.1.3
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: python-requests-cacheAssignee: Rick Elrod <relrod>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: hobbes1069, relrod, zonexpertconsulting
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: 2023-03-23 00:15:04 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: 2135122    

Description Karolina Surma 2023-03-21 14:51:06 UTC
python-requests-cache fails to build with Sphinx 6.1.3 in Fedora 39 (currently Rawhide).

For the logs from testing build attempts, see:
https://copr.fedorainfracloud.org/coprs/ksurma/sphinx-6.1.3/package/python-requests-cache/

You can test you package in mock running:

$ mock -r fedora-rawhide-x86_64 --addrepo=https://download.copr.fedorainfracloud.org/results/ksurma/sphinx-6.1.3/fedora-rawhide-x86_64/ --no-clean your.src.rpm
$ mock -r fedora-rawhide-x86_64 --addrepo=https://download.copr.fedorainfracloud.org/results/ksurma/sphinx-6.1.3/fedora-rawhide-x86_64/ shell

The issue detected:

Package attempts to modify `_static/jquery.js` which was removed from Sphinx 6+ and moved to a separate sphinxcontrib package: jquery.

If that file isn't needed in the documentation package, remove the lines attempting to access it from the spec file.
Otherwise, the extension (packaged in Fedora as `python-sphinxcontrib-jquery`) could be used here.

Sphinx 6.1.3 will be included in Fedora 39.
Let us know here if you have any questions. Thank you!

Comment 1 Andrew Bauer 2023-03-22 13:52:36 UTC
My status as a committer does not give me permission to push changes against rawhide, so I submitted a PR which fixes this bug.
https://src.fedoraproject.org/rpms/python-requests-cache/pull-request/2


I don't believe the main contact for this package is active.
Need someone with God powers to either elevate my status or merge the PR.
Thank you.

Comment 2 Andrew Bauer 2023-03-23 00:15:04 UTC
Fixed in Rawhide