Composer: unsupported value if != constraint used #31504
Labels
manager:composer
Composer (PHP) package manager
priority-3-medium
Default priority, "should be done" but isn't prioritised ahead of others
type:bug
Bug fix of existing functionality
versioning:composer
Composer's semver versioning
Discussed in #31501
Originally posted by martipoe September 20, 2024
What would you like help with?
I think I found a bug
How are you running Renovate?
Self-hosted
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
Gitlab
Please tell us more about your question or problem
I am using this version constraint with PHP Composer in composer.json:
"typo3/cms-core": "^12.4.7 !=12.4.8",
This syntax should be supported as per https://semver.madewithlove.com/?package=typo3%2Fcms-core&constraint=%5E12.4.7+!%3D12.4.8&stability=stable
However, RenovateBot seems not to support this syntax (see logs).
Consequently, this package and all packages depending on it are not updated.
It would be nice if this could be fixed/supported.
Logs (if relevant)
Logs
It seems like it's the
!=
part causing the problem. Here's some example tests I added, showing which ones fail:The text was updated successfully, but these errors were encountered: