diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-08 23:11:23 +0000 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2026-01-25 21:18:05 +0100 |
| commit | 9f8566272941e39d6c9e29349fb413f8e19c1a1f (patch) | |
| tree | 8266fc32699e255638565e00443af9793c6a7cd3 /gnu | |
| parent | 92a072338919e51e9a404b356b22651dff0f6513 (diff) | |
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 <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/check.scm | 40 | ||||
| -rw-r--r-- | 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 f3a39b46b38..1a8b29e0276 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 0328aabf6c9..b6afb4566c2 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -15,6 +15,7 @@ ;;; Copyright © 2020 Edouard Klein <edk@beaver-labs.com> ;;; Copyright © 2020, 2021, 2025 Vinicius Monego <monego@posteo.net> ;;; Copyright © 2020 Tanguy Le Carrour <tanguy@bioneland.org> +;;; Copyright © 2021 Hugo Lecomte <hugo.lecomte@inria.fr> ;;; Copyright © 2021 Lars-Dominik Braun <lars@6xq.net> ;;; Copyright © 2021-2025 Sharlatan Hellseher <sharlatanus@gmail.com> ;;; Copyright © 2021 Brendan Tildesley <mail@brendan.scot> @@ -26,6 +27,7 @@ ;;; Copyright © 2022 Felix Gruber <felgru@posteo.net> ;;; Copyright © 2022 Tomasz Jeneralczyk <tj@schwi.pl> ;;; Copyright © 2022 jgart <jgart@dismail.de> +;;; Copyright © 2023 Antero Mejr <antero@mailbox.org> ;;; Copyright © 2023 John Kehayias <john.kehayias@protonmail.com> ;;; Copyright © 2024 Danny Milosavljevic <dannym@friendly-machines.com> ;;; Copyright © 2024-2025 Troy Figiel <troy@troyfigiel.com> @@ -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") |
