[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/18: gnu: Add python-pytest-arraydiff.
From: |
guix-commits |
Subject: |
06/18: gnu: Add python-pytest-arraydiff. |
Date: |
Sat, 25 Jul 2020 12:49:15 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit c0f52c41d86744537075229a9f0ec0f77ced0c75
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Thu Jul 23 15:23:23 2020 -0300
gnu: Add python-pytest-arraydiff.
* gnu/packages/python-check.scm (python-pytest-arraydiff): New variable.
Signed-off-by: Marius Bakke <marius@gnu.org>
---
gnu/packages/python-check.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 2e3cfe0..9d25753 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -7,6 +7,7 @@
;;; Copyright © 2020 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2020 Edouard Klein <edk@beaver-labs.com>
+;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -125,6 +126,32 @@ detect the absence of a cassette file and once again
record all HTTP
interactions, which will update them to correspond to the new API.")
(license license:expat)))
+(define-public python-pytest-arraydiff
+ (package
+ (name "python-pytest-arraydiff")
+ (version "0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-arraydiff" version))
+ (sha256
+ (base32 "05bcvhh2ycxa35znl8b3l9vkcmx7vwm5c3fpakbpw46c7vsn4bfy"))))
+ (build-system python-build-system)
+ (arguments
+ ;; Tests require python-astropy, which itself requires this package.
+ ;; Disable tests to avoid the circular dependency problem.
+ '(#:tests? #f))
+ (propagated-inputs
+ `(("python-numpy" ,python-numpy)
+ ("python-six" ,python-six)))
+ (home-page "https://github.com/astropy/pytest-arraydiff")
+ (synopsis "Pytest plugin to help with comparing array output from tests")
+ (description
+ "This is a py.test plugin to facilitate the generation and comparison of
+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-vcr
;; This commit fixes integration with pytest-5
(let ((commit "4d6c7b3e379a6a7cba0b8f9d20b704dc976e9f05")
- branch master updated (b890117 -> 07dbdbd), guix-commits, 2020/07/25
- 01/18: gnu: ao: Update source URI., guix-commits, 2020/07/25
- 04/18: gnu: Add syncthing-gtk., guix-commits, 2020/07/25
- 03/18: gnu: procenv: Check is a native input., guix-commits, 2020/07/25
- 02/18: gnu: libsigrok: Remove unused input., guix-commits, 2020/07/25
- 05/18: gnu: python-typing-extension: Update to 3.7.4.2., guix-commits, 2020/07/25
- 06/18: gnu: Add python-pytest-arraydiff.,
guix-commits <=
- 10/18: gnu: Add python-pytest-remotedata., guix-commits, 2020/07/25
- 13/18: gnu: Add python-cfgv., guix-commits, 2020/07/25
- 15/18: gnu: Add python-nodeenv., guix-commits, 2020/07/25
- 17/18: gnu: Add python-pre-commit., guix-commits, 2020/07/25
- 07/18: gnu: Add python-pytest-doctestplus., guix-commits, 2020/07/25
- 08/18: gnu: Add python-pytest-filter-subpackage., guix-commits, 2020/07/25
- 09/18: gnu: Add python-pytest-openfiles., guix-commits, 2020/07/25
- 11/18: gnu: Add python-pytest-mpl., guix-commits, 2020/07/25
- 12/18: gnu: Add python-covdefaults., guix-commits, 2020/07/25
- 14/18: gnu: Add python-identify., guix-commits, 2020/07/25