Bug 2329900 - python-zope-i18nmessageid fails to build with sphinx 8.x: ERROR: Invalid value `'/usr/share/doc/python3-docs/html/objects.inv'` in intersphinx_mapping['http://docs.python.org/'].
Summary: python-zope-i18nmessageid fails to build with sphinx 8.x: ERROR: Invalid valu...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-zope-i18nmessageid
Version: 42
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michel Lind
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: SPHINX8
TreeView+ depends on / blocked
 
Reported: 2024-12-02 11:27 UTC by Tomáš Hrnčiar
Modified: 2025-03-28 00:19 UTC (History)
6 users (show)

Fixed In Version: python-zope-i18nmessageid-7.0-1.fc42
Clone Of:
Environment:
Last Closed: 2025-03-28 00:19:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources python-zope-i18nmessageid pull-request 3 0 None None None 2025-03-19 21:28:47 UTC

Description Tomáš Hrnčiar 2024-12-02 11:27:38 UTC
python-zope-i18nmessageid fails to build with sphinx 8.x in Fedora 42 (currently Rawhide).

The issue detected:
```
ERROR: Invalid value `'/usr/share/doc/python3-docs/html/objects.inv'` in intersphinx_mapping['http://docs.python.org/']. Expected a two-element tuple or list.
Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 'restructuredtext'}`.

Configuration error:
Invalid `intersphinx_mapping` configuration (1 error).
```

The intersphinx_mapping error can be easily fixed by adjusting conf.py.
You can take an inspiration from this PR: https://github.com/jupyterlab/jupyterlab/pull/14423

Please work with upstream on this issue, I plan to ship sphinx 8 in two weeks.


For the logs from testing build attempts, see:
https://copr.fedorainfracloud.org/coprs/thrnciar/python-sphinx/package/python-zope-i18nmessageid/

You can test you package in mock running:

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

We'd like to include Sphinx 8 in Fedora 42.
Let us know here if you have any questions. Thank you!

Comment 1 Aoife Moloney 2025-02-26 13:19:03 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.

Comment 2 Fedora Update System 2025-03-27 19:45:13 UTC
FEDORA-2025-b624431c91 (python-zope-i18nmessageid-7.0-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-b624431c91

Comment 3 Fedora Update System 2025-03-28 00:19:49 UTC
FEDORA-2025-b624431c91 (python-zope-i18nmessageid-7.0-1.fc42) has been pushed to the Fedora 42 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.