guix_mirror_bot pushed a commit to branch master
in repository guix.

commit cf4e7b48bd190e39132ff00af67f8bca971dcf06
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Oct 10 14:36:13 2025 +0100

    gnu: go-go-opencensus-io: Reduce amount of tests.
    
    * gnu/packages/golang-web.scm (go-go-opencensus-io)[arguments]
    <test-subdirs>: Some tests are not no longer compatible  with
    go-golang-org-x-* libraries, keep some portion of them.
    
    Change-Id: I169fa68db74f19022feb3367ccecb386b1724e85
---
 gnu/packages/golang-web.scm | 24 +++++++++++++++++++++---
 1 file changed, 21 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index a51c558c56..c7c7114476 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -12230,6 +12230,8 @@ lists)
 @end itemize")
     (license license:mpl2.0)))
 
+;; XXX: This project was archived by the owner on Jul 31, 2023. It is now
+;; read-only. Consider to remove when nothing depends on it.
 (define-public go-go-opencensus-io
   (package
     (name "go-go-opencensus-io")
@@ -12238,16 +12240,32 @@ lists)
      (origin
        (method git-fetch)
        (uri (git-reference
-             (url "https://github.com/census-instrumentation/opencensus-go";)
-             (commit (string-append "v" version))))
+              (url "https://github.com/census-instrumentation/opencensus-go";)
+              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
         (base32 "1923j8v214fyk9qlw0lfva6ah8p7s8cfkrysiada5pp4jim4k4xi"))))
     (build-system go-build-system)
     (arguments
      (list
-      #:go go-1.23
       #:import-path "go.opencensus.io"
+      #:test-subdirs
+      #~(list "exporter/stackdriver/propagation"
+              "internal"
+              "metric"
+              "metric/metricexport"
+              "metric/metricproducer"
+              "metric/test"
+              "plugin/ochttp/propagation/b3"
+              "plugin/ochttp/propagation/tracecontext"
+              "plugin/runmetrics"
+              "resource"
+              "stats"
+              "stats/view"
+              "tag"
+              "trace"
+              "trace/propagation"
+              "trace/tracestate")
       #:test-flags
       #~(list "-skip"
               (string-join

Reply via email to