Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

composer/installers version constraint leads to conflict with Bedrock 1.19.0 #401

Open
andronocean opened this issue Feb 3, 2022 · 1 comment

Comments

@andronocean
Copy link

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?

@codepuncher
Copy link
Member

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 wp-media/wp-rocket#4105

In the meantime, pull requests are welcomed :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants