mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Pin some golang packages to use go-1.23.
After the defult Golang version was set to 1.24 some of the older packages which had no fresh version started failing on the 'check phase, this change pins them to go-1.23 helping to resolve the issue. Go 1.24 requires non-constant format strings to be explicitly handled. The errors might look like these: non-constant format string in call to (*testing.common).Errorf ExampleParseOptionsLifetime refers to unknown identifier: ParseOptionsLifetime See <https://tip.golang.org/doc/go1.24#vet>. Change-Id: Ife5093c4fd98af7cea59abf1a9a29351b66602bb
This commit is contained in:
parent
0e25b7c1b6
commit
87661cea77
21 changed files with 163 additions and 23 deletions
|
@ -331,7 +331,9 @@ test (using testing.TB's @code{TempDir}) and with a few helper methods.")
|
|||
"1mkbyzhwq3rby832ikq00nxv3jnckxsm3949wkxd8ya9js2jmg4d"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
'(#:import-path "github.com/cheekybits/is"))
|
||||
(list
|
||||
#:go go-1.23
|
||||
#:import-path "github.com/cheekybits/is"))
|
||||
(home-page "https://github.com/cheekybits/is")
|
||||
(synopsis "Mini testing helper for Go")
|
||||
(description "A mini testing helper for Go.
|
||||
|
@ -473,6 +475,7 @@ strings which may be used in mock tests.")
|
|||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:go go-1.23
|
||||
#:import-path "github.com/DATA-DOG/go-sqlmock"
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
|
@ -1000,6 +1003,7 @@ package, but can be used in other contexts too.")
|
|||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:go go-1.23
|
||||
#:import-path "github.com/google/gofuzz"
|
||||
;; Tests fail on 32bit
|
||||
#:tests? (target-64bit?)))
|
||||
|
@ -1675,6 +1679,7 @@ output capturing, mocking, and much more.")
|
|||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:go go-1.23
|
||||
#:import-path "github.com/matryer/is"))
|
||||
(home-page "https://github.com/matryer/is")
|
||||
(synopsis "Lightweight testing mini-framework for Golang")
|
||||
|
@ -1763,6 +1768,7 @@ error messages, preserving the order of @code{have} (actual result) before
|
|||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:go go-1.23
|
||||
#:import-path "github.com/onsi/ginkgo"
|
||||
#:test-flags #~(list "-skip" "TestIntegration")))
|
||||
(propagated-inputs
|
||||
|
@ -1877,6 +1883,7 @@ framework.")
|
|||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:go go-1.23
|
||||
#:import-path "github.com/otiai10/mint"))
|
||||
(home-page "https://github.com/otiai10/mint")
|
||||
(synopsis "Minimal assertion for Golang testing framework")
|
||||
|
@ -2039,6 +2046,7 @@ GIT_TRACE mechanism.")
|
|||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:go go-1.23
|
||||
#:import-path "github.com/smarty/assertions"))
|
||||
(home-page "https://github.com/smarty/assertions")
|
||||
(synopsis "Fluent assertion-style functions")
|
||||
|
@ -2137,6 +2145,9 @@ test coverage and has a web user interface that will refresh automatically.")
|
|||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
;; See the list of supported Golang versions in
|
||||
;; <testify/.github/workflows/main.yml>.
|
||||
#:go go-1.23
|
||||
;; XXX: Tests are shaky on non x86_64 architectures, check if some may
|
||||
;; be enabled.
|
||||
#:tests? (target-x86-64?)
|
||||
|
@ -2389,6 +2400,7 @@ customization
|
|||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:go go-1.23
|
||||
#:import-path "github.com/warpfork/go-testmark"))
|
||||
(propagated-inputs
|
||||
(list go-github-com-warpfork-go-fsx))
|
||||
|
@ -2419,6 +2431,7 @@ testmark} format, which itself is a subset of Markdown format.")
|
|||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:go go-1.23
|
||||
#:import-path "github.com/warpfork/go-wish"
|
||||
#:test-subdirs #~(list "cmp/..." "wishfix" ".")
|
||||
#:test-flags
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue