-
Notifications
You must be signed in to change notification settings - Fork 5
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 check-platform-reqs behavior #50
Comments
Related to this, the fact that
and a matching valid lock file (e.g., by running
Then the build fails, because This prevents Drupal from installing unless I add Would it be helpful to open that as a separate issue, or is it essentially the same issue as this already existing one? |
@effulgentsia I can't say, maybe @sophiewigmore wants to weigh in. For me it seems related. If you have the bandwidth, can you push a test case that fails? I know that would help. Not entirely sure which repository though. Maybe the family pack? |
Hey @effulgentsia, your issue definitely seems related and is fine here. It's helpful context. Running |
@effulgentsia @till better late than never I hope - but we just ran into this when we upgraded to Composer 2.7.7, because it completely fails (instead of just warning) when it can't find extensions. We've moved the platform req check BEFORE |
Expected Behavior
composer install
already checks platform requirements (unless you tell it not to). So ifcomposer check-platform-reqs
is used to generated an ini file to load extensions, it has to happen before.Current Behavior
composer install
runs successfully, but thencomposer check-platform-reqs
fails.Possible Solution
A new environment variable,
$BP_COMPOSER_CHECK_PLATFORM_REQS=true
which can be disabled (false
).Steps to Reproduce
Outlined here:
paketo-buildpacks/composer#27 (comment)
Motivations
See #46
The text was updated successfully, but these errors were encountered: