Problem/Motivation

While Drush 8.1.12 and higher allow upgrading a Drupal 8.3 site to 8.4 when Drush is installed globally, it turns out that Drush 8.1.14 and earlier are not compatible with 8.4 when they are part of the same composer project, because of the Symfony 2 vs. Symfony 3 dependency conflict.

https://github.com/drush-ops/drush/pull/2800 addressed this by making Drush 8 also work with Symfony 3, which required both loosening the composer requirements and other fixes to Drush itself. The fix is available in Drush 8.1.15.

Proposed resolution

Indicate a conflict with Drush versions lower than 8.1.15 in the composer.json to ensure that sites being updated by Composer get the correct version, since broken Drush installs introduce all kinds of fatals and may prevent DB updates from running, etc. (We have precedent for this from #2867570: Drupal 8.3.0 is not compatible with Drush <8.1.10 - lets declare that in composer.json.)

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#2 drush-conflict-2916204-1.patch354 bytesxjm

Comments

xjm created an issue. See original summary.

xjm’s picture

Priority: Major » Normal
Status: Active » Needs review
StatusFileSize
new354 bytes
chi’s picture

We might need to update release notes as well.
https://www.drupal.org/project/drupal/releases/8.4.0

borisson_’s picture

Status: Needs review » Reviewed & tested by the community

Patch does what the issue describes, this is really helpful!

xjm’s picture

I updated the release notes already a few days back around when I posted the patch. :) Thanks!

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 2: drush-conflict-2916204-1.patch, failed testing. View results

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.0-alpha1 will be released the week of January 17, 2018, which means new developments and disruptive changes should now be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.6.x-dev » 8.7.x-dev

Drupal 8.6.0-alpha1 will be released the week of July 16, 2018, which means new developments and disruptive changes should now be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.7.x-dev » 8.8.x-dev

Drupal 8.7.0-alpha1 will be released the week of March 11, 2019, which means new developments and disruptive changes should now be targeted against the 8.8.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.0-alpha1 will be released the week of October 14th, 2019, which means new developments and disruptive changes should now be targeted against the 8.9.x-dev branch. (Any changes to 8.9.x will also be committed to 9.0.x in preparation for Drupal 9’s release, but some changes like significant feature additions will be deferred to 9.1.x.). For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.9.x-dev » 9.1.x-dev

Drupal 8.9.0-beta1 was released on March 20, 2020. 8.9.x is the final, long-term support (LTS) minor release of Drupal 8, which means new developments and disruptive changes should now be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 9.1.x-dev » 9.2.x-dev

Drupal 9.1.0-alpha1 will be released the week of October 19, 2020, which means new developments and disruptive changes should now be targeted for the 9.2.x-dev branch. For more information see the Drupal 9 minor version schedule and the Allowed changes during the Drupal 9 release cycle.

Version: 9.2.x-dev » 9.3.x-dev

Drupal 9.2.0-alpha1 will be released the week of May 3, 2021, which means new developments and disruptive changes should now be targeted for the 9.3.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

longwave’s picture

Status: Needs work » Closed (outdated)
Issue tags: +Bug Smash Initiative

This is quite an old issue and Drush 8.3.3 and below can no longer be installed anyway due to version conflicts.

Closing this in favour of #3125974: Add a conflict on drush 9 (allow 8 and 10) which has more discussion about bumping the Drush conflicts.