-
Notifications
You must be signed in to change notification settings - Fork 937
Travis builds are failing due to composer-plugin-api version mismatch #558
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
Comments
PR #559 should resolves this issue. All tests pass: https://travis-ci.org/github/drupal-composer/drupal-project/builds/673931674. This PR also has a fix for #561. Nothing there could be a better fix than commenting out the composer snapshot setting. Maybe just remove that line, but not 100% on that and would love some feedback. |
Drupal 8.x may continue to specify Composer 1.x - https://www.drupal.org/project/drupal/issues/3126566#comment-13550328 The snapshot channel seems to only be 2.x
|
Thanks @joestewart! |
Seems to have been fixed in #575. |
Travis builds are failing due to composer-plugin-api version mismatch. Issue is Travis is using a snapshot version of Composer that appears the have composer-plugin-api v2 and that conflicts with cweagans/composer-patches, which requires composer-plugin-api v1.
We first noticed this in same issue in Guardr, which leverages Drupal Project code. Reference: https://www.drupal.org/project/guardr/issues/3126162#comment-13549572. @joestewart resolves this by commenting out the snapshot build for Composer in the Travis config file. guardrdistro/guardr-project#26.
See: https://travis-ci.org/github/drupal-composer/drupal-project/jobs/673820359
The text was updated successfully, but these errors were encountered: