Problem/Motivation

Attempting to install 8.x-1.3-beta1 with composer but find that mailchimp/transactional requires guzzlehttp/guzzle ^7.2

However guzzle is locked at ^6.5.2 by Drupal 9.2.8

Any suggestions how to make this work?

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - drupal/core-recommended is locked to version 9.2.8 and an update of this package was not requested.
    - drupal/mandrill 1.3.0-beta1 requires mailchimp/transactional ^1.0.32 -> satisfiable by mailchimp/transactional[1.0.32, ..., 1.0.46].
    - mailchimp/transactional[1.0.32, ..., 1.0.46] require guzzlehttp/guzzle ^7.2 -> satisfiable by guzzlehttp/guzzle[7.2.0, 7.3.0, 7.4.0, 7.4.x-dev (alias of dev-master)].
    - guzzlehttp/guzzle 7.4.x-dev is an alias of guzzlehttp/guzzle dev-master and thus requires it to be installed too.
    - You can only install one version of a package, so only one of these can be installed: guzzlehttp/guzzle[dev-master, 4.0.0-rc.1, ..., 4.x-dev, 5.0.0, ..., 5.3.x-dev, 6.0.0, ..., 6.5.x-dev, 7.0.0-beta.1, ..., 7.4.0].
    - drupal/core-recommended 9.2.8 requires guzzlehttp/guzzle 6.5.5 -> satisfiable by guzzlehttp/guzzle[6.5.5].
    - Root composer.json requires drupal/mandrill ^1.3@beta -> satisfiable by drupal/mandrill[1.3.0-beta1].
CommentFileSizeAuthor
#3 3248458_downgrade_guzzle.patch313 bytesspncr

Comments

MrPaulDriver created an issue. See original summary.

mrpauldriver’s picture

Title: How to install mailchimp/transactional when Drupal Core requires a lower version og guzzle » How to install mailchimp/transactional when Drupal Core requires a lower version of guzzle
spncr’s picture

Version: 8.x-1.x-dev » 8.x-1.3-beta1
Assigned: Unassigned » spncr
StatusFileSize
new313 bytes

Thanks Paul, nice catch.

This patch should fix it for now, with version 1.0.19 of the mailchimp/transactional library

We need to find out if the library actually requires guzzle ^7 or if they can roll it back to ^6.

gcb’s picture

Priority: Normal » Major
Status: Active » Fixed

I'm going to release a beta with this change in the meantime. I've put in a request with mailchimp to fix this incompatibility, and once they do composer should be happy to allow sites to pull in the latest library with this constraint.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.