Composer Conflict - psr/cache needs 1.0, but Drupal 10 uses 3.0

Created on 2 November 2023, about 1 year ago
Updated 5 February 2024, 9 months ago

Problem/Motivation

Upgrading to Drupal 10, I'm having to update the module for Marketo MA. Marketo MA prevented me from creating a composer lock. When upgrading Marketo MA the composer error appears:

composer require drupal/marketo_ma:^3.0
./composer.json has been updated
Running composer update drupal/marketo_ma
Gathering patches for root package.
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- softonic/guzzle-oauth2-middleware 1.3 requires psr/cache ^1.0 -> found psr/cache[1.0.0, 1.0.1] but the package is fixed to 3.0.0 (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/marketo_ma 3.0.0 requires neclimdul/marketo-rest ^1.0|~2.0@beta -> satisfiable by neclimdul/marketo-rest[v1.0.0, ..., v1.1.4].
- neclimdul/marketo-rest[v1.0.0, ..., v1.1.4] require softonic/guzzle-oauth2-middleware ^1.3 -> satisfiable by softonic/guzzle-oauth2-middleware[1.3].
- Root composer.json requires drupal/marketo_ma ^3.0 -> satisfiable by drupal/marketo_ma[3.0.0].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Steps to reproduce

--------

Proposed resolution

The library psr/cache:3.0 is required for Drupal 10. Recommending that this and additional libraries be added. I have not been able to install Marketo MA for D10, but if someone has I would greatly appreciate your guidance.

πŸ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024