1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 13:10:33 +02:00

gnu: python-louvain: Update to 0.16-0.def9179.

* gnu/packages/graph.scm (python-louvain): Update to 0.16-0.def9179.

Change-Id: Ida1d339a2ba92cbff41f0c20e8927bd5c13c0b9f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves
2026-02-12 11:03:15 +01:00
committed by Sharlatan Hellseher
parent bf70f5d0af
commit 088b9f39ca

View File

@@ -311,26 +311,31 @@ lines.")
(license license:expat)))) (license license:expat))))
(define-public python-louvain (define-public python-louvain
(package ;; The latest release doesn't build with Python@3.12.
(name "python-louvain") (let ((commit "def91793772c3e77ab4167d175903a5365c24b4b")
(version "0.16") (revision "0"))
(source (package
(origin (name "python-louvain")
(method url-fetch) (version (git-version "0.16" revision commit))
(uri (pypi-uri "python-louvain" version)) (source
(patches (search-patches "python-louvain-fix-test.patch")) (origin
(sha256 (method git-fetch)
(base32 "0sx53l555rwq0z7if8agirjgw4ddp8r9b949wwz8vlig03sjvfmp")))) (uri (git-reference
(build-system pyproject-build-system) (url "https://github.com/taynaud/python-louvain")
(arguments (list #:test-backend #~'unittest)) (commit commit)))
(native-inputs (list python-setuptools)) (file-name (git-file-name name version))
(propagated-inputs (list python-networkx python-numpy)) (sha256
(home-page "https://github.com/taynaud/python-louvain") (base32 "014wzmwnbqgp1lrsc93p4mq3dqar01zv0v8cqrgm5jggvnskqn0c"))))
(synopsis "Louvain algorithm for community detection") (build-system pyproject-build-system)
(description (arguments (list #:test-backend #~'unittest))
"This package provides a pure Python implementation of the Louvain (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
"This package provides a pure Python implementation of the Louvain
algorithm for community detection in large networks.") algorithm for community detection in large networks.")
(license license:bsd-3))) (license license:bsd-3))))
(define-public python-graphtools (define-public python-graphtools
(package (package