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

Update github.com/cespare/xxhash/v2 to v2.1.2 #182

Merged
merged 1 commit into from
Sep 13, 2021

Conversation

fedepaol
Copy link
Collaborator

github.com/cespare/xxhash/v2 v2.1.1 is incompatible with Go 1.17 (see cespare/xxhash#54)
Here we bump up the dependency to solve the issue.

@fedepaol
Copy link
Collaborator Author

cc @zshi-redhat @SchSeba

@fedepaol fedepaol force-pushed the updatexxhash branch 2 times, most recently from a2013d1 to 303abed Compare September 10, 2021 08:15
@@ -1,3 +1,4 @@
//go:build tools
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this change still needed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, that's why I pushed 3 times :-)

CI was complaining about it

Copy link
Collaborator

Choose a reason for hiding this comment

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

wondering if we can remove the following line+build tools.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think we can't. CI compares the generated file with what's in this PR and complains if they are different.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

diff --git a/hack/tools.go b/hack/tools.go
index 7a21725c..d1427a67 100644
--- a/hack/tools.go
+++ b/hack/tools.go
@@ -1,4 +1,4 @@
-// +build tools
+//go:build tools

This is if I remove the other line

@SchSeba
Copy link
Collaborator

SchSeba commented Sep 12, 2021

/lgtm

github.com/cespare/xxhash/v2 v2.1.1 is incompatible with Go 1.17 (see cespare/xxhash#54)
Here we bump up the dependency to solve the issue.

Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
@zshi-redhat
Copy link
Collaborator

/lgtm

@zshi-redhat zshi-redhat merged commit cb90012 into k8snetworkplumbingwg:master Sep 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants