[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
39/40: gnu: Add python-graphtools.
From: |
guix-commits |
Subject: |
39/40: gnu: Add python-graphtools. |
Date: |
Tue, 23 Jan 2024 07:43:48 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit 1bdc4eeb46f97a313aaa1d480528a86458980807
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Jan 23 13:25:02 2024 +0100
gnu: Add python-graphtools.
* gnu/packages/graph.scm (python-graphtools): New variable.
Change-Id: If08b1460447702f7ec2e64f013a52a7065076b01
---
gnu/packages/graph.scm | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm
index 6411afd9e0..fd684ca77d 100644
--- a/gnu/packages/graph.scm
+++ b/gnu/packages/graph.scm
@@ -57,6 +57,8 @@
#:use-module (gnu packages graphics)
#:use-module (gnu packages graphviz)
#:use-module (gnu packages gtk)
+ #:use-module (gnu packages linux)
+ #:use-module (gnu packages machine-learning)
#:use-module (gnu packages maths)
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages ncurses)
@@ -427,6 +429,57 @@ algorithm for community detection in large networks.")
large networks.")
(license license:gpl3+)))
+(define-public python-graphtools
+ (package
+ (name "python-graphtools")
+ (version "1.5.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/KrishnaswamyLab/graphtools")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1aaxhij4y5z2vvc34qnb5py6nw3ciz35a3z4lfr223f9kvfpqgak"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ '(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;; Incompatibility with sklearn.
+ ;; 'kNNLandmarkGraph' object has no attribute '_landmark_op'
+ (delete-file "test/test_landmark.py")
+ (setenv "LOKY_MAX_CPU_COUNT" "1")
+ (invoke "nose2" "-v")))))))
+ (propagated-inputs
+ (list python-deprecated
+ python-future
+ python-numpy
+ python-pygsp
+ python-scikit-learn
+ python-scipy
+ python-tasklogger))
+ (native-inputs
+ (list util-linux ;for lscpu
+ python-anndata
+ python-black
+ python-coverage
+ python-coveralls
+ python-nose
+ python-nose2
+ python-pandas
+ python-parameterized
+ python-igraph))
+ (home-page "https://github.com/KrishnaswamyLab/graphtools")
+ (synopsis "Tools for building and manipulating graphs in Python")
+ (description "This package provides tools for building and manipulating
+graphs in Python.")
+ (license license:gpl3)))
+
(define-public python-louvain-igraph
(package
(name "python-louvain-igraph")
- 09/40: gnu: r-psych: Update to 2.4.1., (continued)
- 09/40: gnu: r-psych: Update to 2.4.1., guix-commits, 2024/01/23
- 01/40: gnu: r-antiword: Update to 1.3.2., guix-commits, 2024/01/23
- 03/40: gnu: r-shadowtext: Update to 0.1.3., guix-commits, 2024/01/23
- 06/40: gnu: r-ps: Update to 1.7.6., guix-commits, 2024/01/23
- 05/40: gnu: r-paletteer: Update to 1.6.0., guix-commits, 2024/01/23
- 10/40: gnu: r-xts: Update to 0.13.2., guix-commits, 2024/01/23
- 12/40: gnu: r-overlap: Update to 0.3.9., guix-commits, 2024/01/23
- 26/40: gnu: r-modeldata: Update to 1.3.0., guix-commits, 2024/01/23
- 25/40: gnu: r-yardstick: Update to 1.3.0., guix-commits, 2024/01/23
- 30/40: gnu: r-xml: Update to 3.99-0.16.1., guix-commits, 2024/01/23
- 39/40: gnu: Add python-graphtools.,
guix-commits <=
- 11/40: gnu: r-import: Update to 1.3.2., guix-commits, 2024/01/23
- 19/40: gnu: r-ggfun: Update to 0.1.4., guix-commits, 2024/01/23
- 21/40: gnu: r-graphlayouts: Update to 1.1.0., guix-commits, 2024/01/23
- 28/40: gnu: r-roxygen2: Update to 7.3.1., guix-commits, 2024/01/23
- 36/40: gnu: python-scikit-learn: Disable one test., guix-commits, 2024/01/23
- 02/40: gnu: Add r-suntools., guix-commits, 2024/01/23
- 08/40: gnu: r-timechange: Update to 0.3.0., guix-commits, 2024/01/23
- 15/40: gnu: r-quickjsr: Update to 1.1.0., guix-commits, 2024/01/23
- 14/40: gnu: r-cmplot: Update to 4.5.1., guix-commits, 2024/01/23
- 17/40: gnu: r-bigrquery: Update to 1.5.0., guix-commits, 2024/01/23