summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-09-21 12:04:13 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:36:44 +0100
commit861a1ed5d1c43c56ccd1bb4b3bc64d0fc6208731 (patch)
tree00166be003ac8b98576967a34969b8e02a5f3b05 /gnu/packages
parentd7d35d1f76885b1a1156b3f58def2075083eb1a7 (diff)
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 <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/graph.scm7
1 files changed, 3 insertions, 4 deletions
diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm
index 35af0829bc9..94d2214b5ab 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