Bug 2329852 - python-crcmod fails to build with sphinx 8.x: ERROR: Invalid value `None` in intersphinx_mapping['/usr/share/doc/python3-docs/html/'].
Summary: python-crcmod fails to build with sphinx 8.x: ERROR: Invalid value `None` in ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-crcmod
Version: 42
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ivan Afonichev
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2371846 (view as bug list)
Depends On:
Blocks: F42FTBFS PYTHON3.14 F43FTBFS F43FailsToInstall SPHINX8 2371740 2371917
TreeView+ depends on / blocked
 
Reported: 2024-12-02 10:47 UTC by Tomáš Hrnčiar
Modified: 2025-07-06 11:11 UTC (History)
5 users (show)

Fixed In Version: python-crcmod-1.7-16.fc43
Clone Of:
Environment:
Last Closed: 2025-07-06 11:11:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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

The issue detected:
```
ERROR: Invalid value `None` in intersphinx_mapping['/usr/share/doc/python3-docs/html/']. 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-crcmod/

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

Comment 2 Fedora Release Engineering 2025-06-01 04:22:16 UTC
Dear Maintainer,

your package has an open Fails To Build From Source bug for Fedora 42.
Action is required from you.

If you can fix your package to build, perform a build in koji, and either create
an update in bodhi, or close this bug without creating an update, if updating is
not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to
acknowledge this. If you have already fixed this issue, please close this Bugzilla report.

Following the policy for such packages [2], your package will be orphaned if
this bug remains in NEW state more than 8 weeks (not sooner than 2025-01-27).

A week before the mass branching of Fedora 43 according to the schedule [3],
any packages not successfully rebuilt at least on Fedora 41 will be
retired regardless of the status of this bug.

[1] https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/
[2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
[3] https://fedorapeople.org/groups/schedule/f-43/f-43-key-tasks.html

Comment 3 Karolina Surma 2025-06-11 15:58:01 UTC
*** Bug 2371846 has been marked as a duplicate of this bug. ***

Comment 4 edpil02 2025-06-18 08:28:19 UTC
I take an inspiration from the PR: https://github.com/jupyterlab/jupyterlab/pull/14423
and  can confirm that  "intersphinx_mapping = {'python': ('https://docs.python.org/3', None)}" instead of  "intersphinx_mapping = {'http://docs.python.org/': None}"  solves the issue.

Mock build :

Provides: python-crcmod-doc = 1.7-13.fc43
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/python-crcmod-1.7-build/BUILDROOT
Wrote: /builddir/build/RPMS/python3-crcmod-1.7-13.fc43.x86_64.rpm
Wrote: /builddir/build/RPMS/python-crcmod-doc-1.7-13.fc43.noarch.rpm
Finish: rpmbuild python-crcmod-1.7-13.fc43.src.rpm
Finish: build phase for python-crcmod-1.7-13.fc43.src.rpm
INFO: Done(./python-crcmod-1.7-13.fc43.src.rpm) Config(default) 0 minutes 12 seconds
INFO: Results and/or logs in: /var/lib/mock/fedora-rawhide-x86_64/result
Finish: run

Comment 5 Fedora Release Engineering 2025-06-22 04:22:23 UTC
Dear Maintainer,

your package has an open Fails To Build From Source bug for Fedora 42.
Action is required from you.

If you can fix your package to build, perform a build in koji, and either create
an update in bodhi, or close this bug without creating an update, if updating is
not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to
acknowledge this. If you have already fixed this issue, please close this Bugzilla report.

Following the policy for such packages [2], your package will be orphaned if
this bug remains in NEW state more than 8 weeks (not sooner than 2025-01-27).

A week before the mass branching of Fedora 43 according to the schedule [3],
any packages not successfully rebuilt at least on Fedora 41 will be
retired regardless of the status of this bug.

[1] https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/
[2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
[3] https://fedorapeople.org/groups/schedule/f-43/f-43-key-tasks.html

Comment 6 Fedora Fails To Install 2025-06-22 18:23:55 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

This package fails to install and maintainers are advised to take one of the following actions:

 - Fix this bug and close this bugzilla once the update makes it to the repository.
   (The same script that posted this comment will eventually close this bugzilla
   when the fixed package reaches the repository, so you don't have to worry about it.)

or

 - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet.

or

 - Orphan the package if you no longer plan to maintain it.


If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue.
This package may be orphaned in 4+ weeks.
This is the second reminder (step 4) from the policy.

Don't hesitate to ask for help on https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ if you are unsure how to fix this bug.

Comment 8 Fedora Update System 2025-07-06 11:07:02 UTC
FEDORA-2025-c4591501fe (python-crcmod-1.7-16.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-c4591501fe

Comment 9 Fedora Update System 2025-07-06 11:11:34 UTC
FEDORA-2025-c4591501fe (python-crcmod-1.7-16.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.