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

go get convey is failing; undefined: errors.ls #600

Closed
FahimSiddiqui opened this issue Apr 27, 2020 · 2 comments
Closed

go get convey is failing; undefined: errors.ls #600

FahimSiddiqui opened this issue Apr 27, 2020 · 2 comments

Comments

@FahimSiddiqui
Copy link

Hi Team,

I am facing an issue while getting convey package.

Error:
Command: go get github.com/smartystreets/goconvey/convey
# github.com/smartystreets/assertions
go\src\github.com\smartystreets\assertions\type.go:146:6: undefined: errors.Is

I have been using Convey since a long time, this issue is happening since a last few days after I reinstalled all the packages.

Go Version:
go version go1.12beta2 windows/amd64 - (Windows 10)

I have tried to install go get github.com/smartystreets/assertions as well but that did not help.

Can someone please check.

Thanks.

@sgnn7
Copy link

sgnn7 commented Apr 27, 2020

I've hit this too today as well. This is because goconvey is depending on smartystreets/assertions repo and they recently made use of new APIs that are only available in Golang v1.13 (error.Is()).

tl;dr: If you use goconvey I think you just have to use v1.13 of Golang now (or use the v1.0.1 of the smartystreets/assertions dependency).

@FahimSiddiqui
Copy link
Author

Thanks @sgnn7 . I have upgraded to GO v1.14 . It worked perfectly fine after that.

sgnn7 added a commit to cyberark/summon-aws-secrets that referenced this issue Apr 30, 2020
To support the newest version of goconvey that doesn't break our build,
we needed to update our Dockerfile builds to Golang v1.13.

Upstream: smartystreets/goconvey#600
sgnn7 added a commit to cyberark/summon-aws-secrets that referenced this issue Apr 30, 2020
To support the newest version of goconvey that doesn't break our build,
we needed to update our Dockerfile builds to Golang v1.13.

Upstream: smartystreets/goconvey#600
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

No branches or pull requests

2 participants