unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Vinicius Monego <monego@posteo.net>
To: 42069@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#42069] [PATCH 1/6] gnu: Add python-pytest-arraydiff.
Date: Fri, 26 Jun 2020 19:15:37 -0300	[thread overview]
Message-ID: <20200626221542.22604-1-monego@posteo.net> (raw)

* gnu/packages/check.scm (python-pytest-arraydiff): New variable.
---
 gnu/packages/check.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index df9d380f71..ccf74cfb46 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -1750,6 +1750,33 @@ look and feel of py.test, using a progress bar and showing failures and errors
 instantly.")
     (license license:bsd-3)))
 
+(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-pytest" ,python-pytest)
+       ("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-hypothesis
   (package
     (name "python-hypothesis")
-- 
2.20.1





             reply	other threads:[~2020-06-26 22:23 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-26 22:15 Vinicius Monego [this message]
2020-06-26 22:15 ` [bug#42071] [PATCH 2/6] gnu: Add python-pytest-doctestplus Vinicius Monego
2020-06-26 22:15 ` [bug#42070] [PATCH 3/6] gnu: Add python-pytest-filter-subpackage Vinicius Monego
2020-06-26 22:15 ` [bug#42072] [PATCH 4/6] gnu: Add python-pytest-openfiles Vinicius Monego
2020-06-26 22:15 ` [bug#42073] [PATCH 5/6] gnu: Add python-pytest-remotedata Vinicius Monego
2020-06-26 22:15 ` [bug#42074] [PATCH 6/6] gnu: Add python-pytest-mpl Vinicius Monego
2020-07-07 12:30 ` [bug#42069] [PATCH 1/6] gnu: Add python-pytest-arraydiff Nicolas Goaziou
2020-07-23 18:23 ` [bug#42069] [PATCH v2 " Vinicius Monego
2020-07-23 18:23   ` [bug#42069] [PATCH v2 2/6] gnu: Add python-pytest-doctestplus Vinicius Monego
2020-07-23 18:23   ` [bug#42069] [PATCH v2 3/6] gnu: Add python-pytest-filter-subpackage Vinicius Monego
2020-07-23 18:23   ` [bug#42069] [PATCH v2 4/6] gnu: Add python-pytest-openfiles Vinicius Monego
2020-07-23 18:23   ` [bug#42069] [PATCH v2 5/6] gnu: Add python-pytest-remotedata Vinicius Monego
2020-07-25 16:29     ` Marius Bakke
2020-07-23 18:23   ` [bug#42069] [PATCH v2 6/6] gnu: Add python-pytest-mpl Vinicius Monego
2020-07-25 16:24   ` [bug#42069] [PATCH v2 1/6] gnu: Add python-pytest-arraydiff Marius Bakke
2020-07-25  2:20 ` [bug#42069] [PATCH " Brett Gilio
2020-07-25 16:29   ` bug#42069: " Marius Bakke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200626221542.22604-1-monego@posteo.net \
    --to=monego@posteo.net \
    --cc=42069@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).