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/packages/python-check.scm | |
| 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/packages/python-check.scm')
| -rw-r--r-- | gnu/packages/python-check.scm | 42 |
1 files changed, 42 insertions, 0 deletions
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 @@ | |||
| 15 | ;;; Copyright © 2020 Edouard Klein <edk@beaver-labs.com> | 15 | ;;; Copyright © 2020 Edouard Klein <edk@beaver-labs.com> |
| 16 | ;;; Copyright © 2020, 2021, 2025 Vinicius Monego <monego@posteo.net> | 16 | ;;; Copyright © 2020, 2021, 2025 Vinicius Monego <monego@posteo.net> |
| 17 | ;;; Copyright © 2020 Tanguy Le Carrour <tanguy@bioneland.org> | 17 | ;;; Copyright © 2020 Tanguy Le Carrour <tanguy@bioneland.org> |
| 18 | ;;; Copyright © 2021 Hugo Lecomte <hugo.lecomte@inria.fr> | ||
| 18 | ;;; Copyright © 2021 Lars-Dominik Braun <lars@6xq.net> | 19 | ;;; Copyright © 2021 Lars-Dominik Braun <lars@6xq.net> |
| 19 | ;;; Copyright © 2021-2025 Sharlatan Hellseher <sharlatanus@gmail.com> | 20 | ;;; Copyright © 2021-2025 Sharlatan Hellseher <sharlatanus@gmail.com> |
| 20 | ;;; Copyright © 2021 Brendan Tildesley <mail@brendan.scot> | 21 | ;;; Copyright © 2021 Brendan Tildesley <mail@brendan.scot> |
| @@ -26,6 +27,7 @@ | |||
| 26 | ;;; Copyright © 2022 Felix Gruber <felgru@posteo.net> | 27 | ;;; Copyright © 2022 Felix Gruber <felgru@posteo.net> |
| 27 | ;;; Copyright © 2022 Tomasz Jeneralczyk <tj@schwi.pl> | 28 | ;;; Copyright © 2022 Tomasz Jeneralczyk <tj@schwi.pl> |
| 28 | ;;; Copyright © 2022 jgart <jgart@dismail.de> | 29 | ;;; Copyright © 2022 jgart <jgart@dismail.de> |
| 30 | ;;; Copyright © 2023 Antero Mejr <antero@mailbox.org> | ||
| 29 | ;;; Copyright © 2023 John Kehayias <john.kehayias@protonmail.com> | 31 | ;;; Copyright © 2023 John Kehayias <john.kehayias@protonmail.com> |
| 30 | ;;; Copyright © 2024 Danny Milosavljevic <dannym@friendly-machines.com> | 32 | ;;; Copyright © 2024 Danny Milosavljevic <dannym@friendly-machines.com> |
| 31 | ;;; Copyright © 2024-2025 Troy Figiel <troy@troyfigiel.com> | 33 | ;;; Copyright © 2024-2025 Troy Figiel <troy@troyfigiel.com> |
| @@ -3533,6 +3535,46 @@ interaction, like key presses and mouse clicks.") | |||
| 3533 | HTTP traffic.") | 3535 | HTTP traffic.") |
| 3534 | (license license:expat))) | 3536 | (license license:expat))) |
| 3535 | 3537 | ||
| 3538 | (define-public python-pytest-regressions | ||
| 3539 | (package | ||
| 3540 | (name "python-pytest-regressions") | ||
| 3541 | (version "2.8.3") | ||
| 3542 | (source | ||
| 3543 | (origin | ||
| 3544 | (method url-fetch) | ||
| 3545 | (uri (pypi-uri "pytest_regressions" version)) | ||
| 3546 | (sha256 | ||
| 3547 | (base32 "08fjzhsp4akdzn08d0nx2b9k16iad7wvdw4fqwv3sap0pq40gn8s")))) | ||
| 3548 | (build-system pyproject-build-system) | ||
| 3549 | (arguments | ||
| 3550 | (list | ||
| 3551 | #:test-flags | ||
| 3552 | ;; To reduce closure size it prevents including python-numpy, | ||
| 3553 | ;; python-pandas and python-matplotlib. | ||
| 3554 | #~(list "--ignore=tests/test_dataframe_regression.py" | ||
| 3555 | "--ignore=tests/test_ndarrays_regression.py" | ||
| 3556 | "--ignore=tests/test_num_regression.py" | ||
| 3557 | "--deselect=tests/test_filenames.py::test_foo" | ||
| 3558 | "--deselect=tests/test_filenames.py::TestClass::test_foo" | ||
| 3559 | "--deselect=tests/test_filenames.py::TestClassWithIgnoredName::test_foo" | ||
| 3560 | "--deselect=tests/test_image_regression.py::test_image_regression" | ||
| 3561 | "--deselect=tests/test_image_regression.py::test_image_regression_workflow"))) | ||
| 3562 | (native-inputs | ||
| 3563 | (list python-pytest-bootstrap | ||
| 3564 | python-setuptools | ||
| 3565 | python-setuptools-scm)) | ||
| 3566 | (propagated-inputs | ||
| 3567 | (list python-pytest-datadir | ||
| 3568 | python-pyyaml)) | ||
| 3569 | (home-page "https://github.com/ESSS/pytest-regressions") | ||
| 3570 | (synopsis "Easy to use fixtures to write regression tests") | ||
| 3571 | (description | ||
| 3572 | "This plugin makes it simple to test general data, images, files, and | ||
| 3573 | numeric tables by saving expected data in a data directory (courtesy of | ||
| 3574 | pytest-datadir) that can be used to verify that future runs produce the same | ||
| 3575 | data.") | ||
| 3576 | (license license:expat))) | ||
| 3577 | |||
| 3536 | (define-public python-pytest-remotedata | 3578 | (define-public python-pytest-remotedata |
| 3537 | (package | 3579 | (package |
| 3538 | (name "python-pytest-remotedata") | 3580 | (name "python-pytest-remotedata") |
