Bug 2440192 - [heads up] sympy will fail to build with Sphinx 9+ in Fedora 45: numpydoc extension error
Summary: [heads up] sympy will fail to build with Sphinx 9+ in Fedora 45: numpydoc ext...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: sympy
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jerry James
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2419310
TreeView+ depends on / blocked
 
Reported: 2026-02-16 11:47 UTC by Karolina Surma
Modified: 2026-03-18 22:44 UTC (History)
4 users (show)

Fixed In Version: sympy-1.14.0-12.fc45
Clone Of:
Environment:
Last Closed: 2026-03-18 22:44:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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