I'm getting the following error when running `composer install` after cloning MW core and checking out 1.25.5. I've gotten the error on two separate systems:
1. Windows with PHP 5.4 and Composer version 1.2-dev 2. CentOS 7 with PHP 5.6 and Composer version 1.1.0
I did NOT get the error on the same Windows machine prior to running `composer self-update`. It had Composer version 1.0-dev (dbdd4978a7dd4cd29d0d7dfc912aab404245b736) prior to update.
*** Error message ***
Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.
Problem 1 - Installation request for wikimedia/composer-merge-plugin 1.0.0 -> satisfiable by wikimedia/composer-merge-plugin[v1.0.0]. - wikimedia/composer-merge-plugin v1.0.0 requires composer-plugin-api 1.0.0 -> no matching package found.
Potential causes: - A typo in the package name - The package is not available in a stable-enough version according to your minimum-stability setting see https://getcomposer.org/doc/04-schema.md#minimum-stability for more details.
Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.
*** End error message ***
Thanks, James
On Wed, May 11, 2016 at 10:16 PM, James Montalvo jamesmontalvo3@gmail.com wrote:
I'm getting the following error when running `composer install` after cloning MW core and checking out 1.25.5. I've gotten the error on two separate systems:
- Windows with PHP 5.4 and Composer version 1.2-dev
- CentOS 7 with PHP 5.6 and Composer version 1.1.0
I did NOT get the error on the same Windows machine prior to running `composer self-update`. It had Composer version 1.0-dev (dbdd4978a7dd4cd29d0d7dfc912aab404245b736) prior to update.
*** Error message ***
Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.
Problem 1 - Installation request for wikimedia/composer-merge-plugin 1.0.0 -> satisfiable by wikimedia/composer-merge-plugin[v1.0.0]. - wikimedia/composer-merge-plugin v1.0.0 requires composer-plugin-api 1.0.0 -> no matching package found.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to
your minimum-stability setting see https://getcomposer.org/doc/04-schema.md#minimum-stability for more details.
Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.
*** End error message ***
The quick fix is to edit your $IP/composer.json and change the `"wikimedia/composer-merge-plugin": "1.0.0",` line to read `"wikimedia/composer-merge-plugin": "1.3.1",`.
Before composer-merge-plugin v1.2.0 [0], we (incorrectly) required v1.0.0 of the Composer internal composer-plugin-api component. Composer recently bumped this internal version to v1.1.0 [1]. I'll prepare a patch for the REL1_25 branch to fix this for the next tarball release.
[0]: https://github.com/wikimedia/composer-merge-plugin/releases/tag/v1.2.0 [1]: https://github.com/composer/composer/commit/aeafe2fe59992efd1bc3f890b760f1a9...
Bryan
wikitech-l@lists.wikimedia.org