ory/fosite

use mattn/go-sqlite3 v2.0.3+incompatible no the new version

wuxingzhong opened this issue · 6 comments

Preflight checklist

Ory Network Project

No response

Describe the bug

some problems:
image

according

image

go-sqlite3

Reproducing the bug

nothing

Relevant log output

No response

Relevant configuration

No response

Version

v0.44.0

On which operating system are you observing this issue?

None

In which environment are you deploying?

None

Additional Context

No response

Fosite doesn't include this dep in the go.mod. Use the correct version when downloading the dependency:

go get github.com/mattn/go-sqlite3@v1.14.17

Ory has no control over which version you download.

image
same problem, when I download go-sqlite3@v1.14.17 The fosite will be downgraded to v0.35.1

Can you please provide clear reproduction instructions? I can't replicate this with the following:

Okay I see. Not entirely sure how this is occuring since the dependency is not included.

This is due to a gobuffalo dependency. Will look closely as to why.

This can be worked around with go mod edit -replace="github.com/mattn/go-sqlite3=github.com/mattn/go-sqlite3@v1.14.17"

OK, thinks!