rekado pushed a commit to branch python-team
in repository guix.

commit 8dd5041d8893d0c90d486cf62e960d85ced7e6b5
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Jan 26 17:18:04 2025 +0000

    gnu: python-pytest-regressions: Update to 2.7.0.
    
    * gnu/packages/check.scm (python-pytest-regressions): Update to 2.7.0.
    [arguments] <test-flags>: Do not fail on deprecation warning.
    [native-inputs]: Remove python-matplotlib, python-pillow, and
    python-restructuredtext-lint.
    
    Change-Id: I63c9295e7b926edd591d11aba1e89ea7f7cda8c6
---
 gnu/packages/check.scm | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 36b0b0ed14..502e06fcdf 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -4380,23 +4380,25 @@ directories and files.")
 (define-public python-pytest-regressions
   (package
     (name "python-pytest-regressions")
-    (version "2.5.0")
+    (version "2.7.0")
     (source
      (origin
        (method url-fetch)
-       (uri (pypi-uri "pytest-regressions" version))
+       (uri (pypi-uri "pytest_regressions" version))
        (sha256
-        (base32 "1nbg20m83jsj9p12fm4qn5b7hc3vqb5h5fzfi6zvmwygq627i341"))))
+        (base32 "0pph1935rq180ax0szwwf3c6zq2v40snypagr49914i31570cc2c"))))
     (build-system pyproject-build-system)
+    (arguments
+     (list
+      ;; Do not fail on warning.
+      ;; DeprecationWarning: module 'sre_constants' is deprecated
+      #:test-flags #~(list "-W" "ignore::DeprecationWarning")))
     (native-inputs
-     (list python-matplotlib
-           python-numpy
+     (list python-numpy
            python-pandas
-           python-pillow
-           python-restructuredtext-lint
+           python-pytest
            python-setuptools
-           python-setuptools-scm
-           python-pytest))
+           python-setuptools-scm))
     (propagated-inputs
      (list python-pytest-datadir
            python-pyyaml))

Reply via email to