From 9f8566272941e39d6c9e29349fb413f8e19c1a1f Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Mon, 8 Dec 2025 23:11:23 +0000 Subject: [PATCH] gnu: python-pytest-regressions: Move to python-check. * gnu/packages/check.scm (python-pytest-regressions): Move from here ... * gnu/packages/python-check.scm: ... to here. Change-Id: I829667aa3cadd8a762194e1948c88b72e6a4eeda Signed-off-by: Rutherther --- gnu/packages/check.scm | 40 --------------------------------- gnu/packages/python-check.scm | 42 +++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 40 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index f3a39b46b38e614101770a23bffc69d2c3139a9d..1a8b29e0276dfe99ad73cf798430620f039b100c 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -3791,46 +3791,6 @@ asynchronous code in Python (asyncio).") directories and files.") (license license:expat))) -(define-public python-pytest-regressions - (package - (name "python-pytest-regressions") - (version "2.8.3") - (source - (origin - (method url-fetch) - (uri (pypi-uri "pytest_regressions" version)) - (sha256 - (base32 "08fjzhsp4akdzn08d0nx2b9k16iad7wvdw4fqwv3sap0pq40gn8s")))) - (build-system pyproject-build-system) - (arguments - (list - #: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-pytest-bootstrap - python-setuptools - python-setuptools-scm)) - (propagated-inputs - (list python-pytest-datadir - python-pyyaml)) - (home-page "https://github.com/ESSS/pytest-regressions") - (synopsis "Easy to use fixtures to write regression tests") - (description - "This plugin makes it simple to test general data, images, files, and -numeric tables by saving expected data in a data directory (courtesy of -pytest-datadir) that can be used to verify that future runs produce the same -data.") - (license license:expat))) - (define-public python-pytest-tornado5 (package (name "python-pytest-tornado5") diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 0328aabf6c90fc72ea7a563da48ecd94c32ae77d..b6afb4566c25f312b4f6342bb17cd2aeafdb3f15 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -15,6 +15,7 @@ ;;; Copyright © 2020 Edouard Klein ;;; Copyright © 2020, 2021, 2025 Vinicius Monego ;;; Copyright © 2020 Tanguy Le Carrour +;;; Copyright © 2021 Hugo Lecomte ;;; Copyright © 2021 Lars-Dominik Braun ;;; Copyright © 2021-2025 Sharlatan Hellseher ;;; Copyright © 2021 Brendan Tildesley @@ -26,6 +27,7 @@ ;;; Copyright © 2022 Felix Gruber ;;; Copyright © 2022 Tomasz Jeneralczyk ;;; Copyright © 2022 jgart +;;; Copyright © 2023 Antero Mejr ;;; Copyright © 2023 John Kehayias ;;; Copyright © 2024 Danny Milosavljevic ;;; Copyright © 2024-2025 Troy Figiel @@ -3533,6 +3535,46 @@ interaction, like key presses and mouse clicks.") HTTP traffic.") (license license:expat))) +(define-public python-pytest-regressions + (package + (name "python-pytest-regressions") + (version "2.8.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest_regressions" version)) + (sha256 + (base32 "08fjzhsp4akdzn08d0nx2b9k16iad7wvdw4fqwv3sap0pq40gn8s")))) + (build-system pyproject-build-system) + (arguments + (list + #: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-pytest-bootstrap + python-setuptools + python-setuptools-scm)) + (propagated-inputs + (list python-pytest-datadir + python-pyyaml)) + (home-page "https://github.com/ESSS/pytest-regressions") + (synopsis "Easy to use fixtures to write regression tests") + (description + "This plugin makes it simple to test general data, images, files, and +numeric tables by saving expected data in a data directory (courtesy of +pytest-datadir) that can be used to verify that future runs produce the same +data.") + (license license:expat))) + (define-public python-pytest-remotedata (package (name "python-pytest-remotedata")