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

Remove hirak/prestissimo from global dependencies #328

Closed
wants to merge 1 commit into from

Conversation

mxr576
Copy link

@mxr576 mxr576 commented Nov 8, 2021

Because it is not compatible with Composer 2. Projects that are still using Composer 1 (WHY?) should install it as a project-level dependency.

Problem

[project-fooo]master@cli-drupal:/app$ composer --version
Composer version 2.1.11 2021-11-02 12:10:25
[project-fooo]master@cli-drupal:/app$ composer install
The "hirak/prestissimo" plugin (installed globally) was skipped because it requires a Plugin API version ("^1.0.0") that does not match your Composer installation ("2.1.0"). You may need to run composer update with the "--no-plugins" option.

As it was suggested in the main Composer 2 update issue, we (and others) updated projects to Composer 2 on the downstream by modifying Dockerfile.php. The problem is that the upstream image installs a Composer plugin globally that is not compatible with Composer 2 (and its maintainer is not answering the community request for "faking it as compatible" and making the transition from Composer 1 to 2 easier).

Because it is not compatible with Composer 2. Projects that are still using Composer 1 (WHY?) should install it as a project-level dependency.
@tobybellwood
Copy link
Member

php7.4 images will be EOL as of the next release. All php8 images are composer2

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

Successfully merging this pull request may close these issues.

2 participants