Update helper is not drush 12 compatible

Created on 19 June 2023, over 1 year ago
Updated 19 September 2023, over 1 year ago

Problem/Motivation

Drush 12 requires chi-teck/drupal-code-generator ^3.0. But update helper requires chi-teck/drupal-code-generator ^2.4.

Steps to reproduce

Create a new Drupal project. Require drupal/update_helper. Now require drush/drush:^12.1.
Expected result, Drush 12 gets installed. Instead we get an error message:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires drush/drush ^12.1 -> satisfiable by drush/drush[12.1.0].
    - drush/drush 12.1.0 requires chi-teck/drupal-code-generator ^3.0 -> found chi-teck/drupal-code-generator[3.0.0] but these were not loaded, likely because it conflicts with another require.

Proposed resolution

Require chi-teck/drupal-code-generator ^3.0 and Drush ^12
Move event subscribers from drush.services.yml to the modules' services.yml files

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany daniel.bosen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024