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 <andreas@enge.fr>
This commit is contained in:
Hugo Buddelmeijer 2025-09-22 10:36:14 +02:00 committed by Sharlatan Hellseher
parent 26da99d60d
commit f563f2f834
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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