pipx/ansible breaks with brace version syntax #8039
-
With the good config: With the bad config: It appears that with the good config, mise is using pipx without uv, and that is working. With the right-side config, mise tries to use uv (because it's installed on my system, separately from mise) but the result doesn't work. I have no idea why this would be triggered by the different syntax. Reproducer with simple script at https://github.com/agriffis/mise-ansible-demo Tested this morning, this problem still exists in 2026.2.6 mise doctor output (it's the same with both configs above) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
I added this to the pipx backend: and this showed that the good config does: while the bad config does: This seems like a bug. I don't know why the different version syntaxes would intentionally have this result. I haven't done much in rust, but it seems like the difference is happening here: Lines 197 to 200 in 3439a73 My guess is that Yup, a little more debugging shows: good bad The problem is that this line isn't applying properly in the "bad" case: Line 1 in 3439a73 so the workaround is to apply them in the config: [tools]
ansible = { version = "latest", uvx = false, pipx_args = "--include-deps" }
pipx = "latest" |
Beta Was this translation helpful? Give feedback.
-
|
|
Beta Was this translation helpful? Give feedback.
I created a PR to remove that syntax from the registry. This is not a proper fix but at least prevents the issue. #8146Nvm, I noticed #8044 fixed this problem.