diff options
| author | Hugo Buddelmeijer <hugo@buddelmeijer.nl> | 2025-09-22 10:36:14 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-25 09:36:53 +0100 |
| commit | f563f2f83443066f28db030a72d015f7335c2558 (patch) | |
| tree | 55e69b1514b116c60cb03fcafbf75d145c7eb016 /gnu/packages/python-check.scm | |
| parent | 26da99d60d16e8c11161c778d64cc71b9aa48257 (diff) | |
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>
Diffstat (limited to 'gnu/packages/python-check.scm')
| -rw-r--r-- | gnu/packages/python-check.scm | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index e9f16606199..d4cc2c79750 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 |
