8000 chore: Upgrade github.com/cockroachdb/pebble/v2 to v2.0.6 for Go 1.25 support by stefanb · Pull Request #10850 · ipfs/kubo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chore: 8000 Upgrade github.com/cockroachdb/pebble/v2 to v2.0.6 for Go 1.25 support #10850

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stefanb
Copy link
@stefanb stefanb commented Jun 25, 2025
edited
Loading

Go 1.25 incompatibility detected in
* Homebrew/homebrew-core#226636

then:
* reported upstream in cockroachdb/swiss#48
* fixed upstream cockroachdb/swiss#49

This PR brings this fix upstream to kubo.

The fix was brought to github.com/cockroachdb/pebble/v2 in
* cockroachdb/pebble#4954

And released in https://github.com/cockroachdb/pebble/releases/tag/v2.0.6
Which is now used.

Full changelog: cockroachdb/pebble@v2.0.3...v2.0.6
@stefanb stefanb changed the title Upgrade github.com/cockroachdb/swiss for Go 1.25 support fix: github.com/cockroachdb/pebble/v2 to v2.0.6 for Go 1.25 Jun 26, 2025
@stefanb stefanb changed the title fix: github.com/cockroachdb/pebble/v2 to v2.0.6 for Go 1.25 chore: github.com/cockroachdb/pebble/v2 to v2.0.6 for Go 1.25 Jun 26, 2025
@stefanb stefanb changed the title chore: github.com/cockroachdb/pebble/v2 to v2.0.6 for Go 1.25 chore: github.com/cockroachdb/pebble/v2 to v2.0.6 for Go 1.25 support Jun 26, 2025
@stefanb stefanb changed the title chore: github.com/cockroachdb/pebble/v2 to v2.0.6 for Go 1.25 support chore: Upgrade github.com/cockroachdb/pebble/v2 to v2.0.6 for Go 1.25 support Jun 29, 2025
stefanb added a commit to stefanb/ipget that referenced this pull request Jun 29, 2025
Go 1.25 incompatibility detected in
* Homebrew/homebrew-core#226636

then:
* reported upstream in cockroachdb/swiss#48
* fixed upstream cockroachdb/swiss#49

This PR brings just this upstream fix upstream to ipfs.
Alternatively we could wait until
* ipfs/kubo#10850

is merged and released an then upgrade the `github.com/ipfs/kubo` direct dependancy.

---

Before:
go1.25rc1 build ./...
github.com/cockroachdb/swiss
# github.com/cockroachdb/swiss
../../../go/pkg/mod/github.com/cockroachdb/swiss@v0.0.0-20250327203710-2932b022f6df/map.go:286:7: undefined: hashFn
../../../go/pkg/mod/github.com/cockroachdb/swiss@v0.0.0-20250327203710-2932b022f6df/map.go:337:14: undefined: getRuntimeHasher
../../../go/pkg/mod/github.com/cockroachdb/swiss@v0.0.0-20250327203710-2932b022f6df/map.go:338:22: undefined: fastrand64
../../../go/pkg/mod/github.com/cockroachdb/swiss@v0.0.0-20250327203710-2932b022f6df/map.go:600:23: undefined: fastrand64
../../../go/pkg/mod/github.com/cockroachdb/swiss@v0.0.0-20250327203710-2932b022f6df/map.go:649:19: undefined: fastrand64
../../../go/pkg/mod/github.com/cockroachdb/swiss@v0.0.0-20250327203710-2932b022f6df/map.go:670:20: undefined: fastrand64
../../../go/pkg/mod/github.com/cockroachdb/swiss@v0.0.0-20250327203710-2932b022f6df/options.go:30:14: undefined: hashFn

Upgrade:
go get -u github.com/cockroachdb/swiss && go mod tidy
go: upgraded github.com/cockroachdb/swiss v0.0.0-20250327203710-2932b022f6df => v0.0.0-20250624142022-d6e517c1d961

After:
go1.25rc1 build ./...
(build successful)
@hsanjuan
Copy link
Contributor

I think this one would be bubbled by updating go-ds-pebble

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

Successfully merging this pull request may close these issues.

2 participants
0