mise manager pins cargo: tools to =x.y.z, which mise cannot resolve
#44953
How are you running Renovate?A Mend.io-hosted app Which platform you running Renovate on?GitHub.com Which version of Renovate are you using?43.280.0 (Mend-hosted app, taken from the Please tell us more about your question or problemMinimal reproduction: https://github.com/cffnpwr/renovate-repro-mise-cargo-pin Current behaviorFor [tools]
-"cargo:flip-link" = "0.1.12"
+"cargo:flip-link" = "=0.1.12"The version field of a mise tool is not a Cargo dependency requirement, and mise does not support $ mise ls --current
mise WARN semver range "=0.1.12" is not supported for cargo:flip-link (source: mise.toml); use a concrete version or version prefix
cargo:flip-link =0.1.12 (missing) mise.toml =0.1.12
$ mise latest "cargo:flip-link@=0.1.12"
mise WARN semver range "=0.1.12" is not supported for cargo:flip-link (source: command argument); use a concrete version or version prefixThe second command prints no version: Why it happens
Expected behaviorNo pin PR at all, because Setting a versioning that treats a bare Related
Workaround{
"packageRules": [
{
"matchManagers": ["mise"],
"matchDatasources": ["crate"],
"versioning": "semver"
}
]
}Logs (if relevant)Logs |
Replies: 1 comment 1 reply
|
Thanks for the detailed, finding. I will be happy to review a PR with the versioning switch solution you proposed. |
Thanks. I've opened #44966, which sets versioning: semver on cargo: backend tools using the crate datasource.