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.") | |||
| 4182 | (define-public python-syrupy | 4182 | (define-public python-syrupy |
| 4183 | (package | 4183 | (package |
| 4184 | (name "python-syrupy") | 4184 | (name "python-syrupy") |
| 4185 | (version "4.9.1") | 4185 | (version "5.0.0") |
| 4186 | (source | 4186 | (source |
| 4187 | (origin | 4187 | (origin |
| 4188 | (method git-fetch) ;no tests in PyPI archive | 4188 | (method git-fetch) |
| 4189 | (uri (git-reference | 4189 | (uri (git-reference |
| 4190 | (url "https://github.com/syrupy-project/syrupy") | 4190 | (url "https://github.com/syrupy-project/syrupy") |
| 4191 | (commit (string-append "v" version)))) | 4191 | (commit (string-append "v" version)))) |
| 4192 | (file-name (git-file-name name version)) | 4192 | (file-name (git-file-name name version)) |
| 4193 | (sha256 | 4193 | (sha256 |
| 4194 | (base32 "10q1xdwbcy9jfq8gd4r9q4r2p2zpcfrh4yj58nl9sbr2nc3irbh0")))) | 4194 | (base32 "1ysm42an2pf4ppd1i5yzh11bq1rfydhg6rmmh5v91gcixpvi872d")))) |
| 4195 | (build-system pyproject-build-system) | 4195 | (build-system pyproject-build-system) |
| 4196 | (arguments | 4196 | (arguments |
| 4197 | (list | 4197 | (list #:test-backend #~'custom |
| 4198 | #:phases | 4198 | #:test-flags #~(list "-m" "invoke" "test"))) |
| 4199 | #~(modify-phases %standard-phases | ||
| 4200 | (replace 'check | ||
| 4201 | (lambda* (#:key tests? #:allow-other-keys) | ||
| 4202 | (when tests? | ||
| 4203 | (invoke "invoke" "test"))))))) | ||
| 4204 | (native-inputs | 4199 | (native-inputs |
| 4205 | (list python-invoke | 4200 | (list python-invoke |
| 4206 | python-debugpy | ||
| 4207 | python-twine | ||
| 4208 | python-poetry-core | 4201 | python-poetry-core |
| 4209 | python-pytest | 4202 | python-pytest-bootstrap |
| 4210 | python-pytest-xdist | 4203 | python-pytest-xdist |
| 4211 | python-setuptools-scm)) | 4204 | python-setuptools-scm)) |
| 4212 | (home-page "https://github.com/syrupy-project/syrupy") | 4205 | (home-page "https://github.com/syrupy-project/syrupy") |
