#35 GOPATH deprecated on Go 1.17
Opened 3 years ago by alexsaezm. Modified 2 years ago

According to the golang wiki: Go 1.17 (August 2021) will remove the GO111MODULE setting and GOPATH mode entirely, using module mode always.

We need to evaluate the steps to follow in order to support this change in Fedora. Currently, Go packages use GOPATH and GO111MODULE=off.

Log of the meeting where it was discussed


With all of the upstream developments both in Go and projects more and more Go based projects nowadays support only mod mode for building them. And there are more and more people asking about this. It really calls for some integration of the Go modules in to the Fedora's packaging process and tooling(macros). It has been bit unfortunate that the current guidelines and macros don't take them in to the account even though go mods have been already in the wild when current guidelines were created.
@nim @eclipseo For the record what are your plans in this space? To be more precise do you plan to add the support in to the current macros and guidelines or are you more inclined to saying that it will be up to the Fedora's community?

@nim @eclipseo For the record what are your plans in this space? To be more precise do you plan to add the support in to the current macros and guidelines or are you more inclined to saying that it will be up to the Fedora's community?

I'd like to see the tooling ready by F34 as RHEL9 will be spun of it. As I mentioned in a mail to the ML, we already missed the mark for RHEL8.

I don't see it possible to convert all our packages to the new tooling by F34, so the target for this would need to be F35 at least. We would need to rebuild the whole stack in a side tag. I guess this work would fall on me…

@eclipseo I'll contact you through IRC to see if I can help you with anything :)

@eclipseo I'll contact you through IRC to see if I can help you with anything :)

I won't be much available on IRC through the holidays period, best way to reach me is always email.

Metadata Update from @jcajka:
- Issue tagged with: meeting

3 years ago

@nim Hello, do you plan to work on this in the f35 time frame? IMHO it would be great to have something by the time of the branching of f35 so any issues can be addressed as early as possible.

Metadata Update from @alexsaezm:
- Issue assigned to alexsaezm

3 years ago

Metadata Update from @jcajka:
- Issue untagged with: meeting

2 years ago

Log in to comment on this ticket.

Metadata