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

Comments

scott_euser created an issue. See original summary.

scott_euser’s picture

Status: Active » Needs review
StatusFileSize
new333 bytes
hugronaphor’s picture

Also, `"drupal/core": "^8.7"` line prevents me installing it

monymirza’s picture

Status: Needs review » Reviewed & tested by the community
mmjvb’s picture

Status: Reviewed & tested by the community » Needs work

Suggest 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.

emek’s picture

Status: Needs work » Needs review
StatusFileSize
new397 bytes

The 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.

  • gdeni committed 9381326 on 8.x-5.x authored by emek
    Issue #3202216 by scott_euser, hugronaphor, emek: Unable to install with...
gdeni’s picture

Status: Needs review » Fixed

Thanks for reporting the issue! The provided patch has been applied and a new version has been released!

Status: Fixed » Closed (fixed)

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