diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-09 23:50:16 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-21 09:42:17 +0100 |
| commit | 6ec0b84805935c64ff2f045c8fd73dcf3afe1a37 (patch) | |
| tree | c3cd390420a615619c963e03da9791d26b165c4f | |
| parent | a657d20a1793dc7966a90123f5a640c88945e61f (diff) | |
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
| -rw-r--r-- | gnu/packages/golang-web.scm | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index d4719400ba3..ad149e8eb70 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -13379,7 +13379,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 @@ -13389,32 +13389,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 + ;; Go@1.24 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 |
