Problem/Motivation

Drupal 8.3.0 has update issues with drush versions prior to 8.1.10. See #2867444: Configuration schema errors whilst updating to 8.3.0.

Proposed resolution

Declare the conflict in core/composer.json so anyone who has installed drush via composer and has an earlier version knows they need to update it. This will not effect globally installed drush only composer installed drush and composer-based projects.

With the patch applied:

composer require drush/drush "8.1.9"
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for drupal/drupal dev-drush-conflict -> satisfiable by drupal/drupal[dev-drush-conflict].
    - drush/drush 8.1.9 conflicts with drupal/drupal[dev-drush-conflict].
    - Installation request for drush/drush 8.1.9 -> satisfiable by drush/drush[8.1.9].

Both composer require drush/drush "8.1.10" and composer require drush/drush:dev-master work just fine.

Remaining tasks

User interface changes

API changes

Data model changes

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

alexpott created an issue. See original summary.

alexpott’s picture

Status: Active » Needs review
Issue tags: +Needs manual testing
FileSize
408 bytes
moshe weitzman’s picture

Status: Needs review » Reviewed & tested by the community

Good call.

Thanks for posting that composer conflict example. Composer conflicts need so much usability help. Its worse than MySQL EXPLAIN! How hard can it be? "drush/drush 8.1.9 conflicts with drupal/drupal. Try drush/drush:8.1.10 and you'll be happy dappy."

catch’s picture

Status: Reviewed & tested by the community » Fixed

Wasn't clear if Moshe manually tested it, but I just did and got the same error that @alexpott pasted. This makes sense to me so committed/pushed to 8.4.x and cherry-picked to 8.3.x, thanks!

  • catch committed bd1a9d0 on 8.4.x
    Issue #2867570 by alexpott: Drupal 8.3.0 is not compatible with Drush...

  • catch committed e29f23e on 8.3.x
    Issue #2867570 by alexpott: Drupal 8.3.0 is not compatible with Drush...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.