From 8637351f27e50b596b4df84d25c13d8772c30527 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 23 Oct 2025 15:20:15 +0100 Subject: [PATCH] gnu: python-syrupy: Update to 5.0.0. * gnu/packages/python-check.scm (python-syrupy): Update to 5.0.0. [arguments] : Use 'custom. : 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 97b3f83a5fe3ca8d7065fdcc99867e75f25a5ab6..57b723c81160c9a5be167084d1d4792ce1c98e1b 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")