guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 433251446af876f6e51fe016e1e1dd83ba8325b2
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Oct 23 20:56:55 2026 +0100
gnu: go-gonum-org-v1-gonum: Update to 0.17.0.
* gnu/packages/golang-maths.scm (go-gonum-org-v1-gonum): Update to 0.17.0.
[source] <snippet>: Remove tests related to unpackaged input to simplify
check phase.
[arguments] <test-subdirs, test-flags>: Drop. <tests?>: Skip tests on
aarch64 systems.
[propagated-inputs]: Remove go-github-com-goccmack-gocc,
go-github-com-google-go-cmp, and go-golang-org-x-exp.
[native-inputs]: Add go-github-com-google-go-cmp.
---
gnu/packages/golang-maths.scm | 54 ++++++++++++++++---------------------------
1 file changed, 20 insertions(+), 34 deletions(-)
diff --git a/gnu/packages/golang-maths.scm b/gnu/packages/golang-maths.scm
index cdfb1fe4bf3..c73b43dfe64 100644
--- a/gnu/packages/golang-maths.scm
+++ b/gnu/packages/golang-maths.scm
@@ -778,50 +778,36 @@ format as binary16.")
(define-public go-gonum-org-v1-gonum
(package
(name "go-gonum-org-v1-gonum")
- (version "0.16.0")
+ (version "0.17.0")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/gonum/gonum")
- (commit (string-append "v" version))))
+ (url "https://github.com/gonum/gonum")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "01mj449mlvp863d6k9zaz3y2z3vc0l5vcn046f17s83f49r0sh58"))))
+ (base32 "08mxx6r7jmq7xdc57sggx2a2hhmhjiagjspw1gzbjm1692dfjc5f"))
+ (modules '((guix build utils)))
+ (snippet
+ ;; go-gonum-org-v1-plot is not packed yet; it's required for the CLI
+ ;; in dsp/window/cmd/leakage and related tests.
+ #~(begin (for-each delete-file-recursively
+ (list "dsp/window/cmd/leakage"
+ "graph/layout/eades_example_test.go"
+ "graph/layout/eades_test.go"
+ "graph/layout/isomap_test.go"
+ "graph/layout/layout_test.go"))))))
(build-system go-build-system)
(arguments
(list
- #:import-path "gonum.org/v1/gonum"
- #:test-subdirs
- #~(list "."
- "blas/..."
- "cmplxs/..."
- "diff/..."
- "dsp/fourier/..."
- "floats/..."
- "integrate/..."
- "internal/..."
- "interp/..."
- "lapack/..."
- "mat/..."
- "mathext/..."
- "num/..."
- "optimize/..."
- ;; Tests failing to compile on ARM systems with errors in
- ;; goroutines.
- #$@(if (target-x86-64?)
- '("spatial/...")
- '())
- "stat/..."
- "uniti/...")
- #:test-flags #~(list "-vet=off")))
+ ;; Tests failing to compile on ARM systems with errors in goroutines.
+ #:tests? (not (target-aarch64?))
+ #:import-path "gonum.org/v1/gonum"))
+ (native-inputs
+ (list go-github-com-google-go-cmp))
(propagated-inputs
- (list go-github-com-goccmack-gocc
- go-github-com-google-go-cmp
- go-golang-org-x-exp
- go-golang-org-x-tools
- #;go-gonum-org-v1-plot ; not packed yet
- ))
+ (list go-golang-org-x-tools))
(home-page "https://www.gonum.org/")
(synopsis "Set of numeric libraries for Golang")
(description