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

Avoid the composer require of core "drupal/core-utility" #249

Open
dxvargas opened this issue Aug 1, 2022 · 1 comment
Open

Avoid the composer require of core "drupal/core-utility" #249

dxvargas opened this issue Aug 1, 2022 · 1 comment

Comments

@dxvargas
Copy link

dxvargas commented Aug 1, 2022

In Drupal 9.4.4 the replace section of composer.json of drupal/core has been removed.
See here https://www.drupal.org/node/3295096.

There is a plan to remove core dependencies from composer.json. Here we can read in the "Remaining tasks" section:

  • Search for modules that require core modules in their composer.json. Most probably we want to file patches against those where we remove the require, and move those to the dependencies: section of their info.yml file.

What about here in drupal-driver? It's requiring drupal/core-utility
https://github.com/jhedstrom/DrupalDriver/blob/v2.2.0/composer.json#L18

When we run composer require drupal/drupal-driver, we end up with duplicated drupal/core-utility in the vendor folder! It overrides the core package in web/core/lib/Drupal/Component/Utility and may even have a different version.

Should we avoid the composer require of "drupal/core-utility"?

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