[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/18: gnu: python-pytest-mpl: Update to 0.16.1.
From: |
guix-commits |
Subject: |
15/18: gnu: python-pytest-mpl: Update to 0.16.1. |
Date: |
Mon, 8 May 2023 05:51:48 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 596f3beeb78609c1bbc000dbc56be87229e5d840
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Fri Apr 28 00:43:12 2023 +0100
gnu: python-pytest-mpl: Update to 0.16.1.
* gnu/packages/python-check.scm (python-pytest-mpl): Update to 0.16.1.
[build-system]: Use pyproject-build-system.
[arguments]<phases>: Simplify phases by removing redundant modification
and use <test-flags> instead.
[propagated-inputs]: Add python-jinja2, python-packaging.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/python-check.scm | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index d3848de95a..f272a252fc 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -831,24 +831,25 @@ framework and makes it easy to undo any monkey patching.
The fixtures are:
(define-public python-pytest-mpl
(package
(name "python-pytest-mpl")
- (version "0.11")
+ (version "0.16.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pytest-mpl" version))
(sha256
- (base32 "1km202c1s5kcn52fx0266p06qb34va3warcby594dh6vixxa9i96"))))
- (build-system python-build-system)
+ (base32 "0sa4229xkkah3fdg9wnqnvb9j13xsd3x1h5rwbsgb3sf2a0icmrd"))))
+ (build-system pyproject-build-system)
(arguments
- '(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda _
- (invoke "pytest" "-vv"))))))
+ (list
+ #:test-flags #~(list "-m" "mpl_image_compare")))
(native-inputs
(list python-pytest))
(propagated-inputs
- (list python-matplotlib python-nose python-pillow))
+ (list python-jinja2
+ python-matplotlib
+ python-nose
+ python-packaging
+ python-pillow))
(home-page "https://github.com/matplotlib/pytest-mpl")
(synopsis "Pytest plugin to help with testing figures output from
Matplotlib")
(description
- 05/18: gnu: Sort use-module alphabetically in (gnu packages geo)., (continued)
- 05/18: gnu: Sort use-module alphabetically in (gnu packages geo)., guix-commits, 2023/05/08
- 08/18: gnu: python-pytest-filter-subpackage: Update to 0.1.2., guix-commits, 2023/05/08
- 02/18: gnu: tio: Update to 2.5., guix-commits, 2023/05/08
- 10/18: gnu: python-extension-helpers: Update to 1.0.0., guix-commits, 2023/05/08
- 13/18: gnu: python-pytest-remotedata: Update to 0.4.0., guix-commits, 2023/05/08
- 16/18: gnu: python-astropy: Update to 5.2.2., guix-commits, 2023/05/08
- 18/18: gnu: python-bottleneck: Honor #:tests? flag., guix-commits, 2023/05/08
- 14/18: gnu: python-pytest-arraydiff: Update to 0.5.0., guix-commits, 2023/05/08
- 11/18: gnu: python-jplephem: Update to 2.18., guix-commits, 2023/05/08
- 17/18: gnu: python-bottleneck: Update to 1.3.7., guix-commits, 2023/05/08
- 15/18: gnu: python-pytest-mpl: Update to 0.16.1.,
guix-commits <=
- 12/18: gnu: python-skyfield: Update to 1.46., guix-commits, 2023/05/08