CVE and update status of the FreeBSD ports tree3,864 unaddressed CVEs in 671 portsAll times are CET
Port details

net/py-mpi4py 4.1.2

Python bindings for MPI (OpenMPI)

Port info

Maintainer
laurent@FreeBSD.org
Packages
latest: 4.1.2
Upstream
up to date
Last update
to 4.1.2 · 217f74d623
Quarterly
2026Q4: 4.1.2
WWW
https://github.com/mpi4py/mpi4py
Links
cgit · VuXML

Install

Package
# pkg install py312-mpi4py
installs 4.1.2 from latest; from quarterly (2026Q4) 4.1.2
Port
# cd /usr/ports/net/py-mpi4py && make install clean
# make -C /usr/ports/net/py-mpi4py config  # change options first
Size
719 KiB download · 3.0 MiB installed
Depends on
lang/python312 3.12.15, net/openmpi 5.0.11
License
BSD3CLAUSE
Options
1 of 1 on in the package: DOCS

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 164.1.24.1.2–
FreeBSD 154.1.24.1.2–
FreeBSD 144.1.24.1.24.1.2

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 154.1.24.1.2–
FreeBSD 144.1.24.1.24.1.2

version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 4.1.2.

Fixed (0)

No VuXML entries for this package.

Problem reports (0) · open in Bugzilla, most recently changed first

None.

Commits (39)

Laurent Chardon (laurent) · 4.1.2
net/py-mpi4py: Update to 4.1.2

Update mpi4py to 4.1.2 and replace deprecated distutils support with
PEP 517.

Make the MPI configuration find the selected MPI implementation first
when linking, so the OpenMPI flavor does not accidentally link against
MPICH when both are installed.

Set the MPI include directory explicitly and only add the GCC
runtime library workaround for the MPICH flavor, where it is needed.

Changelog: https://github.com/mpi4py/mpi4py/releases/tag/4.1.2

PR:             295371
Reviewed by:	thierry (mentor)
Approved by:	thierry (mentor)
217f74d623
Laurent Chardon (laurent) · 4.1.1
ports: Update email address for multiple ports

Update maintainer email address to laurent@FreeBSD.org for:

deskutils/cairo-dock
deskutils/cairo-dock-plugins
devel/distcc
devel/z80-asm
emulators/hatari
math/openlibm
misc/img2xterm
net/mpich
net/py-mpi4py
sysutils/modules

Reviewed by:	michaelo, thierry (mentor)
Approved by:	michaelo, thierry (mentor)
Differential Revision:	https://reviews.freebsd.org/D56284
bf0f61fc9d
Po-Chuan Hsieh (sunpoet) · 4.1.1
Mk/Uses/python.mk: Remove USE_PYTHON=cython3{,_run,_test}

- Convert all cython3 occurrence to USE_PYTHON=cython*
- Bump PORTREVISION dependent ports of USE_PYTHON=cython_run for dependency change

PR:		291778
6d475ab2dc
Gleb Popov (arrowd) · 4.1.1
net/py-mpi4py: Fix building with Flang
430367e06a
Vladimir Druzenko (vvd) · 4.1.1
net/py-mpi4py{,-mpich: Update 4.1.0 => 4.1.1

Changelog:
https://mpi4py.readthedocs.io/en/stable/changes.html#release-4-1-1-2025-10-10

PR:	290215
1b700b5817
Vladimir Druzenko (vvd) · 4.1.0
net/py-mpi4py{,-mpich}: Update 4.0.3 => 4.1.0

Changelog:
https://github.com/mpi4py/mpi4py/releases/tag/4.1.0

PR:	288053
81ba89ba66
Po-Chuan Hsieh (sunpoet) · 4.0.3_1
Mk/Uses/python.mk: Introduce USE_PYTHON=cython3{,_run,_test}

- Update USE_PYTHON=cython{,_run,_test}
- Convert all cython3 occurrence to USE_PYTHON=cython3*
- While I'm here, fix incorrect usage of combining cython3 in BUILD_DEPENDS and USE_PYTHON=cython

It is added to simplify the future transition from Cython 0.29 to 3.

The minimal version is set to 3.0.12 because it is required by devel/py-propcache.
The upper bound of version is set to 3.1 because it is limited by multiple ports.
150c0018fd
Charlie Li (vishwin) · 4.0.3_1
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal

Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
06a08e69f3
Robert Clausecker (fuz) · 4.0.3
net/py-mpi4py: update to 4.0.3

Changelog: https://github.com/mpi4py/mpi4py/releases/tag/4.0.3

PR:		284811
e3e4d25f0e
Vladimir Druzenko (vvd) · 4.0.2
net/py-mpi4py: Update 4.0.1 → 4.0.2

Changelog:
https://github.com/mpi4py/mpi4py/releases/tag/4.0.2

PR:	284524
3d392369e1
Vladimir Druzenko (vvd) · 4.0.1
net/py-mpi4py: Update 4.0.0 → 4.0.1

Changelog:
https://mpi4py.readthedocs.io/en/stable/changes.html#release-4-0-1-2024-10-11

PR:	282023
fb806326af
Vladimir Druzenko (vvd) · 4.0.0
net/py-mpi4py: Update 3.1.6 → 4.0.0

Backward-incompatible changes:
  * Python 2 is no longer supported, Python 3.6+ is required, but
    typing stubs are supported for Python 3.8+.
  * The Intracomm.Create_group() method is no longer defined in the
    base Comm class.
  * Group.Compare() and Comm.Compare() are no longer class methods
    but instance methods. Existing codes using the former class
    methods are expected to continue working.
  * Group.Translate_ranks() is no longer a class method but an
    instance method. Existing codes using the former class method are
    expected to continue working.
  * The LB and UB datatypes are no longer available, use
    Datatype.Create_resized() instead.
  * The HOST predefined attribute key is no longer available.
  * The MPI.memory class has been renamed to MPI.buffer. The old
    name is still available as an alias to the new name.
  * The mpi4py.dl module is no longer available.
  * The mpi4py.get_config function returns an empty dictionary.

Changelog:
https://github.com/mpi4py/mpi4py/releases/tag/4.0.0

Exp-run looks fine.

Take maintainership.

PR:	280883
907f3f00bc
Wen Heping (wen) · 3.1.6
net/py-mpi4py: Drop maintainership
63a5b43ba6
Wen Heping (wen) · 3.1.6
net/py-mpi4py: Update to 3.1.6
1e4853aa4c
Yasuhiro Kimura (yasu) · 3.1.5_2
net/py-mpi4py: Move man page to share/man

Approved by:	portmgr (blanket)
44ef7b34d0
Thierry Thomas (thierry) · 3.1.5_1
*/*: bump PORTREVISION after OpenMPI upgrade
9eba6162f8
Wen Heping (wen) · 3.1.5
net/py-mpi4py: Update to 3.1.5
37943e2826
Thierry Thomas (thierry) · 3.1.4_2
net/py-mpi4py: add a slave port depending on MPICH

Sometimes we need mpi4py packaged against mpich, with Fortran enabled.

Do not create a flavor, because there already exist flavors for Python
versions, therefore a slave port seems more appropriate.

Once committed, I shall add a line in Mk/Uses/mpi.mk to grab the right
dependency according to the choice of MPI.

Bump PORTVERSION for people using net/py-mpi4py built from ports with
the non-default MPICH option.

Also change WWW: the project on bitbucket has been archived.

PR:		272949
Approved by:	wen@ (maintainer)
6d82be95de
Rene Ladan (rene) · 3.1.4_1
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
3d9a815d9c
Gerald Pfeifer (gerald) · 3.1.4_1
*: Bump PORTREVISIONs for math/mpc update to 1.3.1
8d3e020ed0
Dmitry Marakasov (amdmi3) · 3.1.4
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
77d68471ad
Wen Heping (wen) · 3.1.4
net/py-mpi4py: Update to 3.1.4
1af37d11cd
Stefan Eßer (se) · 3.1.3
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
fb16dfecae
Stefan Eßer (se) · 3.1.3
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
b7f05445c0
Wen Heping (wen) · 3.1.3
net/py-mpi4py: Update to 3.1.3
9f44496a9b
Wen Heping (wen) · 3.1.2
net/py-mpi4py: Update to 3.1.2
d036e6689e
Wen Heping (wen) · 3.1.1
net/py-mpi4py: Update to 3.1.1

Take mainatainership
41ba77eb46
Mathieu Arnold (mat) · 3.0.3_1
One more small cleanup, forgotten yesterday. Reported by:	lwhsu
cf118ccf87
Mathieu Arnold (mat) · 3.0.3_1
Remove # $FreeBSD$ from Makefiles.
305f148f48
Thierry Thomas (thierry) · 3.0.3_1
Set USES=mpi, and replace MPICH2 by MPICH.
0f0729fa0c
Antoine Brodin (antoine) · 3.0.3_1
Drop python 2.7 support from a few ports

With hat:	portmgr
aa7a6c429e
Kai Knoblich (kai) · 3.0.3_1
Relax hardcoded paths to fix build with Python 3.8.7

Since r558913 Python 3.8 incorporates BPO-42604 [1] which changed the
shared libs naming scheme.  This means "EXT_SUFFIX" is now derived from
SOABI and yields with Python 3.8 to ".cpython-38.so" instead of ".so".

The affected ports strip the libaries in the "post-install" target via
hardcoded path(s) and the build fails at the end because the new extension
is not expected at this place.

Remedy the issue by adding wildcards to these paths.  This should also
prepare the ports for future Python releases, which will use the new shared
libs naming scheme.

[1] https://bugs.python.org/issue42604

PR:		252057
Reported by:	John Kennedy
Reviewed by:	fluffy, koobs
Approved by:	koobs (python)
9cb5898561
Danilo Egea Gondolfo (danilo) · 3.0.3_1
net/py-mpi4py: Move OpenMPI dependecy from net/openmpi3 to net/openmpi (OpenMPI 4)

Reported by:	linimon
de105b8841
Danilo Egea Gondolfo (danilo) · 3.0.3
- Update to 3.0.3 - Move OpenMPI support to net/openmpi3. OpenMPI 1 and 2 are deprecated
2db1483f23
Kurt Jaeger (pi) · 3.0.0_3
audio/festvox-cmu_us_slt_arctic, games/flightgear-terragear, graphics/zathura-cb, graphics/zathura-pdf-poppler, graphics/zathura-ps, math/nfft, net/py-mpi4py, science/aircraft-datcom, x11-themes/gnome-icons-luv: reset MAINTAINER

Submitted by:	Michael Danilov <mike.d.ft402@gmail.com> (maintainer)
ea36fed040
Gerald Pfeifer (gerald) · 3.0.0_3
Bump PORTREVISION for ports depending on the canonical version of GCC as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
ea8c8ec7da
Gerald Pfeifer (gerald) · 3.0.0_2
Related to revision 499061 bump ports with USES=fortran to have them benefit from the improved situation where libgcc_s is only used when absolutely necessary.

Suggested by:	tijl
879e75a659
Gerald Pfeifer (gerald) · 3.0.0_1
Bump PORTREVISION for ports depending on the canonical version of GCC defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
a9f015d155
Yuri Victorovich (yuri) · 3.0.0
New port: net/py-mpi4py: Python bindings for MPI

PR:		211768
Submitted by:	Michael Danilov <mike.d.ft402@gmail.com>
3d517de43c