From f563f2f83443066f28db030a72d015f7335c2558 Mon Sep 17 00:00:00 2001 From: Hugo Buddelmeijer Date: Mon, 22 Sep 2025 10:36:14 +0200 Subject: [PATCH] gnu: python-assertpy: Fix tests. * gnu/packages/python-check.scm (python-assertpy): Fix tests. [source]: Switch to git-fetch. [native-inputs]: Remove python-wheel, add python-pytest. Change-Id: I878498f64bb6b1399c033ee6d33bbf7a1afd47ed Signed-off-by: Andreas Enge --- gnu/packages/python-check.scm | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index e9f16606199559a21476a6f753c8e723f8cff3c7..d4cc2c79750c9581cc08c54f8af38fd4f6153c47 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -185,12 +185,15 @@ most situations.") (version "1.1") (source (origin - (method url-fetch) - (uri (pypi-uri "assertpy" version)) + (method git-fetch) ;no tests in PyPI distribution + (uri (git-reference + (url "https://github.com/assertpy/assertpy") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 "0cs8xya465wvb9dw0kdl7cvkxwrslhbma66y44r1mmsajcll7imc")))) + (base32 "0hnfh45cmqyp7zasrllwf8gbq3mazqlhhk0sq1iqlh6fig0yfq2f")))) (build-system pyproject-build-system) - (native-inputs (list python-setuptools python-wheel)) + (native-inputs (list python-pytest python-setuptools)) (home-page "https://github.com/assertpy/assertpy") (synopsis "Simple assertion library for unit testing") (description