Bug 2329853 - python-constantly fails to build with sphinx 8.x: ERROR: Invalid value `None` in intersphinx_mapping['https://docs.python.org/'].
Summary: python-constantly fails to build with sphinx 8.x: ERROR: Invalid value `None`...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-constantly
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jonathan Wright
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: SPHINX8
TreeView+ depends on / blocked
 
Reported: 2024-12-02 10:48 UTC by Tomáš Hrnčiar
Modified: 2025-02-25 14:35 UTC (History)
5 users (show)

Fixed In Version: python-constantly-23.10.4-5.fc43
Clone Of:
Environment:
Last Closed: 2025-02-25 14:35:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tomáš Hrnčiar 2024-12-02 10:48:18 UTC
python-constantly fails to build with sphinx 8.x in Fedora 42 (currently Rawhide).

The issue detected:
```
ERROR: Invalid value `None` in intersphinx_mapping['https://docs.python.org/']. Expected a two-element tuple or list.

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

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 Romain Geissler 2025-01-26 22:32:41 UTC
Should be fixed by https://src.fedoraproject.org/rpms/python-constantly/pull-request/4 (and upstream by https://github.com/twisted/constantly/pull/46)

Comment 2 Fedora Update System 2025-02-25 14:30:48 UTC
FEDORA-2025-689054d792 (python-constantly-23.10.4-5.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-689054d792

Comment 3 Fedora Update System 2025-02-25 14:35:53 UTC
FEDORA-2025-689054d792 (python-constantly-23.10.4-5.fc43) has been pushed to the Fedora 43 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.