~ruther/guix-local

92a072338919e51e9a404b356b22651dff0f6513 — Sharlatan Hellseher 4 months ago 859e9fd
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
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
1 files changed, 14 insertions(+), 8 deletions(-)

M gnu/packages/check.scm
M gnu/packages/check.scm => gnu/packages/check.scm +14 -8
@@ 3794,23 3794,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