Bug 2329896 - python-txaio fails to build with sphinx 8.x: ERROR: Invalid target URI value `'https://docs.python.org/3'` in intersphinx_mapping['python'][0].
Summary: python-txaio fails to build with sphinx 8.x: ERROR: Invalid target URI value ...
Keywords:
Status: ON_QA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-txaio
Version: 42
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Julien Enselme
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: SPHINX8
TreeView+ depends on / blocked
 
Reported: 2024-12-02 11:24 UTC by Tomáš Hrnčiar
Modified: 2025-02-26 13:19 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

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

The issue detected:
```
ERROR: Invalid target URI value `'https://docs.python.org/3'` in intersphinx_mapping['python'][0]. Target URIs must be unique (other instance in intersphinx_mapping['py3']).

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-txaio/

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 Julien Enselme 2024-12-03 20:32:52 UTC
This should be fixed in https://bodhi.fedoraproject.org/updates/FEDORA-2024-e0075b39ea

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


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