-
Notifications
You must be signed in to change notification settings - Fork 604
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
go get -u pulling the preview release and causing issue with ambiguous imports #2224
Comments
We have no "preview" version of the Go v2 SDK nor should there be a tag for one with v2.0.0. We have no plans to implement a 2.x version of the SDK at this time. Can you elaborate on the issue you're having with |
@lucix-aws the below is what I see github.com/aws/aws-sdk-go-v2/service/s3: ambiguous import: found package github.com/aws/aws-sdk-go-v2/service/s3 in multiple modules: not sure where this is github.com/aws/aws-sdk-go-v2 v2.0.0-preview.4+incompatible. when I do a go get -u this is the library it is pulling for aws-sdk-go-v2 as latest |
The below is sample go.mod go 1.20 require ( require ( The below is the go.sum |
The tag
Please verify all of the above and try again. Unfortunately there's not really anything actionable for us here otherwise. I receive the expected version |
This issue has not received a response in 1 week. If you want to keep this issue open, please just leave a comment below and auto-close will be canceled. |
Describe the bug
When ever I do a go get -u to update the packages, I see that the preview release is getting pulled and giving issues with ambiguous imports. More over the preview release seems to be different than the current 1.20 version. How to avoid this when we do go get -u and what is the date that we have to move to new v2.0.0 version.
Expected Behavior
go get -u should pull only the latest stable version not the preview version.
Current Behavior
go get -u is pulling the preview release and causing issues with go imports.
Reproduction Steps
go get -u is pulling the preview release and causing issues with go imports.
Possible Solution
No response
Additional Information/Context
No response
AWS Go SDK V2 Module Versions Used
1.20.0
Compiler and Version used
go version go1.20.7 darwin/amd64
Operating System and version
Mac OS
The text was updated successfully, but these errors were encountered: