Bug 2440192

Summary: [heads up] sympy will fail to build with Sphinx 9+ in Fedora 45: numpydoc extension error
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: sympyAssignee: Jerry James <loganjerry>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: cbm, loganjerry, orion, susi.lehtola
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sympy-1.14.0-12.fc45 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-03-18 22:44:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2419310    

Description Karolina Surma 2026-02-16 11:47:15 UTC
[heads up] sympy will fail to build with Sphinx 9+ which is going to be shipped in Fedora 45.

Extension error (numpydoc)!

Traceback
=========

      File "/usr/lib/python3.14/site-packages/sphinx/events.py", line 452, in emit
        raise ExtensionError(
        ...<3 lines>...
        ) from exc
    sphinx.errors.ExtensionError: Handler <function mangle_docstrings at 0x7fe8f58dc460> for event 'autodoc-process-docstring' threw an exception (exception: <built-in function reduce> builtin has invalid signature)

Build attempts: https://copr.fedorainfracloud.org/coprs/ksurma/sphinx-9/package/sympy/

Thank you for working on this!

Comment 1 Jerry James 2026-03-18 22:44:40 UTC
I backported an upstream patch to address the issue and built sympy in Rawhide.