
When I use composer to try and install Drush 13 I get this error:
- drupal/warmer dev-2.x requires drush/drush ^11.6 || ^12 -> found drush/drush[11.6.0, 12.0.0, ..., 12.5.3] but it conflicts with your root composer.json require (^13).
My reason for upgrading is to get my environment ready for 11.
Drush 13 also runs on 10.2 or later.
Is this a quick fix of warmer/composer.json
or is more involved?
Comment | File | Size | Author |
---|---|---|---|
#3 | warmer-3467609.patch | 693 bytes | rajan kumar@2026 |
Screenshot 2024-08-12 at 9.03.24 AM.png | 191.59 KB | duckydan | |
Screenshot 2024-08-12 at 9.04.06 AM.png | 57.68 KB | duckydan |
Issue fork warmer-3467609
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
andypostComment #3
rajan kumar@2026 CreditAttribution: rajan kumar@2026 commentedHi @duckydan
I have fixed the issue and created a patch. Thank you.
Comment #6
bhaveshdas CreditAttribution: bhaveshdas as a volunteer and at cmsMinds for Drupal India Association commentedComment #7
bhaveshdas CreditAttribution: bhaveshdas as a volunteer and at cmsMinds for Drupal India Association commentedComment #8
duckydan CreditAttribution: duckydan commentedThanks! It makes the change in the local module composer file.
Comment #9
hudriDo we need the hard Drush dependency at all in the composer.json file? It is an optional CLI command, not a functional requirement. The module does it's job great via cron and UI.
I'm proposing to completely remove the drush dependency from composer.json.
Comment #10
jigariusI agree with hudri. We should remove the drush/drush dependency.
Comment #12
jigariusComment #13
duckydan CreditAttribution: duckydan commentedWorks great.
Comment #14
maxilein CreditAttribution: maxilein commentedIt did not work for me.
D10.3.6 php 8.3 drush 13.2
Comment #15
maxilein CreditAttribution: maxilein commentedJust installed the current dev on D11.1.
Works fine with drush 13 even without this patch.
Comment #16
duckydan CreditAttribution: duckydan commentedI think it was fixed here: https://git.drupalcode.org/project/warmer/-/commit/72d7dab49b120d1a3c886...
I’ll mark this as fixed.
Thanks for pointing it out.