GNU bug report logs - #49338
[PATCH 0/8] Repo2docker packages

Previous Next

Package: guix-patches;

Reported by: Hugo Lecomte <hugo.lecomte <at> inria.fr>

Date: Fri, 2 Jul 2021 18:58:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludovic.courtes <at> inria.fr>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 49338 <at> debbugs.gnu.org (full text, mbox):

From: Hugo Lecomte <hugo.lecomte <at> inria.fr>
To: 49338 <at> debbugs.gnu.org
Cc: Hugo Lecomte <hugo.lecomte <at> inria.fr>
Subject: [PATCH 4/8] gnu: Add python-pytest-regressions.
Date: Mon,  5 Jul 2021 09:29:27 +0200
* gnu/packages/check.scm (python-pytest-regressions): New variable.
---
 gnu/packages/check.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index c97e1e721c..a6fc88c4eb 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -70,6 +70,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)
@@ -2946,3 +2947,37 @@ skipped if any of the dependencies did fail or has been skipped.")
     (description
      "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)))
-- 
2.31.1





This bug report was last modified 4 years and 32 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.