-
-
Notifications
You must be signed in to change notification settings - Fork 480
Tool dependencies #2536
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
Comments
sort of but they're hardcoded into mise right now: Line 299 in 0fd5c11
we could probably add |
I forgot to include this in the post above: ❯ cat .mise.toml
[settings]
experimental = true
[tools]
"python" = "latest"
"jq" = "latest"
"yamllint" = "latest"
# first run fails
❯ mise install
... snip
/root/.local/share/mise/plugins/yamllint/lib/common.sh: line 74: jq: command not found
/root/.local/share/mise/plugins/yamllint/lib/common.sh: line 75: jq: command not found
/root/.local/share/mise/plugins/yamllint/lib/common.sh: line 76: jq: command not found
... snip
mise python@3.12.5 ✓ installed
mise jq@1.7.1 ✓ installed
mise ~/.local/share/mise/plugins/yamllint/bin/download exited with non-zero status: exit code 3
mise Run with --verbose or MISE_VERBOSE=1 for more information
# second run works since dependencies exist
❯ mise install
mise yamllint@1.35.1 ✓ installed If there's a missing dependency, I'm using |
Not quite ready yet, so we need workarounds for: jdx/mise#2260 jdx/mise#2536 jdx/mise#2290
I came across a tool dependency issue and didn't find it documented anywhere. Please let me know if this is an expected behaviour and how to solve it.
I would like to have all the dependencies defined in
.mise.toml
and installed withmise install
. Trying to add a Python package, for example yamllint,pipx
has to be available on the system or installed with mise as documented. Is there a way to do it with a single command?An alternative approach is to use a plugin. I found a community plugin, but it relies on other tools as well, for example,
jq
. With bothjq
andyamllint
in.mise.toml
, I assume it should be possible to runmise install
but it fails due to missingjq
even though it's installed beforeyamllint
. Is there a way to specify dependencies between tools?Thank you.
The text was updated successfully, but these errors were encountered: