32 Commits

Author SHA256 Message Date
fdf2c55b47 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-mpi4py?expand=0&rev=45 2025-12-21 17:41:31 +00:00
8f807f5eb4 Accepting request 1323997 from home:priand:branches:devel:languages:python:numeric
- Update to 4.1.1
  * Change BuildRequirement to Cython >= 3.0.1
  * Disable two tests that fail on Tumbleweed:
    donttest+=" -x TestULFMSelf.testRevoke"
    donttest+=" -x TestULFMWorld.testRevoke"
  * Add MPIABI-aware import hook support.
  * Support MPI.ERR_ERRHANDLER with Open MPI.
  * Minor fixes and improvements to typing stubs.
  * Publish Python 3.8-3.14 and PyPy 3.11 wheels.
  * PyPy 3.10 (EOL) wheels are no longer published.
- Changes in 4.1.0
  * New features:
  * Add support for the MPI 5.0 standard.
  * MPI handle serialization with integral values.
  * Fixed-size Fortran LOGICAL datatypes.
  * Query ABI version/info and Fortran ABI info.
  * MPI.Datatype.Create_contiguous now uses BigMPI's approach when
    using MPI implementations that do not yet support the MPI 4.0
    large-count APIs.
  * Add support for MPI.FLOAT16_T and MPI.BFLOAT16_T datatypes. 
  * Add MPI.Status.tomemory to expose the status contents as a
    memoryview object.
  * Enhancements:
  * Support (opt-in via MPI4PY_BUILD_PYSABI) for building with
    Py_LIMITED_API under Python 3.10+ (requires Cython 3.1+).
  * Support (opt-in via MPI4PY_BUILD_MPIABI) for building with the
    MPI 5.0 standard ABI and the MPICH or Open MPI legacy ABIs. 
  * Support a buffersize parameter in the MPIPoolExecutor.map()
    and MPIPoolExecutor.starmap() methods to limit the number
    of pending tasks.
  * Improve ownership management of DLPack capsules.
  * Minor fixes to typing stubs and documentation.
  * Backward-incompatible changes:
  * Python 3.8+ is required.
  * The MPI.Exception class is now a heap type.
  * The types of the MPI.BOTTOM, MPI.IN_PLACE, and 
    MPI.BUFFER_AUTOMATIC are no longer subclasses of int.

OBS-URL: https://build.opensuse.org/request/show/1323997
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-mpi4py?expand=0&rev=44
2025-12-21 17:40:16 +00:00
245747b74f Accepting request 1249969 from home:badshah400:branches:devel:languages:python:numeric
Update to version 4.0.3.

OBS-URL: https://build.opensuse.org/request/show/1249969
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-mpi4py?expand=0&rev=42
2025-03-04 09:11:08 +00:00
0163eda581 Accepting request 1233403 from home:StefanBruens:branches:devel:languages:python:numeric
- Fix packaging of header files, breaking VTK openmpi builds.
  E.g. mpi4py.h requires the MPI_api.h in a specific relative
  location.

OBS-URL: https://build.opensuse.org/request/show/1233403
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-mpi4py?expand=0&rev=40
2024-12-26 11:04:23 +00:00
12aba29c86 Accepting request 1227500 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 4.0.1
  ## Update support for Python 3.13:
  * Enable Cython 3.1 support for free-threaded CPython.
  * Allow compiling Cython-generated C sources with the full Python
    C-API.
  * Fix MPI DLL path workarounds on Windows after changes to
    locals().
  ## Enhancements to test suite:
  * Support XML reports via unittest-xml-reporting.
  * Add command line options to exclude tests by patterns and
    files.
  * Refactor Python 2 code to use Python 3 constructs using
    pyupgrade.
  ## Miscellaneous:
  * Minor and mostly inconsequential subclass fix in
    mpi4py.util.pkl5.
  * Update compatibility workarounds for legacy MPICH 3.0 release.
- Release 4.0.0
  ## New features:
  ### Add support for the MPI-4.0 standard.
  * Use large count MPI-4 routines.
  * Add persistent collective communication.
  * Add partitioned point-to-point communication.
  * Add new communicator constructors.
  * Add the Session class and its methods.
  ### Add support for the MPI-4.1 standard.
  * Add non-destructive completion test for multiple requests.
  * Add value-index datatype constructor.
  * Add communicator/session buffer attach/detach/flush.
  * Support for removal of error classes/codes/strings.
  * Support for querying hardware resource information.
  ### Add preliminary support for the upcoming MPI-5.0 standard.
  * User-level failure mitigation (ULFM).
  * mpi4py.util.pool: New drop-in replacement for
    multiprocessing.pool.
  * mpi4py.util.sync: New synchronization utilities.
  * Add runtime check for mismatch between mpiexec and MPI library.
  * Support scikit-build-core as an alternative build backend.
  * Support meson-python as an alternative build backend.
  ## Enhancements:
  * mpi4py.futures: Support for parallel tasks.
  * mpi4py.futures: Report exception tracebacks in workers.
  * mpi4py.util.pkl5: Add support for collective communication.
  * Add methods Datatype.fromcode(), Datatype.tocode() and
    attributes Datatype.typestr, Datatype.typechar to simplify
    NumPy interoperability for simple cases.
  * Add methods Comm.Create_errhandler(), Win.Create_errhandler(),
    and File.Create_errhandler() to create custom error handlers.
  * Add support for pickle serialization of instances of MPI types.
    All instances of Datatype, Info, and Status can be serialized.
    Instances of Op can be serialized only if created through
    mpi4py by calling Op.Create(). Instances of other MPI types can
    be serialized only if they reference predefined handles.
  * Add handle attribute and fromhandle() class method to MPI
    classes to ease interoperability with external code. The handle
    value is an unsigned integer guaranteed to fit on the
    platform's uintptr_t C type.
  * Add lowercase free() method to MPI classes to ease MPI object
    deallocation and cleanup. This method eventually attempts to
    call Free(), but only if the object's MPI handle is not a null
    or predefined handle, and such call is allowed within the World
    Model init/finalize.
  ## 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.
  ## Miscellaneous:
  * The project is now licensed under the BSD-3-Clause license.
    This change is fairly inconsequential for users and
    distributors. It simply adds an additional clause against using
    contributor names for promotional purposes without their
    consent.
  * Add a new guidelines section to documentation laying out new
    fair play rules. These rules ask companies and outside
    developers to refrain from reusing the mpi4py name in
    unaffiliated projects, publishing binary mpi4py wheels on the
    main Python Package Index (PyPI), and distributing modified
    versions with incompatible or extended API changes. The primary
    motivation of these rules is to avoid fragmentation and
    end-user confusion.
- Skip failing tests: test fails are different on server and local
  machines. TODO: Investigate
- Remove unused rpm macro file: Static %mpi4py_mpi_ver is not used
  anywhere (and had a strange name for value 'openmpi')

OBS-URL: https://build.opensuse.org/request/show/1227500
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-mpi4py?expand=0&rev=37
2024-11-30 09:45:37 +00:00
2be6f17206 - update to 3.1.6:
* This is the last release supporting Python 2.
  * Fix various build issues.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-mpi4py?expand=0&rev=35
2024-05-10 13:37:42 +00:00
bab3af1140 - Don't run tests in s390x, mpiexec is not too reliable running in the
OBS virtual machine environment. bsc#1218604#c1

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-mpi4py?expand=0&rev=33
2024-01-19 12:09:54 +00:00
840a2e1d4b - update to 3.1.5:
* Rebuild C sources with Cython 0.29.36 to support Python 3.12.
- Remove exec perms from demo/python-config
  * Support NumPy 1.22+
- fix build for SLE-11
- Initial specfile generated by python distutils,

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-mpi4py?expand=0&rev=31
2023-12-07 22:12:13 +00:00
6994d4b674 Accepting request 1113180 from home:bnavigator:branches:devel:languages:python:numeric
- Limit to Cython 0: gh#mpi4py/mpi4py#383
- PEP517: build wheel instead of deprecated setup.py install

OBS-URL: https://build.opensuse.org/request/show/1113180
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-mpi4py?expand=0&rev=29
2023-09-25 22:54:40 +00:00
6aeb1f36b9 - Disable current broken tests for i586. gh#mpi4py/mpi4py#279
- Increase memory size in constraints

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-mpi4py?expand=0&rev=27
2022-11-10 14:53:12 +00:00
061117ec12 - Add rpmlintrc as source in the spec file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-mpi4py?expand=0&rev=26
2022-11-10 08:51:25 +00:00
2a03e7eb32 - Remove exec perms from demo/python-config
- Add python-mpi4py-rpmlintrc to filter no-binary erros for devel, common-devel
  and doc subpackages

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-mpi4py?expand=0&rev=25
2022-11-10 08:43:48 +00:00
a83243217b - Remove pml/ob1 option for tests, bsc#1205139
- Remove python_module macro definition
- Update shebang string replacement

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-mpi4py?expand=0&rev=24
2022-11-10 08:09:07 +00:00
57a8424e5d - Use pml/ob1 for tests
- Update to 3.1.4
  * Rebuild C sources with Cython 0.29.32 to support Python 3.11.
  * Fix contiguity check for DLPack and CAI buffers.
  * Workaround build failures with setuptools v60.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-mpi4py?expand=0&rev=22
2022-11-08 09:16:10 +00:00
ac0a3775a3 - Add patch support-numpy-1.22.patch:
* Support NumPy 1.22+

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-mpi4py?expand=0&rev=21
2022-10-17 05:40:26 +00:00
5acbfe56d7 Accepting request 943494 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 3.1.3
  * Add missing support for MPI.BOTTOM to generalized all-to-all
    collectives.
- Release 3.1.2
  * mpi4py.futures: Add _max_workers property to MPIPoolExecutor.
  * mpi4py.util.dtlib: Fix computation of alignment for predefined
    datatypes.
  * mpi4py.util.pkl5: Fix deadlock when using ssend() + mprobe().
  * mpi4py.util.pkl5: Add environment variable
    MPI4PY_PICKLE_THRESHOLD.
  * mpi4py.rc: Interpret "y" and "n" strings as boolean values.
  * Fix/add typemap/typestr for MPI.WCHAR/MPI.COUNT datatypes.
  * Minor fixes and additions to documentation.
  * Minor fixes to typing support.
  * Support for local version identifier (PEP-440).
- skip io tests on i586: gh#mpi4py/mpi4py#105

OBS-URL: https://build.opensuse.org/request/show/943494
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-mpi4py?expand=0&rev=20
2022-01-05 08:51:41 +00:00
Christoph Junghans
805cc9877a Accepting request 922369 from home:NMoreyChaisemartin:branches:devel:languages:python:numeric
- Use openmpi macros to always build with the default openmpi version (bsc#1190810)

OBS-URL: https://build.opensuse.org/request/show/922369
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-mpi4py?expand=0&rev=19
2021-09-30 20:21:57 +00:00
Christoph Junghans
3281b2ebbb Accepting request 921522 from home:frispete:Tumbleweed
- Update to 3.1.1
  + Warning
  + This is the last release supporting Python 2.
    * Fix typo in Requires-Python package metadata.
    * Regenerate C sources with Cython 0.29.24.
- Update to 3.1.0
  + Warning
  + This is the last release supporting Python 2.
    * New features:
    * mpi4py.util: New package collecting miscellaneous utilities.
    * Enhancements:
    * Add pickle-based Request.waitsome() and Request.testsome().
    * Add lowercase methods Request.get_status() and
      Request.cancel().
    * Support for passing Python GPU arrays compliant with the
      DLPack data interchange mechanism (link) and the
      __cuda_array_interface__ (CAI) standard (link) to uppercase
      methods. This support requires that mpi4py is built against
      CUDA-aware MPI implementations. This feature is currently
      experimental and subject to future changes.
    * mpi4py.futures: Add support for initializers and canceling
      futures at shutdown. Environment variables names now follow
      the pattern MPI4PY_FUTURES_*, the previous MPI4PY_* names are
      deprecated.
    * Add type annotations to Cython code. The first line of the
      docstring of functions and methods displays a signature
      including type annotations.
    * Add companion stub files to support type checkers.
    * Support for weak references.
    * Miscellaneous:

OBS-URL: https://build.opensuse.org/request/show/921522
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-mpi4py?expand=0&rev=18
2021-09-26 23:05:50 +00:00
Christoph Junghans
846051f5d7 Accepting request 919997 from home:cjunghans:branches:devel:languages:python:numeric
- Reactivate test_msgspec, disable test_spawn

OBS-URL: https://build.opensuse.org/request/show/919997
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-mpi4py?expand=0&rev=17
2021-09-18 01:31:06 +00:00
Christoph Junghans
cbcfde4e15 Accepting request 919605 from home:cjunghans:branches:devel:languages:python:numeric
mpi4py is one of the last packages on tumbleweed still using openmpi2, so build against openmpi4.

OBS-URL: https://build.opensuse.org/request/show/919605
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-mpi4py?expand=0&rev=16
2021-09-17 00:31:52 +00:00
647491cd2e Accepting request 875220 from home:andythe_great:branches:devel:languages:python:numeric
- Skip python 3.6 because numpy no longer support it.

OBS-URL: https://build.opensuse.org/request/show/875220
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-mpi4py?expand=0&rev=14
2021-02-25 20:36:56 +00:00
Tomáš Chvátal
4f2bb6787f Accepting request 749759 from home:TheBlackCat:branches:devel:languages:python:numeric
Update to 3.0.3

OBS-URL: https://build.opensuse.org/request/show/749759
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-mpi4py?expand=0&rev=12
2019-11-20 06:18:58 +00:00
Tomáš Chvátal
7f9a36c0a4 Accepting request 720899 from home:TheBlackCat:branches:devel:languages:python:numeric
Add upstream patch to fix unit tests

OBS-URL: https://build.opensuse.org/request/show/720899
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-mpi4py?expand=0&rev=10
2019-08-04 19:03:26 +00:00
Tomáš Chvátal
a6bcb4d70a Accepting request 719974 from home:TheBlackCat:branches:devel:languages:python:numeric
+ Fix handling of readonly buffers in support for Python  2 legacy buffer interface. The issue triggers only when using  a buffer-like object that is readonly and does not export  the new Python 3 buffer interface.
+ Fix build issues with Open MPI 4.0.x series related to removal of many MPI-1 symbols deprecated in MPI-2 and removed in MPI-3.
+ Minor documentation fixes.

OBS-URL: https://build.opensuse.org/request/show/719974
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-mpi4py?expand=0&rev=9
2019-08-01 07:59:15 +00:00
Tomáš Chvátal
698bd37dd7 Accepting request 682182 from home:bmwiedemann:branches:devel:languages:python:numeric
Use openmpi2 for releases that support it.
And stop pretending this can work with openmpi3 - it never did.

OBS-URL: https://build.opensuse.org/request/show/682182
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-mpi4py?expand=0&rev=7
2019-03-06 15:11:53 +00:00
Tomáš Chvátal
5d216ba9be - Update to 3.0.1:
* Bug fixes:
    + Fix ``Comm.scatter()`` and other collectives corrupting input send
      list. Add safety measures to prevent related issues in global
      reduction operations.
    + Fix error-checking code for counts in ``Op.Reduce_local()``.
  * Enhancements:
    + Map size-specific Python/NumPy typecodes to MPI datatypes.
    + Allow partial specification of target list/tuple arguments in the
      various ``Win`` RMA methods.
    + Workaround for removal of ``MPI_{LB|UB}`` in Open MPI 4.0.
    + Support for Microsoft MPI v10.0.
- Add numpy as build dependency used in tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-mpi4py?expand=0&rev=5
2019-02-25 10:42:06 +00:00
35c6a13553 Accepting request 649202 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/649202
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mpi4py?expand=0&rev=6
2018-11-15 11:42:03 +00:00
92219b7242 Accepting request 617714 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/617714
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mpi4py?expand=0&rev=5
2018-06-29 20:29:36 +00:00
8aee1f8215 Accepting request 536575 from devel:languages:python
- adapt to new openlmi package - source mpivars.h during build

OBS-URL: https://build.opensuse.org/request/show/536575
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mpi4py?expand=0&rev=4
2017-10-26 16:44:34 +00:00
03ad34ac1f Accepting request 498537 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/498537
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mpi4py?expand=0&rev=3
2017-06-12 13:28:15 +00:00
0947d07598 Accepting request 452586 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/452586
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mpi4py?expand=0&rev=2
2017-01-29 09:37:44 +00:00
d3a1159d41 Accepting request 452318 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/452318
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mpi4py?expand=0&rev=1
2017-01-25 22:36:15 +00:00