[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#57540] [RFC PATCH v2 15/19] gnu: Add python-pytest-icdiff.* gnu/pac
From: |
Garek Dyszel |
Subject: |
[bug#57540] [RFC PATCH v2 15/19] gnu: Add python-pytest-icdiff.* gnu/packages/python-check.scm (python-pytest-icdiff): New variable. |
Date: |
Wed, 07 Sep 2022 14:34:34 -0400 |
* gnu/packages/python-check.scm (python-pytest-icdiff): New variable.
---
gnu/packages/python-check.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 5ee1d41f34..6199b1e147 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -16,6 +16,7 @@
;;; Copyright © 2022 Malte Frank Gerdes <malte.f.gerdes@gmail.com>
;;; Copyright © 2022 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2022 Tomasz Jeneralczyk <tj@schwi.pl>
+;;; Copyright © 2022 Garek Dyszel <garekdyszel@disroot.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2468,3 +2469,24 @@ (define-public python-xvfbwrapper
physical display. Only a network layer is necessary. Xvfb is useful for
running acceptance tests on headless servers.")
(license license:expat)))
+
+(define-public python-pytest-icdiff
+ (package
+ (name "python-pytest-icdiff")
+ (version "0.6")
+ (source (origin
+ ;; Tests fail in git version, but not in the PyPi version.
+ ;; The PyPi version is also more up-to-date.
+ (method url-fetch)
+ (uri (pypi-uri "pytest-icdiff" version))
+ (sha256
+ (base32
+ "1b8vzn2hvv6x25w1s446q1rfsbdik617lzpal3qb94x8a12yzwg8"))))
+ (build-system python-build-system)
+ (propagated-inputs (list python python-pypa-build python-icdiff
+ python-pprintpp))
+ (native-inputs (list python-pytest))
+ (home-page "https://github.com/hjwp/pytest-icdiff")
+ (synopsis "Use icdiff for better error messages in pytest assertions")
+ (description "Use icdiff for better error messages in pytest assertions.")
+ (license (license:non-copyleft "LICENSE"))))
--
2.37.2
- [bug#57540] [RFC PATCH v2 04/19] gnu: Add coq-elpi.* gnu/packages/coq.scm (coq-elpi): New variable., (continued)
- [bug#57540] [RFC PATCH v2 04/19] gnu: Add coq-elpi.* gnu/packages/coq.scm (coq-elpi): New variable., Garek Dyszel, 2022/09/07
- [bug#57540] [RFC PATCH v2 06/19] gnu: Add coq-mathcomp-finmap.* gnu/packages/coq.scm (coq-mathcomp-finmap): New variable., Garek Dyszel, 2022/09/07
- [bug#57540] [RFC PATCH v2 02/19] gnu: Add ocaml-atd.* gnu/packages/ocaml.scm (ocaml-atd): New variable., Garek Dyszel, 2022/09/07
- [bug#57540] [RFC PATCH v2 05/19] gnu: Add coq-mathcomp-hierarchy-builder.* gnu/packages/coq.scm (coq-mathcomp-hierarchy-builder): New variable., Garek Dyszel, 2022/09/07
- [bug#57540] [RFC PATCH v2 09/19] gnu: Add python-version.* gnu/packages/python-xyz.scm (python-version): New variable., Garek Dyszel, 2022/09/07
- [bug#57540] [RFC PATCH v2 07/19] gnu: Add coq-mathcomp-bigenough.* gnu/packages/coq.scm (coq-mathcomp-bigenough): New variable., Garek Dyszel, 2022/09/07
- [bug#57540] [RFC PATCH v2 08/19] gnu: Add coq-mathcomp-analysis.* gnu/packages/coq.scm (coq-mathcomp-analysis): New variable., Garek Dyszel, 2022/09/07
- [bug#57540] [RFC PATCH v2 10/19] gnu: Add python-hatchling.* gnu/packages/python-xyz.scm (python-hatchling): New variable., Garek Dyszel, 2022/09/07
- [bug#57540] [RFC PATCH v2 12/19] gnu: Add python-hatch-fancy-pypi-readme.* gnu/packages/python-xyz.scm (python-hatch-fancy-pypi-readme): New variable., Garek Dyszel, 2022/09/07
- [bug#57540] [RFC PATCH v2 14/19] gnu: Add python-icdiff.* gnu/packages/python-xyz.scm (python-icdiff): New variable., Garek Dyszel, 2022/09/07
- [bug#57540] [RFC PATCH v2 15/19] gnu: Add python-pytest-icdiff.* gnu/packages/python-check.scm (python-pytest-icdiff): New variable.,
Garek Dyszel <=
- [bug#57540] [RFC PATCH v2 16/19] gnu: Add python-editables.* gnu/packages/python-build.scm (python-editables): New variable., Garek Dyszel, 2022/09/07
- [bug#57540] [RFC PATCH v2 17/19] gnu: Add python-pluggy-1.0.* gnu/packages/python-xyz.scm (python-pluggy-1.0): New variable., Garek Dyszel, 2022/09/07
- [bug#57540] [RFC PATCH v2 11/19] gnu: Add python-hatch-vcs.* gnu/packages/python-xyz.scm (python-hatch-vcs): New variable., Garek Dyszel, 2022/09/07
- [bug#57540] [RFC PATCH v2 19/19] gnu: Add python-jsonschema-4.15.* gnu/packages/python-xyz.scm (python-jsonschema-4.15): New variable., Garek Dyszel, 2022/09/07
- [bug#57540] [RFC PATCH v2 13/19] gnu: Add python-pprintpp.* gnu/packages/python-xyz.scm (python-pprintpp): New variable., Garek Dyszel, 2022/09/07
- [bug#57540] [RFC PATCH v2 18/19] gnu: Add python-setuptools-scm-7.* gnu/packages/python.xyz.scm (python-setuptools-scm-7): New variable., Garek Dyszel, 2022/09/07