From 7c0206ad81428031aae8f2d0364c55e777cf1a64 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Mon, 22 Sep 2025 01:37:29 +0200 Subject: [PATCH] gnu: python-reretry: Fix tests. * gnu/packages/python-xyz.scm (python-reretry) [source]: Switch to git-fetch. [native-inputs]: Add python-pytest, python-pytest-asyncio. Remove python-setuptools. Change-Id: I559f5d00d8093fd468a308f3b8588a75c0f75161 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1a7109206f829cb12c417fa739345371254ed94c..7569544eb5f4fb8e2c92fa8da493e324075e81c9 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -8938,12 +8938,16 @@ Microsoft Word (.docx) documents.") (version "0.11.8") (source (origin - (method url-fetch) - (uri (pypi-uri "reretry" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/leshchenko1979/reretry") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 "1qrjsjzah8gw1bciqn8bhrj80fjjg13qg8jks7qs4bjipv71yygj")))) + (base32 "15c6275mcrkrq3zs0gyx06gr3xsg9ldrpyknfy4mbypgwjy6fp38")))) (build-system pyproject-build-system) - (native-inputs (list python-setuptools python-wheel)) + (native-inputs + (list python-pytest python-pytest-asyncio python-setuptools)) (home-page "https://github.com/leshchenko1979/reretry") (synopsis "Functional decorator for retrying on exceptions") (description