diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2026-02-12 11:03:15 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-03-20 14:11:38 +0000 |
| commit | 088b9f39ca2cd440ebbda6bcae201039f11a782a (patch) | |
| tree | bfda69d4d661bb4e172b617893977482ee94f0a9 /gnu/packages | |
| parent | bf70f5d0af56d15b227e18d1eb2e284dcc7bb747 (diff) | |
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>
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/graph.scm | 43 |
1 files changed, 24 insertions, 19 deletions
diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm index 6a3996a46d1..c260560d2f1 100644 --- a/gnu/packages/graph.scm +++ b/gnu/packages/graph.scm @@ -311,26 +311,31 @@ lines.") (license license:expat)))) (define-public python-louvain - (package - (name "python-louvain") - (version "0.16") - (source - (origin - (method url-fetch) - (uri (pypi-uri "python-louvain" version)) - (patches (search-patches "python-louvain-fix-test.patch")) - (sha256 - (base32 "0sx53l555rwq0z7if8agirjgw4ddp8r9b949wwz8vlig03sjvfmp")))) - (build-system pyproject-build-system) - (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 - "This package provides a pure Python implementation of the Louvain + ;; The latest release doesn't build with Python@3.12. + (let ((commit "def91793772c3e77ab4167d175903a5365c24b4b") + (revision "0")) + (package + (name "python-louvain") + (version (git-version "0.16" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/taynaud/python-louvain") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "014wzmwnbqgp1lrsc93p4mq3dqar01zv0v8cqrgm5jggvnskqn0c")))) + (build-system pyproject-build-system) + (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 + "This package provides a pure Python implementation of the Louvain algorithm for community detection in large networks.") - (license license:bsd-3))) + (license license:bsd-3)))) (define-public python-graphtools (package |
