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

feat: update deps to stay with go 1.20 #1434

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

annielz
Copy link
Collaborator

@annielz annielz commented Nov 8, 2024

Description

The current latest uber mockgen dependency require go 1.22, specify the version to stay with go 1.20.

Rationale

tell us why we need these changes...

Example

when running make install-tools:
go install go.uber.org/mock/mockgen@latest
go.uber.org/mock/mockgen
/root/go/pkg/mod/go.uber.org/[email protected]/mockgen/package_mode.go:93:21: undefined: types.Unalias
/root/go/pkg/mod/go.uber.org/[email protected]/mockgen/package_mode.go:147:17: cannot range over t.NumEmbeddeds() (value of type int)
/root/go/pkg/mod/go.uber.org/[email protected]/mockgen/package_mode.go:194:28: undefined: types.Alias
/root/go/pkg/mod/go.uber.org/[email protected]/mockgen/package_mode.go:211:18: cannot range over genericType.TypeArgs().Len() (value of type int)
/root/go/pkg/mod/go.uber.org/[email protected]/mockgen/package_mode.go:270:17: cannot range over sig.Params().Len() (value of type int)
/root/go/pkg/mod/go.uber.org/[email protected]/mockgen/package_mode.go:303:17: cannot range over sig.Results().Len() (value of type int)
note: module requires Go 1.22
make: *** [Makefile:43: install-tools] Error 1

Changes

Notable changes:

  • dependency

Potential Impacts

  • build install tools

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.

1 participant