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>
This commit is contained in:
Nicolas Graves 2025-09-21 12:04:13 +02:00 committed by Sharlatan Hellseher
parent d7d35d1f76
commit 861a1ed5d1
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

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