guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 3b1462f59035a9ad35894ff283b41c1a6a4a72af
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Sep 18 13:11:07 2025 +0100
gnu: Add python-pytest-asdf-plugin.
* gnu/packages/python-check.scm (python-pytest-asdf-plugin): New variable.
Change-Id: I2de8c8ef9ddd6cc4b764079d6461996d01d1a21c
---
gnu/packages/python-check.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index e40b92f508..34dc4c40cc 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1834,6 +1834,31 @@ data arrays produced during tests, in particular in
cases where the arrays
are too large to conveniently hard-code them in the tests.")
(license license:bsd-3)))
+(define-public python-pytest-asdf-plugin
+ (package
+ (name "python-pytest-asdf-plugin")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest_asdf_plugin" version))
+ (sha256
+ (base32 "0bcfl1s7yrnr2rlpr3hswcg9jyq6gnj0ppmpzppw9xgj796ycfb5"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:tests? #f ;to avoid import astronomy module
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'sanity-check))))
+ (native-inputs
+ (list python-setuptools-next
+ python-setuptools-scm-next))
+ (home-page "https://github.com/asdf-format/pytest-asdf-plugin")
+ (synopsis "Pytest plugin for testing ASDF schemas")
+ (description
+ "This package provides a Pytest plugin for testing ASDF schemas.")
+ (license license:bsd-3)))
+
(define-public python-pytest-astropy
(package
(name "python-pytest-astropy")