diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-23 15:20:15 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-23 17:09:41 +0100 |
| commit | 8637351f27e50b596b4df84d25c13d8772c30527 (patch) | |
| tree | 9061f83565e98fd5cf502c68c91cb859c16f0312 /gnu/packages/python-check.scm | |
| parent | f4778e7358885c9f4b55de8ff0182dcc8fc7d27f (diff) | |
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
Diffstat (limited to 'gnu/packages/python-check.scm')
| -rw-r--r-- | gnu/packages/python-check.scm | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 97b3f83a5fe..57b723c8116 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") |
