You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
My go.sum is generated using Go 1.11.5, however the Athens v0.2.0 image I pull from docker is running on Go 1.11.2. There has been a fix in 1.11.4 affecting the way checksums are calculated for modules, so now when pulling my dependencies from Athens there's a checksum mismatch, since Athens still uses the 1.11.2 way.
To Reproduce
Add for example kylelemons/go-gypsy to your go.mod file using go 1.11.5, then try building your application using the Athens v0.2.0 docker image running go 1.11.2.
When rebuilding the image with go 1.11.5 everything works as expected.
Expected behavior
To work with go 1.11.4 and higher generated go.sum's. A rebuild of the current docker file should be enough as it relies on 1.11, which is currently an alias for go 1.11.5
Environment (please complete the following information):
OS: [e.g. Linux 64bit] Linux 64bit
Go version : 1.11.2
Buffalo Version : -
Proxy version : v0.2.0
Storage (fs/mongodb/s3 etc.) : fs
The text was updated successfully, but these errors were encountered:
@machiel thanks for reporting this. The canary version of the docker image uses go1.12-rc which should be compatible with 1.11.5. Feel free to give this a try and let us know if the issue still persists. The next releas v0.3.0 will have 1.12 on by default.
Also, don't forget to delete that module from your storage backend as it was compiled with pre1.11.5 and will need to be re-compiled with the new go mod download command.
Describe the bug
My go.sum is generated using Go 1.11.5, however the Athens v0.2.0 image I pull from docker is running on Go 1.11.2. There has been a fix in 1.11.4 affecting the way checksums are calculated for modules, so now when pulling my dependencies from Athens there's a checksum mismatch, since Athens still uses the 1.11.2 way.
More about this here: golang/go#27925
Error Message
To Reproduce
Add for example
kylelemons/go-gypsy
to your go.mod file using go 1.11.5, then try building your application using the Athens v0.2.0 docker image running go 1.11.2.When rebuilding the image with go 1.11.5 everything works as expected.
Expected behavior
To work with go 1.11.4 and higher generated go.sum's. A rebuild of the current docker file should be enough as it relies on 1.11, which is currently an alias for go 1.11.5
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: