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

[BUG] Cannot install k3d v5.5.1 using Go 1.20 #1243 #1324

Closed
jan-sykora opened this issue Jul 24, 2023 · 2 comments
Closed

[BUG] Cannot install k3d v5.5.1 using Go 1.20 #1243 #1324

jan-sykora opened this issue Jul 24, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@jan-sykora
Copy link

jan-sykora commented Jul 24, 2023

What did you do

Cannot install k3d via go install command:

> go version
go version go1.20.5 darwin/arm64

> go install github.com/k3d-io/k3d/v5@v5.5.1
go: github.com/k3d-io/k3d/v5@v5.5.1 (in github.com/k3d-io/k3d/v5@v5.5.1):
        The go.mod file for the module providing named packages contains one or
        more replace directives. It must not contain directives that would cause
        it to be interpreted differently than if it were the main module.

I can successfully install version 5.5.0: go install github.com/k3d-io/k3d/v5@v5.5.0. The version 5.5.1 cannot be install due to adding this replace directive in that release:

replace github.com/rancher/wharfie => github.com/iwilltry42/wharfie v0.6.2-iwilltry42.0

source: v5.5.0...v5.5.1#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6R40

What did you expect to happen

k3d will be installed

Which OS & Architecture

MacOS Ventura 13.4.1 (Apple silicon M2 Max)

@jan-sykora jan-sykora added the bug Something isn't working label Jul 24, 2023
@iwilltry42
Copy link
Member

Should be fixed with v5.5.2, right?
If not, feel free to reopen.

@jan-sykora
Copy link
Author

Yes, now it works correctly with 5.5.2. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants