Skip to content

go install fails with modctl@latest #307

@avinashsingh77

Description

@avinashsingh77

As instructed in https://github.com/modelpack/modctl/blob/main/docs/getting-started.md#binary go install fails with the following error:

go install github.com/modelpack/modctl@latest
go: github.com/modelpack/modctl@latest: version constraints conflict:
        github.com/modelpack/modctl@v0.0.5: parsing go.mod:
        module declares its path as: github.com/CloudNativeAI/modctl
                but was required as: github.com/modelpack/modctl

As specified in multiple closed issues, this issue is fixed in recent releases. For example, the following works fine and modctl is installed:

go install github.com/modelpack/modctl@v0.1.0-alpha.1

Now, either we need to make go install github.com/modelpack/modctl@latest run without errors or update the documentation to use latest named release in place of @latest

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions