composify
composify copied to clipboard
composer/installers version constraint leads to conflict with Bedrock 1.19.0
Howdy, and first of all thank you for this lifesaving little tool! I've been a happy user for over a year now.
The latest Bedrock, v1.19.0, bumped the version constraint for composer/installers
from ^1.12
to ^2.0
. It looks like composify hard-codes a requirement for "composer/installers": "^1.6"
into each package it processes.
Hence, after bringing my project up-to-date with the current Bedrock, I'm getting errors like this:
Problem 1
- Root composer.json requires kinsta/kinsta-mu-plugins ^2.4.2 -> satisfiable by kinsta/kinsta-mu-plugins[2.4.2].
- kinsta/kinsta-mu-plugins 2.4.2 requires composer/installers ^1.6 -> found composer/installers[v1.6.0, ..., 1.x-dev] but it conflicts with your root composer.json require (^2.0).
Is there anything special that needs to be done to align this with Bedrock, or can it just switch to a ^1.6 || ^2.0
constraint?
Hi @andronocean ,
We are currently paused on adding Composer v2 support as we have some internal issues with upgrading to Composer 2 for our packages; we will look into it when this issue is resolved https://github.com/wp-media/wp-rocket/issues/4105
In the meantime, pull requests are welcomed :)