Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 1, 2025

Updates the requirements on mpi4py to permit the latest version.

Release notes

Sourced from mpi4py's releases.

4.1.0

  • New features:

    • Publish binary wheel packages on PyPI with support for multiple operating systems (Linux, macOS, Windows), processor architectures (AMD64, ARM64), MPI implementations (MPICH, Open MPI, and their ABI-compatible derivatives), and Python implementations (CPython, PyPy).
    • 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. These datatypes are not yet standard but available as extensions in MPI implementations.
    • 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. The MPI extension module will be able to dynamically link at runtime with older versions (down to the MPI 3.0 standard) of the MPI implementation used at compile time. Only available on Linux, macOS, and Windows.
    • 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.
    • Reimplement MPI DLL search path on Windows.
    • 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.
Changelog

Sourced from mpi4py's changelog.

Release 4.1.0 [2025-06-25]

  • New features:

    • Publish binary wheel packages on PyPI_ with support for multiple operating systems (Linux, macOS, Windows), processor architectures (AMD64, ARM64), MPI implementations (MPICH, Open MPI, and their ABI-compatible derivatives), and Python implementations (CPython, PyPy).

      .. _PyPI: https://pypi.org/project/mpi4py/#files

    • 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.

    .. _BigMPI: https://doi.org/10.1109/ExaMPI.2014.5

    • Add support for MPI.FLOAT16_T and MPI.BFLOAT16_T datatypes. These datatypes are not yet standard but available as extensions in MPI implementations.

    • 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. The MPI extension module will be able to dynamically link at runtime with older versions (down to the MPI 3.0 standard) of the MPI implementation used at compile time. Only available on Linux, macOS, and Windows.

    • 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.

... (truncated)

Commits
  • 23bbd37 Bump version number to 4.1.0
  • a86f2d1 chore: Update changelog
  • 001040c docs: Update install instructions
  • ea62099 lint: Update pre-commit ruff
  • 6fb6bc4 build: Update for Intel MPI 2021.16
  • d0a980f GHA: Update MPICH version in ABI tests
  • 3485d60 GHA: Add CPython 3.13 free-threading
  • 992e405 GHA: Rename workflow dist -> release
  • 5d7b80f Azure Pipelines: Upgrade to Windows-2022
  • 529c6f5 GHA: Remove PyPy 3.9
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Jul 1, 2025
@mloubout
Copy link
Contributor

mloubout commented Jul 1, 2025

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/pip/mpi4py-lt-4.1.1 branch 3 times, most recently from 579eeb1 to 2cb08c5 Compare July 2, 2025 04:17
Updates the requirements on [mpi4py](https://github.com/mpi4py/mpi4py) to permit the latest version.
- [Release notes](https://github.com/mpi4py/mpi4py/releases)
- [Changelog](https://github.com/mpi4py/mpi4py/blob/master/CHANGES.rst)
- [Commits](mpi4py/mpi4py@1.0...4.1.0)

---
updated-dependencies:
- dependency-name: mpi4py
  dependency-version: 4.1.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/mpi4py-lt-4.1.1 branch from 2cb08c5 to dac15c5 Compare July 2, 2025 12:49
@codecov
Copy link

codecov bot commented Jul 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.46%. Comparing base (f37d231) to head (b9a1eec).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2649      +/-   ##
==========================================
+ Coverage   91.31%   91.46%   +0.15%     
==========================================
  Files         245      245              
  Lines       48813    48813              
  Branches     4310     4310              
==========================================
+ Hits        44572    44646      +74     
+ Misses       3530     3464      -66     
+ Partials      711      703       -8     
Flag Coverage Δ
pytest-gpu-aomp-amdgpuX ?
pytest-gpu-nvc-nvidiaX 73.62% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mloubout mloubout force-pushed the dependabot/pip/mpi4py-lt-4.1.1 branch from 583e50b to b9a1eec Compare July 2, 2025 13:30
@mloubout mloubout merged commit 77ffae7 into main Jul 2, 2025
36 of 37 checks passed
@mloubout mloubout deleted the dependabot/pip/mpi4py-lt-4.1.1 branch July 2, 2025 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants