Skip to content
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

readme: bump up golang version #11347

Merged
merged 1 commit into from
Nov 2, 2023
Merged

Conversation

nonsense
Copy link
Member

Updating README to ask for Go version 1.20.x instead of 1.19.x

@nonsense nonsense requested a review from a team as a code owner October 20, 2023 09:41
@@ -71,10 +71,10 @@ For other distributions you can find the required dependencies [here.](https://l

#### Go

To build Lotus, you need a working installation of [Go 1.19.12 or higher](https://golang.org/dl/):
To build Lotus, you need a working installation of [Go 1.20.10 or higher](https://golang.org/dl/):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lotus supports Go 1.19.12 so this is not necessarily correct

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nonsense bump

Copy link
Member Author

@nonsense nonsense Nov 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$ go version
go version go1.19.2 darwin/arm64
~/code/src/github.com/filecoin-project/lotus (main)
$ make clean all
Makefile:14: Your Golang version is go1.19.2
Makefile:15: *** Update Golang to version to at least 1.20.7.  Stop.

See: https://github.com/filecoin-project/lotus/blob/master/GO_VERSION_MIN

I've written 1.20.10 and not 1.20.7 as this is the latest patch version on the 1.20 release.


I believe the bump to Go 1.20.x was made because of QUIC library within libp2p but I might be mistaken on that one.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, you're right. I was looking at the release branch.

@Stebalien Stebalien merged commit e845556 into master Nov 2, 2023
@Stebalien Stebalien deleted the nonsense/readme-golang-version branch November 2, 2023 12:39
vmx added a commit to filecoin-project/filecoin-ffi that referenced this pull request Nov 3, 2023
As Lotus is now using Go 1.20 [1], I also upgrade this CI to use 1.20.

[1]: filecoin-project/lotus#11347
vmx added a commit to filecoin-project/filecoin-ffi that referenced this pull request Nov 3, 2023
As Lotus is now using Go 1.20 [1], I also upgrade this CI to use 1.20.

That also needs a slight reformatting to make go fmt happy.

[1]: filecoin-project/lotus#11347
vmx added a commit to filecoin-project/filecoin-ffi that referenced this pull request Nov 3, 2023
As Lotus is now using Go 1.20 [1], also upgrade this CI to use 1.20.

This needs slight reformatting to make go fmt happy and the switch from
`GODEBUG=cgocheck=2` to `GOEXPERIMENT=cgocheck2`.

[1]: filecoin-project/lotus#11347
vmx added a commit to filecoin-project/filecoin-ffi that referenced this pull request Nov 3, 2023
As Lotus is now using Go 1.20 [1], also upgrade this CI to use 1.20.

This needs slight reformatting to make go fmt happy.

The CircleCI Ubuntu 22.04 image tagged 2023.07.2 is using Go 1.20.4 [2].
Later versions of that image use Go >= 1.21.

[1]: filecoin-project/lotus#11347
[2]: https://discuss.circleci.com/t/linux-machine-executor-2023-q3-update/48580
vmx added a commit to filecoin-project/filecoin-ffi that referenced this pull request Nov 3, 2023
As Lotus is now using Go 1.20 [1], also upgrade this CI to use 1.20.

This needs slight reformatting to make go fmt happy.

The CircleCI Ubuntu 22.04 image tagged 2023.07.2 is using Go 1.20.4 [2].
Later versions of that image use Go >= 1.21 [3].

[1]: filecoin-project/lotus#11347
[2]: https://discuss.circleci.com/t/linux-machine-executor-2023-q3-update/48580
[3]: https://discuss.circleci.com/t/linux-machine-executor-2023-q4-update/49457
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants