Problem/Motivation
- Drush 10 required for Drupal 8.4+ / Drupal 9: https://www.drush.org/latest/install/#drupal-compatibility
- Migrate Tools 5x required for Drush 10: https://www.drupal.org/project/migrate_tools
- GatherContent requires Migrate Tools 4x: https://git.drupalcode.org/project/gathercontent/-/blob/8.x-5.x/composer...
Steps to reproduce
- Try to run `composer require drush/drush drupal/migrate_tools drupal/gathercontent` on a Drupal 9 site
Proposed resolution
- Update composer.json to require migrate_tools 5x. I've done this manually and am able to run migrations as normal.
Remaining tasks
Apply patch
User interface changes
None
API changes
None
Data model changes
None
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | gathercontent-composer-compatibility-3202216-6.patch | 397 bytes | emek |
| #3 | gathercontent-composer-compatibility-3202216-3.patch | 393 bytes | hugronaphor |
| #2 | gathercontent-composer-compatibility-3202216-2.patch | 333 bytes | scott_euser |
Comments
Comment #2
scott_euser commentedComment #3
hugronaphor commentedAlso, `"drupal/core": "^8.7"` line prevents me installing it
Comment #4
monymirzaComment #5
mmjvb commentedSuggest the proper constrain already used for migrate_plus: ^4 || ^5.
Obviously, pinning on one dev branch is very bad, should have been ^4. See no reason to force ^5 and removig support for ^4.
Comment #6
emek commentedThe wrong dependency for Drupal core stops us from upgrading to Drupal 9, so we need this code to get added.
Changed the dependency for migrate_tools to the suggestion in #5.
Comment #8
gdeni commentedThanks for reporting the issue! The provided patch has been applied and a new version has been released!