- π¦πΊAustralia interlated
I've got it installed with
> composer require 'drupal/hook_event_dispatcher:^4.0@RC'
"require-dev": {
"drupal/core_event_dispatcher": "*",is in my composer lock file. Does core_event_dispatcher have to be a dependency of drulma_companion?
- πΊπΈUnited States nkraft
I just attempted to install the dev version of this module, and got this complaint (over and over and over) in lando composer:
lando composer require 'drupal/drulma_companion:2.x-dev@dev'
Problem 1
- drupal/core_event_dispatcher[3.0.0, ..., 3.2.0] require drupal/core ^8 || ^9 -> found drupal/core[8.0.0, ..., 8.9.20, 9.0.0, ..., 9.5.11] but the package is fixed to 10.1.7 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- drupal/core_event_dispatcher[3.3.0, ..., 3.3.4] require drupal/core ^9.3 -> found drupal/core[9.3.0, ..., 9.5.11] but the package is fixed to 10.1.7 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- drupal/drulma_companion 2.x-dev is an alias of drupal/drulma_companion dev-2.x and thus requires it to be installed too.
- drupal/drulma_companion dev-2.x requires drupal/core_event_dispatcher ^3 || ^4 -> satisfiable by drupal/core_event_dispatcher[3.0.0, ..., 3.3.4].
- Root composer.json requires drupal/drulma_companion 2.x-dev@dev -> satisfiable by drupal/drulma_companion[2.x-dev (alias of dev-2.x)].Please fix
- πͺπΈSpain rodrigoaguilera Barcelona
Can you require drupal/core_event_dispatcher (part of hook_event_dispatcher β ) version 4 first and then try again?
In hindsight it was a bad decision to rely on a module that is not maintained to the point of declaring a stable 4 version. I also accept patches to remove that dependency
- Status changed to Active
11 months ago 7:03pm 17 January 2024 - π¨π¦Canada jon_007
I can not install dulma_companion on Drupal 10. drulma_companion requires drupal/core_event_dispatcher which has been removed in Drupal 10.
I believe core_event_dispatcher should be removed as a requirement to provide Drupal 10 compatibility.
composer require 'drupal/drulma_companion:^2.1' -W
Problem 1
- drupal/drulma_companion[2.1.5, ..., 2.1.6] require drupal/core_event_dispatcher ^3 || ^4 -> satisfiable by drupal/core_event_dispatcher[3.0.0, ..., 3.3.4].
- drupal/drulma_companion[2.1.3, ..., 2.1.4] require drupal/core_event_dispatcher ^3 -> satisfiable by drupal/core_event_dispatcher[3.0.0, ..., 3.3.4].
- drupal/drulma_companion[2.1.0, ..., 2.1.2] require drupal/core ^9.3 -> found drupal/core[9.3.0, ..., 9.5.11] but these were not loaded, likely because it conflicts with another require.
- drupal/core_event_dispatcher[3.3.0, ..., 3.3.4] require drupal/core ^9.3 -> found drupal/core[9.3.0, ..., 9.5.11] but these were not loaded, likely because it conflicts with another require.
- drupal/core_event_dispatcher[3.0.0, ..., 3.2.0] require drupal/core ^8 || ^9 -> found drupal/core[8.0.0, ..., 8.9.20, 9.0.0, ..., 9.5.11] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires drupal/drulma_companion ^2.1 -> satisfiable by drupal/drulma_companion[2.1.0, ..., 2.1.6]. - Status changed to Postponed
11 months ago 10:12am 19 January 2024 - πͺπΈSpain rodrigoaguilera Barcelona
Thanks for digging into this issue.
FTR,I do have this module installed on one of my d10 sites so is definitely possible.Core event dispatcher is still in the d10 version of hook event dispatcher. See:
https://git.drupalcode.org/project/hook_event_dispatcher/-/tree/4.x/modu...
For this issue to be resolved a stable version of hook event dispatcher needs yo be released or folks will be forced to composer require RC versions (non-stable) before installing drulma companion.
- πͺπΈSpain rodrigoaguilera Barcelona
Waiting for a stable release is my preferred path for this to be resolved but I also accept MRs to remove the dependency.
- Status changed to Closed: outdated
5 months ago 8:34pm 17 July 2024 - πͺπΈSpain rodrigoaguilera Barcelona
I guess that this can be closed now we have a stable release