guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit a0f34868ece96c5e8e62c510132ce517599c2a89
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Sep 21 12:04:13 2025 +0200
gnu: python-louvain: Run tests with unittests.
* gnu/packages/graph.scm (python-louvain)
[arguments]<#:test-backend>: Set it.
[native-inputs]: Remove python-pytest.
[propagated-inputs]: Improve style.
Change-Id: Icb00e04f4cd377b8d7d0256eb305ecd5e3618618
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/graph.scm | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm
index 35af0829bc..94d2214b5a 100644
--- a/gnu/packages/graph.scm
+++ b/gnu/packages/graph.scm
@@ -320,10 +320,9 @@ lines.")
(sha256
(base32 "0sx53l555rwq0z7if8agirjgw4ddp8r9b949wwz8vlig03sjvfmp"))))
(build-system pyproject-build-system)
- (native-inputs
- (list python-pytest python-setuptools))
- (propagated-inputs
- (list python-networkx python-numpy))
+ (arguments (list #:test-backend #~'unittest))
+ (native-inputs (list python-setuptools))
+ (propagated-inputs (list python-networkx python-numpy))
(home-page "https://github.com/taynaud/python-louvain")
(synopsis "Louvain algorithm for community detection")
(description