Debian Patches

Status for mpi4py/4.1.2-3

Patch Description Author Forwarded Bugs Origin Last update
intersphinx_use_local_inventory.patch Use local InterSphinx inventory data
===================================================================
Zixing Liu <zixing.liu@canonical.com> not-needed 2024-03-13
doc_sphinx9_PR720.patch [PATCH 2/4] docs(sphinx): Use autodata directive for type variables Lisandro Dalcin <dalcinl@gmail.com> no 2025-12-14
doc_sphinx9.1_PR723.patch [PATCH 2/3] build(deps): Bump sphinx from 8.2.3 to 9.1.0 Lisandro Dalcin <dalcinl@gmail.com> no 2026-01-07
doc_sphinx_9.2_typing_union_fix.patch Extend Sphinx 9 autodoc workarounds to Sphinx 9.2 Upstream mpi4py (PR#723) gates its Sphinx autodoc/autosummary workarounds
(_patch_autosummary and _patch_autodoc) to Sphinx < 9.2, assuming Sphinx
9.2+ handles legacy typing.Union[...] type aliases natively.
.
Sphinx 9.2.0 still does NOT: the new autodoc dynamic loader
(sphinx.ext.autodoc._dynamic._loader) unconditionally reads obj.__value__
when rendering an "autotype" entry, but typing.Union[...] objects have no
such attribute. Documenting mpi4py.typing entries such as "Buffer" then
aborts the docs build with:
.
AttributeError: 'typing.Union' object has no attribute '__value__'
.
Bump the gate from < (9, 2) to < (9, 3) so the mpi4py TypeAliasWrapper
workaround (_patch_autodoc) is also applied for Sphinx 9.2.x, and the docs
build succeeds with the Sphinx 9.2.0 now in Debian.
Bastian Germann no 2026-10-26

All known versions for source package 'mpi4py'

Links