Problem with module dependencies

Created on 13 May 2023, over 1 year ago

Problem/Motivation

There is a problem with module dependencies, one of the dependencies "azure_emotion_api" it's deprecated https://www.drupal.org/project/azure_emotion_api/issues/2968911 and also the module (azure_emotion_api) don't support drupal 9 or 10.

Steps to reproduce

composer require 'drupal/azure_cognitive_services_api:^1.3' -w
./composer.json has been updated
Running composer update drupal/azure_cognitive_services_api --with-dependencies
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - drupal/azure_emotion_api[1.1.0, ..., 1.x-dev] require drupal/core ~8.0 -> found drupal/core[8.0.0-beta6, ..., 8.9.x-dev] but these were not loaded, likely because it conflicts with another require.
    - drupal/azure_cognitive_services_api[dev-1.x, 1.3.0, ..., 1.x-dev] require drupal/azure_emotion_api ^1.1 -> satisfiable by drupal/azure_emotion_api[1.1.0, 1.x-dev].
    - Root composer.json requires drupal/azure_cognitive_services_api ^1.3 -> satisfiable by drupal/azure_cognitive_services_api[1.3.0, 1.x-dev].


Proposed resolution

Remove azure_emotion_api dependencie and use the new azure api.

🐛 Bug report
Status

Active

Version

1.3

Component

Code

Created by

🇪🇸Spain oskar_calvo

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

Comments & Activities

Production build 0.71.5 2024