Bug 2232585 - python-mechanicalsoup FTBFS with Sphinx 7.1+ in Fedora Rawhide
Summary: python-mechanicalsoup FTBFS with Sphinx 7.1+ in Fedora Rawhide
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-mechanicalsoup
Version: 40
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Fabian Affolter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2225274
TreeView+ depends on / blocked
 
Reported: 2023-08-17 13:31 UTC by Karolina Surma
Modified: 2024-04-07 09:33 UTC (History)
1 user (show)

Fixed In Version: python-mechanicalsoup-1.3.0-1.fc41
Clone Of:
Environment:
Last Closed: 2024-04-07 09:33:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2023-08-17 13:31:43 UTC
python-mechanicalsoup FTBFS with Sphinx 7.1+ in Fedora Rawhide.
I want to include Sphinx 7.1.2 in Rawhide. Currently testing in Copr. Details below.

Reproducible: Always

Steps to Reproduce:
Tip - if you want to test locally copr repository then:

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

Actual Results:  
+ sphinx-build-3 docs html
Running Sphinx v7.1.2
making output directory... done

Extension error (sphinx.config):
Handler <function correct_copyright_year at 0x7fe9a8e93e20> for event 'config-inited' threw an exception (exception: string index out of range)

Expected Results:  
Build is successful.

Sphinx has changed its way of creating copyright year: https://github.com/sphinx-doc/sphinx/pull/11524

mechanicalsoup has got its logic that somehow interferes with that: https://github.com/MechanicalSoup/MechanicalSoup/blob/v1.2.0/docs/conf.py#L52

Comment 1 Aoife Moloney 2024-02-15 22:56:56 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle.
Changing version to 40.

Comment 2 Fedora Update System 2024-04-07 09:31:02 UTC
FEDORA-2024-45b02f63e4 (python-mechanicalsoup-1.3.0-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-45b02f63e4

Comment 3 Fedora Update System 2024-04-07 09:33:31 UTC
FEDORA-2024-45b02f63e4 (python-mechanicalsoup-1.3.0-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.


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