Problem/Motivation

It seems like there is now a dependency issue related to Drupal core deprecating the telephone module.
It looks like the drupal packager has already made the jump to saying drupal:telephone must now come from contrib, even the core is still available until 11.5.

  1. The standalone telephone module requires Drupal 11.4 which forces a drupal core upgrade just to update CRM. #3606383: The Telephone module is removed
  2. The info.yml lists telephone as a dependency, but if it is not in core, then the composer.json needs to be updated to include it as a dependency.

Steps to reproduce

* Try to update CRM to beta11 while still running less than drupal 11.4. The require fails.

Comments

swirt created an issue. See original summary.

swirt’s picture

I found a fix for anyone wanting to stay with the one in core for a little while longer.

Put this in your composer.json

"replace": {
        "drupal/telephone": "*"
    },

This tells composer to pretend you already have this dependency locally, which you do, in core through less than Drupal 11.5

swirt’s picture

bluegeek9’s picture

Category: Bug report » Task
Status: Active » Postponed

Interesting.

I think the best solution is to have telephone support older versions of Drupal 11, and then add telephone:telephone as a dependency to CRM.

bluegeek9’s picture

Status: Postponed » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.