guix_mirror_bot pushed a commit to branch go-team in repository guix. commit 5b8f964495292414b122e22813adbce8995d0a2b Author: Sharlatan Hellseher <sharlata...@gmail.com> AuthorDate: Mon Jul 14 14:03:37 2025 +0100
gnu: go-github-com-ipfs-boxo: Simplify tests. * gnu/packages/ipfs.scm (go-github-com-ipfs-boxo): [arguments] <test-subdirs>: Drop it in favor of <test-flags>. <test-flags>: Skip just 2 failing test requiring network access. [native-inputs]: Add go-github-com-libp2p-go-libp2p-kad-dht-bootstrap. [propagated-inputs]: Add go-go-opentelemetry-io-otel-exporters-otlp-otlptrace. Change-Id: Ib59e35801d31e10c7e265dc1bac7c72389233843 --- gnu/packages/ipfs.scm | 42 ++++++++++++------------------------------ 1 file changed, 12 insertions(+), 30 deletions(-) diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm index 4df363e0c1..6674801ca2 100644 --- a/gnu/packages/ipfs.scm +++ b/gnu/packages/ipfs.scm @@ -128,8 +128,8 @@ JSONMarshal/JSONUnmarshal to store/reload the Bloom filter.") (origin (method git-fetch) (uri (git-reference - (url "https://github.com/ipfs/boxo") - (commit (string-append "v" version)))) + (url "https://github.com/ipfs/boxo") + (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "1siicb0bs4shc220xk2i5d4p5myrh3yg64hm3yl796gjbcqgs66d")) @@ -149,34 +149,16 @@ JSONMarshal/JSONUnmarshal to store/reload the Bloom filter.") (list #:skip-build? #t #:embed-files #~(list "sorted-network-list.bin") - #:test-subdirs #~(list "bitswap/..." - "blockservice/..." - "blockstore/..." - "bootstrap/..." - "chunker/..." - "datastore/..." - "exchange/..." - "fetcher/..." - "files/..." - "filestore/..." - ;; "gateway/..." ; missing packages - "ipld/..." - "ipns/..." - "keystore/..." - "mfs/..." - ;; "namesys/..." ; missing packages - "path/..." - "peering/..." - "pinning/..." - "provider/..." - ;; "routing/..." ; missing packages - "tar/..." - ;; "tracing/..." ; missing packages - "util/..." - "verifcid/...") - #:import-path "github.com/ipfs/boxo")) + #:import-path "github.com/ipfs/boxo" + #:test-flags + #~(list "-skip" (string-join + ;; Network access is required. + (list "TestAddNewDNSResolver" + "TestOverrideDNSDefaults") + "|")))) (native-inputs - (list go-github-com-stretchr-testify)) + (list go-github-com-libp2p-go-libp2p-kad-dht-bootstrap + go-github-com-stretchr-testify)) (propagated-inputs (list go-github-com-alecthomas-units go-github-com-cespare-xxhash-v2 @@ -213,7 +195,6 @@ JSONMarshal/JSONUnmarshal to store/reload the Bloom filter.") go-github-com-libp2p-go-buffer-pool go-github-com-libp2p-go-doh-resolver go-github-com-libp2p-go-libp2p - ;; go-github-com-libp2p-go-libp2p-kad-dht go-github-com-libp2p-go-libp2p-record go-github-com-libp2p-go-libp2p-routing-helpers go-github-com-libp2p-go-libp2p-testing @@ -237,6 +218,7 @@ JSONMarshal/JSONUnmarshal to store/reload the Bloom filter.") go-go-opencensus-io go-go-opentelemetry-io-contrib-instrumentation-net-http-otelhttp go-go-opentelemetry-io-otel + go-go-opentelemetry-io-otel-exporters-otlp-otlptrace go-go-opentelemetry-io-otel-exporters-otlp-otlptrace-otlptracegrpc go-go-opentelemetry-io-otel-exporters-otlp-otlptrace-otlptracehttp go-go-opentelemetry-io-otel-exporters-stdout-stdouttrace