From: Hugo Lecomte <hugo.lecomte@inria.fr>
To: 49338@debbugs.gnu.org
Cc: Hugo Lecomte <hugo.lecomte@inria.fr>
Subject: [bug#49338] [PATCH 4/8] gnu: Add python-pytest-regressions.
Date: Mon, 5 Jul 2021 09:29:27 +0200 [thread overview]
Message-ID: <20210705072931.2271-4-hugo.lecomte@inria.fr> (raw)
In-Reply-To: <20210705072931.2271-1-hugo.lecomte@inria.fr>
* 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
next prev parent reply other threads:[~2021-07-05 7:32 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-02 14:58 [bug#49338] [PATCH 0/8] Repo2docker packages Hugo Lecomte
2021-07-03 7:46 ` zimoun
2021-07-05 7:29 ` [bug#49338] [PATCH 1/8] gnu: Add python-escapism Hugo Lecomte
2021-07-05 7:29 ` [bug#49338] [PATCH 2/8] gnu: Add python-recommonmark Hugo Lecomte
2021-07-05 7:29 ` [bug#49338] [PATCH 3/8] gnu: Add python-pytest-datadir Hugo Lecomte
2021-07-05 7:29 ` Hugo Lecomte [this message]
2021-07-05 7:29 ` [bug#49338] [PATCH 5/8] gnu: Add python-jupyter-sphinx Hugo Lecomte
2021-07-05 7:29 ` [bug#49338] [PATCH 6/8] gnu: Add python-sphinxcontrib-autoprogram Hugo Lecomte
2021-07-05 7:29 ` [bug#49338] [PATCH 7/8] gnu: Add python-pydata-sphinx-theme Hugo Lecomte
2021-07-05 7:29 ` [bug#49338] [PATCH 8/8] gnu: Add repo2docker Hugo Lecomte
2021-07-08 20:57 ` bug#49338: [PATCH 0/8] Repo2docker packages Ludovic Courtès
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=20210705072931.2271-4-hugo.lecomte@inria.fr \
--to=hugo.lecomte@inria.fr \
--cc=49338@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).