From d30dbeab5870fc7a41b4f55a5c46e03c3eeb54e6 Mon Sep 17 00:00:00 2001 From: Nigel Breslaw Date: Wed, 7 May 2025 14:10:05 +0300 Subject: [PATCH] Use specific versions with Mise (#8399) Mise keeps freezing. One suggestion was to list specific versions and not use "latest" https://github.com/jdx/mise/issues/4302 --- .mise/config.toml | 18 +++++++++--------- .mise/tasks.toml | 8 ++++---- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.mise/config.toml b/.mise/config.toml index b467f7d4a..a50d49eab 100644 --- a/.mise/config.toml +++ b/.mise/config.toml @@ -7,18 +7,18 @@ ## C++: "ubi:EmbarkStudios/cargo-about" = "0.6.6" -"pipx:cmake" = "latest" -"pipx:ninja" = "latest" -"pipx:pipenv" = "latest" -# doxygen = "latest" ## This is not available anywhere -# graphviz = "latest" ## This is not available anywhere +"pipx:cmake" = "4.0.0" +"pipx:ninja" = "1.11.1.4" +"pipx:pipenv" = "2025.0.2" +# doxygen = "1.13.2" ## This is not available anywhere +# graphviz = "12.2.1" ## This is not available anywhere -"aqua:sharkdp/fd" = "latest" +"aqua:sharkdp/fd" = "10.2.0" "rust" = { version = "stable", profile = "default" } node = "20" -pnpm = "latest" -taplo = "latest" -"ubi:rustwasm/wasm-pack" = "latest" +pnpm = "10.10.0" +taplo = "0.9.3" +"ubi:rustwasm/wasm-pack" = "0.13.1" [task_config] includes = [".mise/tasks.toml", ".mise/tasks"] diff --git a/.mise/tasks.toml b/.mise/tasks.toml index 3efc6ca10..e3cad86ef 100644 --- a/.mise/tasks.toml +++ b/.mise/tasks.toml @@ -8,7 +8,7 @@ ["fix:cpp:format"] description = "Run clang format fix on all C++ files" run = '''fd '.*\.(h|H|hpp|hxx|h\+\+|c|C|cpp|cxx|c\+\+)$' -0 | xargs -0 clang-format -i''' -tools = { "pipx:clang-format" = "latest" } +tools = { "pipx:clang-format" = "20.1.3" } ["fix:legal:copyright"] description = "Run the check_license_headers --fix xtask" @@ -17,7 +17,7 @@ run = "cargo xtask check_license_headers --fix-it" ["fix:python:format"] description = "Run ruff format" run = "ruff format" -tools = { "ruff" = "latest" } +tools = { "ruff" = "0.11.8" } ["fix:rust:format"] description = "Run cargo fmt --all" @@ -56,7 +56,7 @@ dir = "editors/vscode" sources = ["tools/lsp/Cargo.toml", "tools/lsp/**/*.rs", "tools/lsp/ui/**/*.slint"] outputs = ["tools/lsp/pkg/*"] run = "pnpm run build:wasm_lsp" -tools = { "npm:wasm-pack" = "latest" } +tools = { "npm:wasm-pack" = "0.13.1" } depends = ["prepare:pnpm-install"] ["build:interpreter:wasm"] @@ -65,7 +65,7 @@ dir = "tools/slintpad" sources = ["api/wasm-interpreter/Cargo.toml", "api/wasm-interpreter/src/**/*.rs"] outputs = ["api/wasm-interpreter/pkg/*"] run = "pnpm run build:wasm_interpreter" -tools = { "npm:wasm-pack" = "latest" } +tools = { "npm:wasm-pack" = "0.13.1" } depends = ["prepare:pnpm-install"] ["prepare:pnpm-install"]