Minimum stability issue with drupal/akamai in Drupal 10

Created on 30 October 2023, about 1 year ago
Updated 5 November 2023, about 1 year ago

Problem/Motivation

Adding module purge_akamai_optimizer to the project throwing the error,

Problem 1
- drupal/purge_akamai_optimizer[dev-1.x, 1.0.0, ..., 1.1.0] require drupal/akamai ^3.0@alpha -> found drupal/akamai[dev-3.x, 3.0.0-alpha1, ..., 3.x-dev (alias of dev-3.x)] but it does not match your minimum-stability.
- drupal/purge_akamai_optimizer 1.x-dev is an alias of drupal/purge_akamai_optimizer dev-1.x and thus requires it to be installed too.
- Root composer.json requires drupal/purge_akamai_optimizer * -> satisfiable by drupal/purge_akamai_optimizer[dev-1.x, 1.0.0, 1.1.0, 1.x-dev (alias of dev-1.x)].

Issue is due to the module drupal/akamai is currently have latest version 5.0.0-rc2 for drupal 10.
But, Inside the composer.json minimum required version for the drupal/akamai is set to 3.0@alpha, which is not satisfying the minimum compatibility version requirement by composer and resulting into the error.

Steps to reproduce

Basic requirement is to have drupal core version should be ^10.

  • Run "composer require "drupal/purge_akamai_optimizer" -W"

Proposed resolution

As a part of this fix, You should have to fix all the Drupal 10 compatibility related issues, then the composer.json file have the requirement on line no 11 should be updated,

current requirement:
"drupal/akamai": "^3.0@alpha"

Should be:
"drupal/akamai": "^5.0"

💬 Support request
Status

Fixed

Version

2.0

Component

Code

Created by

🇮🇳India smitghelani Surat, Gujarat

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

Comments & Activities

Production build 0.71.5 2024