Bug 2180485 - python-requests-cache fails to build with Sphinx 6.1.3
Summary: python-requests-cache fails to build with Sphinx 6.1.3
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-requests-cache
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rick Elrod
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2135122
TreeView+ depends on / blocked
 
Reported: 2023-03-21 14:51 UTC by Karolina Surma
Modified: 2023-03-23 00:15 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-03-23 00:15:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.