guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 8637351f27e50b596b4df84d25c13d8772c30527
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Oct 23 15:20:15 2025 +0100
gnu: python-syrupy: Update to 5.0.0.
* gnu/packages/python-check.scm (python-syrupy): Update to 5.0.0.
[arguments] <test-backend>: Use 'custom.
<phases>: Use default 'check.
[native-inputs]: Remove python-debugpy, python-twine, and python-pytest;
add python-pytest-bootstrap.
Change-Id: I8f0f0e22338ae5c412e68467db4dc6718a64ab7d
---
gnu/packages/python-check.scm | 19 ++++++-------------
1 file changed, 6 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 97b3f83a5f..57b723c811 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -4182,31 +4182,24 @@ provided for the main Python test runners.")
(define-public python-syrupy
(package
(name "python-syrupy")
- (version "4.9.1")
+ (version "5.0.0")
(source
(origin
- (method git-fetch) ;no tests in PyPI archive
+ (method git-fetch)
(uri (git-reference
(url "https://github.com/syrupy-project/syrupy")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "10q1xdwbcy9jfq8gd4r9q4r2p2zpcfrh4yj58nl9sbr2nc3irbh0"))))
+ (base32 "1ysm42an2pf4ppd1i5yzh11bq1rfydhg6rmmh5v91gcixpvi872d"))))
(build-system pyproject-build-system)
(arguments
- (list
- #:phases
- #~(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "invoke" "test")))))))
+ (list #:test-backend #~'custom
+ #:test-flags #~(list "-m" "invoke" "test")))
(native-inputs
(list python-invoke
- python-debugpy
- python-twine
python-poetry-core
- python-pytest
+ python-pytest-bootstrap
python-pytest-xdist
python-setuptools-scm))
(home-page "https://github.com/syrupy-project/syrupy")