guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 96f1faac729d2b2cb02d80eaf53b38f65829ea1f
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Mon Dec 8 23:11:23 2025 +0000
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
---
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 5204d432db..79a9108f31 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -3745,46 +3745,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 0328aabf6c..b6afb4566c 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -15,6 +15,7 @@
;;; Copyright © 2020 Edouard Klein <[email protected]>
;;; Copyright © 2020, 2021, 2025 Vinicius Monego <[email protected]>
;;; Copyright © 2020 Tanguy Le Carrour <[email protected]>
+;;; Copyright © 2021 Hugo Lecomte <[email protected]>
;;; Copyright © 2021 Lars-Dominik Braun <[email protected]>
;;; Copyright © 2021-2025 Sharlatan Hellseher <[email protected]>
;;; Copyright © 2021 Brendan Tildesley <[email protected]>
@@ -26,6 +27,7 @@
;;; Copyright © 2022 Felix Gruber <[email protected]>
;;; Copyright © 2022 Tomasz Jeneralczyk <[email protected]>
;;; Copyright © 2022 jgart <[email protected]>
+;;; Copyright © 2023 Antero Mejr <[email protected]>
;;; Copyright © 2023 John Kehayias <[email protected]>
;;; Copyright © 2024 Danny Milosavljevic <[email protected]>
;;; Copyright © 2024-2025 Troy Figiel <[email protected]>
@@ -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")