New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
golang: update to 1.14.4 #850
Conversation
With go1.14 now, how about removing
in https://github.com/digitalbitbox/bitbox-wallet-app#requirements? I've just tried building frontend/android/goserver with gomobile on 1.14 without GO111MODULE=off and it seems to work:
This repo is the only one living in my old GOPATH. |
We'll have to do it sooner or later. Why not now. |
With go1.14 now, how about removing
in https://github.com/digitalbitbox/bitbox-wallet-app#requirements? I've just tried building frontend/android/goserver with gomobile on 1.14 without GO111MODULE=off and it seems to work:
This repo is the only one living in my old GOPATH. Originally posted by @x1ddos in #850 (comment) README updated. Without |
Oh, you're right! Didn't realize in my previous build in #850 (comment) it was actually downloading packages, revealed by adding Commented on golang/go#34181. |
done (the last two are the same) |
sorry, last one was copy&paste error. it was supposed to be https://github.com/digitalbitbox/bitbox-wallet-app/blob/04925927/Makefile#L39, in |
shiftcrypto/bitbox-wallet-app:5 created and based on the change in the Docker image.
Go 1.14, which is what's used on CI runners, says to "run 'go mod vendor' to sync". Otherwise, it complains with: go: inconsistent vendoring in /Users/runner/go/src/github.com/digitalbitbox/bitbox-wallet-app: golang.org/x/net@v0.0.0-20190620200207-3b0461eec859: is explicitly required in go.mod, but vendor/modules.txt indicates golang.org/x/net@v0.0.0-20190404232315-eb5bcb51f2a3 This commit is the result of "make go-vendor". Actually, had to update go.mod with v0.0.0-20190620200207-3b0461eec859 for golang.org/x/net. Simply running "make go-vendor" without go.mod changes resulted in the same error. This is vendoring madness. Worst and most confusing design in the whole history of Go.
ah maybe that's why it didn't work. anyway, lots of places to update the Go version in :O |
Build started failing on Travis on macOS with: ``` gomobile init gomobile: go install golang.org/x/mobile/cmd/gobind failed: exit status 1 can't load package: package golang.org/x/mobile/cmd/gobind: cannot find package "." in: /Users/travis/go/src/github.com/digitalbitbox/bitbox-wallet-app/vendor/golang.org/x/mobile/cmd/gobind ```
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Somehow vendor/modules.txt
updates got into the update to 1.14
commit but ok.
hmm i did |
shiftcrypto/bitbox-wallet-app:5 created and based on the change in the
Docker image.