Bug 2329844 - offlineimap fails to build with sphinx 8.x: ERROR: Invalid value `None` in intersphinx_mapping['http://docs.python.org/'].
Summary: offlineimap fails to build with sphinx 8.x: ERROR: Invalid value `None` in i...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: offlineimap
Version: 42
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: serge-sans-paille
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: SPHINX8
TreeView+ depends on / blocked
 
Reported: 2024-12-02 10:20 UTC by Tomáš Hrnčiar
Modified: 2026-02-25 07:30 UTC (History)
5 users (show)

Fixed In Version: offlineimap-8.0.1-2.fc44
Clone Of:
Environment:
Last Closed: 2026-02-25 07:29:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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

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

Configuration error:
Invalid `intersphinx_mapping` configuration (1 error).
make[1]: Leaving directory '/builddir/build/BUILD/offlineimap-8.0.0-build/offlineimap3-8.0.0/docs'
make[1]: *** [Makefile:37: api] Error 2
make: *** [Makefile:46: docs] Error 2
```

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

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:18:37 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.

Comment 2 serge-sans-paille 2026-02-25 07:30:42 UTC
Don't know if it's relevant, but I fixed the rawhide build a few months ago, and sphinx is still used there.


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