Widen complex ranges for pub manager #33155
Labels
manager:pub
priority-3-medium
Default priority, "should be done" but isn't prioritised ahead of others
type:bug
Bug fix of existing functionality
Discussed in #33055
Originally posted by davidmartos96 December 12, 2024
How are you running Renovate?
A Mend.io-hosted app
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
No response
Please tell us more about your question or problem
On Dart projects, when the SDK version is specified as a range, renovate uses the replace npm versioning strategy, which strips the lower bound, which Dart requires.
Reproduction: https://github.com/davidmartos96/dart_renovatebot_bug
The range
sdk: ">=3.4.0 <3.6.0"
turns intosdk: <3.6.1
, but that will fail when resolving the dependencies withdart pub get
with the following error:Possible solutions:
Logs (if relevant)
Logs
This line of config should not be necessary: https://github.com/renovate-reproductions/33055/blob/849c93bc3ddba5fc3bc51976c2174713478863e6/renovate.json#L6
The text was updated successfully, but these errors were encountered: