aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-11-29 00:25:30 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-12-13 21:01:36 +0000
commit943f217ecc226acec8565ae4ac75e1e901865130 (patch)
tree7cee8e373c724f3663d355b3679dab69e3fdef4a
parent6d3f2b8e082aec85afbf0ac7d5cce58868a85ee1 (diff)
downloadguix-943f217ecc226acec8565ae4ac75e1e901865130.tar
guix-943f217ecc226acec8565ae4ac75e1e901865130.tar.gz
gnu: python-networkx: Update to 3.4.2.
* gnu/packages/python-xyz.scm (python-networkx): Update to 3.4.2. [build-system]: Swap to pyproject-build-system. [arguments]<test-flags>: Run test in parallel. <phases>: Use default 'check phase.. [native-inputs]: Add python-pytest-xdist, python-setuptools, and python-wheel. Change-Id: I18a7b1cbeafa0804302d1b53a50e178ad10d7b4b
-rw-r--r--gnu/packages/python-xyz.scm27
1 files changed, 14 insertions, 13 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7ea176a66d..d6606208da 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13875,26 +13875,27 @@ interfaces in an easy and portable manner.")
(define-public python-networkx
(package
(name "python-networkx")
- (version "2.8.6")
+ (version "3.4.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "networkx" version))
(sha256
- (base32 "19h18f5j79l7kmwm5cvm75fadjgmkzw5m3pyvb9cnq0860q7faxx"))))
- (build-system python-build-system)
+ (base32 "1qaks3c3h5qlw25z949q3plw8iwgm9h152kwnam64lwc89lkcz1h"))))
+ (build-system pyproject-build-system)
(arguments
- '(#:phases (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (if tests?
- (invoke "pytest" "-vv" "--pyargs" "networkx")
- (format #t "test suite not run~%")) #t)))))
- (propagated-inputs (list python-decorator))
- (native-inputs (list python-pytest))
+ (list
+ #:test-flags
+ #~(list "--numprocesses" (number->string (parallel-job-count)))))
+ (native-inputs
+ (list python-pytest
+ python-pytest-xdist
+ python-setuptools
+ python-wheel))
+ (propagated-inputs
+ (list python-decorator))
(home-page "https://networkx.github.io/")
- (synopsis
- "Python module for creating and manipulating graphs and networks")
+ (synopsis "Python module for creating and manipulating graphs and networks")
(description
"NetworkX is a Python package for the creation, manipulation, and study
of the structure, dynamics, and functions of complex networks.")