-
Notifications
You must be signed in to change notification settings - Fork 1.5k
"package io/fs is not in GOROOT" on Go 1.15 #480
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
Comments
Looks like modules ignore build constraints |
I don't think that's the whole issue. If you just clone this repo and run
|
Unless I'm mistaken, the issue is that the |
I'm seeing the same issue in a project of mine, both
|
We also make use of this library and this is breaking our builds because of the module dependencies we have to pin over 30+ repos to v4.13.0 is there an outlook for when v4.14.1 will be available? |
I'm the author of the #472. |
Regardless of the revert, when the package is reintroduced (which I would still do for 1.16), it will work with the build tags guarding the imports of
That will guard its use in versions below 1.16. |
Hm, I say that, but you've done that in |
Ugh, this is golang/go#40067. Sorry for the noise. I guess this driver could live in another repo until 1.16 is the minimum. Going via |
Thank you so much, I know it was not your intent, and thank you for this library. |
Fixed in v4.14.1 |
Describe the Bug
golang-migrate no longer builds in Go 1.15 due to the addition of
io/fs
, imported via tests.Steps to Reproduce
Steps to reproduce the behavior:
Add v4.14.0 to the project, then run
go mod tidy
. I get:Expected Behavior
No output.
Migrate Version
v4.14.0
Loaded Source Drivers
N/A
Loaded Database Drivers
N/A
Go Version
go version go1.15.5 linux/amd64
Stacktrace
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: