guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 04aaa3d060c9690b1cb2459e3d2044317686976d
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Sep 13 23:20:28 2026 +0100

    gnu: gopls: Update to 0.23.0.
    
    * gnu/packages/golang-apps.scm (gopls): Update to 0.23.0.
    [arguments] <test-subdirs, test-flags>: Run the full test suit, skip
    only problematic tests.
    [native-inputs]: Add go-golang-org-x-net.
---
 gnu/packages/golang-apps.scm | 23 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/golang-apps.scm b/gnu/packages/golang-apps.scm
index 6dbd9c7881d..c7ab6aa93d9 100644
--- a/gnu/packages/golang-apps.scm
+++ b/gnu/packages/golang-apps.scm
@@ -304,7 +304,7 @@ import of a 3rd party package at runtime).")
     (name "gopls")
     ;; XXX: Starting from 0.14.0 gppls needs golang.org/x/telemetry, which
     ;; needs to be discussed if it may be included in Guix.
-    (version "0.22.0")
+    (version "0.23.0")
     (source
      (origin
        (method git-fetch)
@@ -313,19 +313,25 @@ import of a 3rd party package at runtime).")
               (commit (go-version->git-ref version #:subdir "gopls"))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0n5ixvk6c8hww5z9lvf74dx6p4j573bq3ssvp77n6033l0fcbv94"))))
+        (base32 "1ndn9wgxpgz52fk86bb8hhyrahc6y7vyhpx4waqv0sxnsk95jd0r"))))
     (build-system go-build-system)
     (arguments
      (list
       #:install-source? #f
       #:import-path "golang.org/x/tools/gopls"
       #:unpack-path "golang.org/x/tools"
-      ;; XXX: No tests in project's root, limit to some of subdris, try to
-      ;; enable more.
-      #:test-subdirs
-      #~(list "internal/protocol/..."
-              "internal/util/..."
-              "internal/vulncheck/...")
+      #:test-flags
+      #~(list "-skip" (string-join
+                       ;; Network access and setting GOMODULE are required.
+                       (list "TestCodeLens"
+                             "TestExecute"
+                             "TestLicenses"
+                             "TestMCPCommandHTTP"
+                             "TestMCPVulncheckCommand"
+                             "TestRename"
+                             "TestStats"
+                             "TestZeroConfigAlgorithm")
+                       "|"))
       #:phases
       #~(modify-phases %standard-phases
           (add-before 'unpack 'override-tools
@@ -345,6 +351,7 @@ import of a 3rd party package at runtime).")
            go-github-com-jba-templatecheck
            go-github-com-modelcontextprotocol-go-sdk
            go-golang-org-x-mod
+           go-golang-org-x-net
            go-golang-org-x-sync
            go-golang-org-x-telemetry
            go-golang-org-x-text

Reply via email to