From 40066ba37ac9fd7bbb70f7c6f81dda27cdedd78b Mon Sep 17 00:00:00 2001 From: David Elsing Date: Thu, 1 May 2025 09:35:12 +0000 Subject: [PATCH] gnu: Add python-pytest-mpi. * gnu/packages/python-check.scm (python-pytest-mpi): New variable. Change-Id: If1c5fd2ad6d6e3243be2a8d595e1f9b7f3204f3d Signed-off-by: Andreas Enge --- 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 eb4d62a294e55d3d128f9d2e1fbea7b097e81fef..2b008a2bdbe6af04e31f6ffceaca0808f8983b2c 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -23,7 +23,7 @@ ;;; Copyright © 2022 jgart ;;; Copyright © 2024-2025 Troy Figiel ;;; Copyright © 2024 Navid Afkhami -;;; Copyright © 2024 David Elsing +;;; Copyright © 2024, 2025 David Elsing ;;; Copyright © 2024 Eric Bavier ;;; Copyright © 2024 Markku Korkeala ;;; Copyright © 2025 Evgeny Pisemsky @@ -2446,6 +2446,24 @@ framework and makes it easy to undo any monkey patching. The fixtures are: @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 for Pytest provides tools for running Python +tests with MPI and for testing code using MPI.") + (license license:bsd-3))) + (define-public python-pytest-mpl (package (name "python-pytest-mpl")