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

consolidate require directives, tidy #689

Closed
wants to merge 1 commit into from

Conversation

dekkagaijin
Copy link
Member

Certain versions of Go (at least within 1.16) don't play well with multiple require directives.

Signed-off-by: Jake Sanders <jsand@google.com>
@dlorenc
Copy link
Member

dlorenc commented Sep 16, 2021

I don't actually think this helps, we ended up undoing this because it broke dependabot. We need to be building/releasing with go 1.17, and afaik the go1.16 directive at the top of the go.mod is all we need to indicate backwards compatibility: https://golang.org/ref/mod#go-mod-file-go

@cpanato cpanato added this to the v1.3.0 milestone Sep 16, 2021
@dekkagaijin
Copy link
Member Author

@dlorenc hrm ok. The error I was seeing before explicitly called out multiple requires as the issue. I'll create the presubmit for 1.16 which will settle things

@dekkagaijin
Copy link
Member Author

looks like this is fine w/ 1.16 /shrug

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