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

loading module retractions #700

Open
daniel-cohere opened this issue Oct 16, 2023 · 1 comment
Open

loading module retractions #700

daniel-cohere opened this issue Oct 16, 2023 · 1 comment
Labels

Comments

@daniel-cohere
Copy link

Hi in Goland when fetching dependencies it runs:

go list -json -m -u -mod=readonly all

and for me, is erroring out via:

go: loading module retractions for upper.io/db.v3@v3.8.0+incompatible: reading upper.io/db.v3/go.mod at revision v1.0.2: unknown revision v1.0.2

I'm fairly new to Golang but my understanding is that incompatible versions do not have a go.mod which is where retractions are listed (can they be listed somewhere else)? I'm curious if this is an issue with the module index? How is go finding retractions? I noticed that the highest v1 tag is v1.0.1 in the repository but I have no clue where v1.0.2 is coming from.

@xiam
Copy link
Member

xiam commented Nov 5, 2023

@daniel-cohere can you try using v4 import path?

"github.com/upper/db/v4"

@xiam xiam added the question label Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants