gnu: python-pytest-mpi: Enable tests.

* gnu/packages/python-check.scm (python-pytest-mpi) [build-sytem]:
Switch to pyproject.
[propagated-inputs]: Remove python-pytest.
[native-inputs]: Add openmpi, python-pytest, python-setuptools,
python-sybil, and python-wheel.

Change-Id: I3f6b048e5e1b86048922b3d132a6d9c51e85f857
This commit is contained in:
Sharlatan Hellseher 2025-05-01 12:31:14 +01:00
parent 4296310b59
commit 304f8bebbb
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -57,6 +57,7 @@
#:use-module (gnu packages docker)
#:use-module (gnu packages jupyter)
#:use-module (gnu packages maths)
#:use-module (gnu packages mpi)
#:use-module (gnu packages openstack)
#:use-module (gnu packages perl)
#:use-module (gnu packages python-build)
@ -2515,12 +2516,21 @@ framework and makes it easy to undo any monkey patching. The fixtures are:
(uri (pypi-uri "pytest-mpi" version))
(sha256
(base32 "1a954cai5lr327np5f38mg8gw91p4akx8m2z416wvwzq24swvcq9"))))
(build-system python-build-system)
(propagated-inputs (list python-pytest))
(build-system pyproject-build-system)
(arguments
;; See <https://github.com/aragilar/pytest-mpi/issues/4>.
(list #:test-flags #~(list "-p" "pytester")))
(native-inputs
(list openmpi
python-pytest
python-setuptools
python-sybil
python-wheel))
(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.")
(synopsis "Pytest plugin to collect information from tests")
(description
"@code{pytest_mpi} is a plugin for pytest providing some useful tools
when running tests under MPI, and testing MPI-related code.")
(license license:bsd-3)))
(define-public python-pytest-mpl