Subject: [bug#78181] [PATCH 1/2] gnu: Add python-pytest-mpi.

From: David Elsing <[email-masked]>
Date: Thu, 1 May 2025 09:35:12 +0000

* gnu/packages/python-check.scm (python-pytest-mpi): New variable.
---
 gnu/packages/python-check.scm | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index eb4d62a294..b23361980f 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -23,7 +23,7 @@
 ;;; Copyright © 2022 jgart <[email-masked]>
 ;;; Copyright © 2024-2025 Troy Figiel <[email-masked]>
 ;;; Copyright © 2024 Navid Afkhami <[email-masked]>
-;;; Copyright © 2024 David Elsing <[email-masked]>
+;;; Copyright © 2024, 2025 David Elsing <[email-masked]>
 ;;; Copyright © 2024 Eric Bavier <[email-masked]>
 ;;; Copyright © 2024 Markku Korkeala <[email-masked]>
 ;;; Copyright © 2025 Evgeny Pisemsky <[email-masked]>
@@ -2446,6 +2446,24 @@ (define-public python-pytest-mockito
 @end itemize")
     (license license:expat)))
 
+(define-public python-pytest-mpi
+  (package
+    (name "python-pytest-mpi")
+    (version "0.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pytest-mpi" version))
+       (sha256
+        (base32 "1a954cai5lr327np5f38mg8gw91p4akx8m2z416wvwzq24swvcq9"))))
+    (build-system python-build-system)
+    (propagated-inputs (list python-pytest))
+    (home-page "https://pytest-mpi.readthedocs.io")
+    (synopsis "Pytest plugin for working with MPI")
+    (description "This plugin provides tools for running tests with MPI and
+for testing code using MPI.")
+    (license license:bsd-3)))
+
 (define-public python-pytest-mpl
   (package
     (name "python-pytest-mpl")
-- 
2.49.0