composer-patches icon indicating copy to clipboard operation
composer-patches copied to clipboard

Trying to work with Drupal 9.07

Open criley opened this issue 5 years ago • 1 comments

I have an issue where when the patch contains the information needed to allow for Drupal 9 such as adding:

core_version_requirement: ^8 || ^9

the patch never happens and instead I am presented with the:

Can only install one of: drupal/core[8.4.0, 9.0.7]. messages

How can I get around this or am I stuck downloading the module manually and patching it manually?

Thanks in advance.

criley avatar Nov 06 '20 22:11 criley

@criley see https://www.computerminds.co.uk/articles/apply-drupal-9-compatibility-patches-composer - you have to override the package compatibility metadata so that this plugin gets chance to apply the necessary patch.

anotherjames avatar Feb 02 '21 16:02 anotherjames