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

Unable to install go-swagger package #2555

Closed
sravankasu opened this issue Mar 30, 2021 · 2 comments
Closed

Unable to install go-swagger package #2555

sravankasu opened this issue Mar 30, 2021 · 2 comments

Comments

@sravankasu
Copy link

sravankasu commented Mar 30, 2021

Problem statement

Hi,

Looks like there is an indirect dependency on the xdg/stringprep package which is causing go get github.com/go-swagger/go-swagger/cmd/swagger to fail

 go get: github.com/go-swagger/go-swagger@v0.26.1 requires
       github.com/go-openapi/loads@v0.20.1 requires
       go.mongodb.org/mongo-driver@v1.4.5 requires
       github.com/xdg/stringprep@v0.0.0-20180714160509-73f8eece6fdc: invalid version: unknown revision 73f8eece6fdc

The mongo-driver package was recently updated to fix this issue: mongodb/mongo-go-driver#624

I will open an issue in go-openapi/loads as well.

Steps to reproduce

go get github.com/go-swagger/go-swagger/cmd/swagger

Environment

swagger version: v0.26.1
go version: 1.13.5 linux/amd64
OS: Ubuntu 18.04.3 LTS

@sravankasu
Copy link
Author

Opened an issue here: go-openapi/loads#39

@sravankasu
Copy link
Author

Looks like the fix was backported to the mongo-go-driver package.

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

1 participant