[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/13: gnu: Add python-pytest-regressions.
From: |
guix-commits |
Subject: |
07/13: gnu: Add python-pytest-regressions. |
Date: |
Fri, 9 Jul 2021 05:59:26 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit e31979c3a50a781d8d0341659666e865dd1d1403
Author: Hugo Lecomte <hugo.lecomte@inria.fr>
AuthorDate: Mon Jul 5 09:29:27 2021 +0200
gnu: Add python-pytest-regressions.
* gnu/packages/check.scm (python-pytest-regressions): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/check.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 14ffee2..6374493 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -71,6 +71,7 @@
#:use-module (gnu packages python-build)
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
+ #:use-module (gnu packages python-science)
#:use-module (gnu packages time)
#:use-module (gnu packages xml)
#:use-module (guix utils)
@@ -2942,3 +2943,37 @@ skipped if any of the dependencies did fail or has been
skipped.")
"This package provides a Pytest plugin for manipulating test data
directories and files.")
(license license:expat)))
+
+(define-public python-pytest-regressions
+ (package
+ (name "python-pytest-regressions")
+ (version "2.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-regressions" version))
+ (sha256
+ (base32
+ "05jpsvv8rj8i4x24fphpnar5dl4s6d6bw6ikjk5d8v96rdviz9qm"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-pytest-datadir" ,python-pytest-datadir)
+ ("python-pyyaml" ,python-pyyaml)))
+ (native-inputs
+ `(("python-matplotlib" ,python-matplotlib)
+ ("python-numpy" ,python-numpy)
+ ("python-pandas" ,python-pandas)
+ ("python-pillow" ,python-pillow)
+ ("python-pre-commit" ,python-pre-commit)
+ ("python-restructuredtext-lint"
+ ,python-restructuredtext-lint)
+ ("python-tox" ,python-tox)
+ ("python-setuptools-scm" ,python-setuptools-scm)
+ ("python-pytest" ,python-pytest)))
+ (home-page "https://github.com/ESSS/pytest-regressions")
+ (synopsis "Easy to use fixtures to write regression tests")
+ (description
+ "This plugin makes it simple to test general data, images, files, and
numeric
+tables by saving expected data in a data directory (courtesy of pytest-datadir)
+that can be used to verify that future runs produce the same data.")
+ (license license:expat)))
- 04/13: gnu: Add python-escapism., (continued)
- 04/13: gnu: Add python-escapism., guix-commits, 2021/07/09
- 01/13: gnu: python-seaborn: 'check' phase honors #:tests?., guix-commits, 2021/07/09
- 02/13: gnu: python-seaborn: Simplify 'start-xserver' phase., guix-commits, 2021/07/09
- 03/13: gnu: python-seaborn: Update to 0.11.1., guix-commits, 2021/07/09
- 06/13: gnu: Add python-pytest-datadir., guix-commits, 2021/07/09
- 09/13: gnu: Add python-sphinxcontrib-autoprogram., guix-commits, 2021/07/09
- 08/13: gnu: Add python-jupyter-sphinx., guix-commits, 2021/07/09
- 10/13: gnu: Add python-pydata-sphinx-theme., guix-commits, 2021/07/09
- 11/13: gnu: Add repo2docker., guix-commits, 2021/07/09
- 05/13: gnu: Add python-recommonmark., guix-commits, 2021/07/09
- 07/13: gnu: Add python-pytest-regressions.,
guix-commits <=
- 12/13: gnu: python-arrow: Update to 1.1.1., guix-commits, 2021/07/09
- 13/13: gnu: python-arrow: Honor #:tests? in 'check' phase., guix-commits, 2021/07/09