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

Boxo @latest v0.16.0 doesn't have modules which boxo v0.15.0 has #522

Closed
ofman opened this issue Dec 8, 2023 · 3 comments
Closed

Boxo @latest v0.16.0 doesn't have modules which boxo v0.15.0 has #522

ofman opened this issue Dec 8, 2023 · 3 comments
Labels
need/triage Needs initial labeling and prioritization

Comments

@ofman
Copy link

ofman commented Dec 8, 2023

Looks like new version of boxo doesn't have required coreiface modules.

I have tried an official ipfs kubo example from here and after import 'icore "github.com/ipfs/boxo/coreiface"' into main.go looks like latest version of boxo v0.16.0 doesn't have modules v0.15.0 had.

Terminal paste below after "go mod tidy" command:
github.com/ipfs/boxo/coreiface: module github.com/ipfs/boxo@latest found (v0.16.0), but does not contain package github.com/ipfs/boxo/coreiface github.com/ipfs/boxo/coreiface/options: module github.com/ipfs/boxo@latest found (v0.16.0), but does not contain package github.com/ipfs/boxo/coreiface/options

@ofman ofman added the need/triage Needs initial labeling and prioritization label Dec 8, 2023
@Jorropo
Copy link
Contributor

Jorropo commented Dec 8, 2023

Thx for your report,
We removed it in v0.16.0 https://github.com/ipfs/boxo/blob/main/CHANGELOG.md#removed-1

See:

With Boxo v0.16.0 you need Kubo v0.25.0-rc1 and later you can use github.com/ipfs/kubo/core/coreiface

If you want to use Kubo, please use the version of boxo used by Kubo.
You can do go get github.com/ipfs/kubo@latest && go mod tidy and it should pull up the version of boxo used by Kubo.

@Jorropo Jorropo closed this as not planned Won't fix, can't repro, duplicate, stale Dec 8, 2023
@ofman
Copy link
Author

ofman commented Dec 8, 2023

Seems like go get github.com/ipfs/kubo@latest && go mod tidy still gets non rc1 version on debian 12 go version go1.21.4 linux/amd64 but exact below command worked really well (added @v0.25.0-rc1 instead of @latest):
go get github.com/ipfs/kubo@v0.25.0-rc1 && go mod tidy

Thanks! :)

@Jorropo
Copy link
Contributor

Jorropo commented Dec 8, 2023

@latest would have got Kubo v0.24.0 and it would also download boxo v0.15.0 if you had a clean go.mod (not added boxo v0.16.0 already)

shahzadlone added a commit to sourcenetwork/defradb that referenced this issue Dec 27, 2023
## Relevant issue(s)
Resolves #2157

## Description
- Fix broken mod tidy, by adding the Kubo(v0.25.0) dependency for
IPFS(v0.16.0), because it was removed after v0.15.0.

More detail: ipfs/boxo#522
shahzadlone added a commit to shahzadlone/defradb that referenced this issue Jan 22, 2024
## Relevant issue(s)
Resolves sourcenetwork#2157

## Description
- Fix broken mod tidy, by adding the Kubo(v0.25.0) dependency for
IPFS(v0.16.0), because it was removed after v0.15.0.

More detail: ipfs/boxo#522
shahzadlone added a commit to shahzadlone/defradb that referenced this issue Feb 23, 2024
## Relevant issue(s)
Resolves sourcenetwork#2157

## Description
- Fix broken mod tidy, by adding the Kubo(v0.25.0) dependency for
IPFS(v0.16.0), because it was removed after v0.15.0.

More detail: ipfs/boxo#522
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need/triage Needs initial labeling and prioritization
Projects
None yet
Development

No branches or pull requests

2 participants