Skip to content

Optimism mise install error due to version pre-fix "v" #17963

@sgrsaga

Description

@sgrsaga

Need help?
Optimism build environment setup with mise install failing due to additional version character

Reason for the error
During the URL formatting addition version "v" character appears.

Example Error:

mise try to retrieve -> https://api.github.com/repos/kurtosis-tech/kurtosis-cli-release-artifacts/releases/tags/v1.8.1

real endpoint -> https://api.github.com/repos/kurtosis-tech/kurtosis-cli-release-artifacts/releases/tags/1.8.1

Bug Description

Optimism fail to install mise.toml packages using mise

Steps to Reproduce

git clone https://github.com/ethereum-optimism/optimism.git
cd optimism
git checkout v1.13.7
mise trust mise.toml -y
mise install

Expected behavior

mise install
should install all the modules and setup in the mise.toml file

But error appears for some modules

mise install
mise ERROR Failed to install tools: ubi:kurtosis-tech/kurtosis-cli-release-artifacts[exe=kurtosis]@1.8.1, ubi:casey/[email protected], ubi:ethereum-optimism/infra[exe=op-acceptor,tag_prefix=op-acceptor/]@op-acceptor/v3.2.1

ubi:kurtosis-tech/kurtosis-cli-release-artifacts[exe=kurtosis]@1.8.1: 
   0: HTTP request to https://api.github.com/repos/kurtosis-tech/kurtosis-cli-release-artifacts/releases/tags/v1.8.1 returned an error status

Location:
   src/backend/ubi.rs:368

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

ubi:casey/[email protected]: 
   0: HTTP request to https://api.github.com/repos/casey/just/releases/tags/v1.37.0 returned an error status

Location:
   src/backend/ubi.rs:368

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

ubi:ethereum-optimism/infra[exe=op-acceptor,tag_prefix=op-acceptor/]@op-acceptor/v3.2.1: 
   0: HTTP request to https://api.github.com/repos/ethereum-optimism/infra/releases/tags/vop-acceptor%2Fv3.2.1 returned an error status

Location:
   src/backend/ubi.rs:368

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
mise ERROR Run with --verbose or MISE_VERBOSE=1 for more information

Environment Information:

  • Operating System: Ubuntu 20.04]
  • Package Version : v1.13.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions