guix_mirror_bot pushed a commit to branch go-team
in repository guix.
commit 6cb563f32079585b69c1f0f7315a01911edea46e
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Oct 9 23:50:16 2025 +0100
gnu: go-k8s-io-kube-openapi: Update to 0.0.0-20250910181357-589584f1c912.
* gnu/packages/golang-web.scm (go-k8s-io-kube-openapi): Update to
0.0.0-20250910181357-589584f1c912.
[source] <snippet>: Delete test submodule completely.
[arguments] <test-flags>: Skip one test.
[native-inputs]: Add go-golang-org-x-tools-go-packages-packagestest and
go-k8s-io-kube-openapi-test-integration.
Change-Id: Ic7a95a05a13a37ca03821668b7fd5f114ec9e4ce
---
gnu/packages/golang-web.scm | 25 ++++++++++---------------
1 file changed, 10 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 2382f5563b..cabae717a0 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -13318,7 +13318,7 @@ docs}.")
(define-public go-k8s-io-kube-openapi
(package
(name "go-k8s-io-kube-openapi")
- (version "0.0.0-20250905212525-66792eed8611")
+ (version "0.0.0-20250910181357-589584f1c912")
;; XXX: Unbundle third_party in pkg.
(source
(origin
@@ -13328,32 +13328,27 @@ docs}.")
(commit (go-version->git-ref version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1979alrrlym968jxdcxc1lpm3b13bnkyayg042gk6xn0kb97mqma"))
- ;; XXX: test/integration contains submodule with it's own go.mod.
+ (base32 "1appaqgllddcl6kxkz3azix0xhlzy093vvxi6y3im1mkf5zblwl7"))
(modules '((guix build utils)))
(snippet
#~(begin
- ;; Keeping just testdata.
- (for-each delete-file-recursively
- (list "test/integration/builder"
- "test/integration/builder3"
- "test/integration/openapiconv"
- "test/integration/pkg/generated"
- "test/integration/testutil"
- "test/integration/import.go"
- "test/integration/integration_suite_test.go"))))))
+ (delete-file-recursively "test")))))
(build-system go-build-system)
(arguments
(list
#:skip-build? #t
#:import-path "k8s.io/kube-openapi"
- ;; Tests are not copatible with Go 1.24+.
- #:test-flags #~(list "-vet=off")))
+ #:test-flags
+ ;; [email protected] forces vet, but tests are not ready yet.
+ #~(list "-vet=off"
+ ;; It tries to regenerate the test data.
+ "-skip" "TestGenerators")))
(native-inputs
(list go-github-com-onsi-ginkgo-v2
go-github-com-onsi-gomega
go-github-com-stretchr-testify
- ;; go-golang-org-x-tools-go-packages-packagestest
+ go-golang-org-x-tools-go-packages-packagestest
+ go-k8s-io-kube-openapi-test-integration
go-sigs-k8s-io-yaml))
(propagated-inputs
(list go-github-com-emicklei-go-restful-v3