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

commit 472d9fb919d6d7222aae2a11a59db291442935a9
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Mon Dec 8 23:03:22 2025 +0000

    gnu: python-pytest-regressions: Update to 2.8.3.
    
    * gnu/packages/check.scm (python-pytest-regressions): Update to 2.8.3.
    [arguments] <test-flags>: Remove requirements of expensive inputs.
    [native-inputs]: Remove python-numpy, python-pandas, and python-pytest; add
    python-pytest-bootstrap.
    
    Change-Id: I482521782c8cd21c8a86ed69c11a8efa538326e4
---
 gnu/packages/check.scm | 22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index a18102b5e8..5204d432db 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -3748,23 +3748,29 @@ directories and files.")
 (define-public python-pytest-regressions
   (package
     (name "python-pytest-regressions")
-    (version "2.7.0")
+    (version "2.8.3")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "pytest_regressions" version))
        (sha256
-        (base32 "0pph1935rq180ax0szwwf3c6zq2v40snypagr49914i31570cc2c"))))
+        (base32 "08fjzhsp4akdzn08d0nx2b9k16iad7wvdw4fqwv3sap0pq40gn8s"))))
     (build-system pyproject-build-system)
     (arguments
      (list
-      ;; Do not fail on warning.
-      ;; DeprecationWarning: module 'sre_constants' is deprecated
-      #:test-flags #~(list "-W" "ignore::DeprecationWarning")))
+      #:test-flags
+      ;; To reduce closure size it prevents including python-numpy,
+      ;; python-pandas and python-matplotlib.
+      #~(list "--ignore=tests/test_dataframe_regression.py"
+              "--ignore=tests/test_ndarrays_regression.py"
+              "--ignore=tests/test_num_regression.py"
+              "--deselect=tests/test_filenames.py::test_foo"
+              "--deselect=tests/test_filenames.py::TestClass::test_foo"
+              
"--deselect=tests/test_filenames.py::TestClassWithIgnoredName::test_foo"
+              
"--deselect=tests/test_image_regression.py::test_image_regression"
+              
"--deselect=tests/test_image_regression.py::test_image_regression_workflow")))
     (native-inputs
-     (list python-numpy
-           python-pandas
-           python-pytest
+     (list python-pytest-bootstrap
            python-setuptools
            python-setuptools-scm))
     (propagated-inputs

Reply via email to