Installation on D10 fails on php-http/guzzle6-adapter

Created on 26 May 2023, over 1 year ago
Updated 9 June 2023, over 1 year ago

Problem/Motivation

Installation fails on D10, succeeds on D9

Steps to reproduce

$ composer require 'drupal/elastic_enterprise_search'
fails with:
Problem 1
- php-http/guzzle6-adapter[v2.0.0, ..., v2.0.1] require php ^7.1 -> your php version (8.1.18) does not satisfy that requirement.
- php-http/guzzle6-adapter v2.0.2 requires guzzlehttp/guzzle ^6.0 -> found guzzlehttp/guzzle[6.0.0, ..., 6.5.8] but the package is fixed to 7.5.3 (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/elastic_enterprise_search[1.1.0, ..., 1.2.0] require php-http/guzzle6-adapter ^2.0 -> satisfiable by php-http/guzzle6-adapter[v2.0.0, v2.0.1, v2.0.2].
- Root composer.json requires drupal/elastic_enterprise_search * -> satisfiable by drupal/elastic_enterprise_search[1.1.0, 1.2.0].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require drupal/elastic_enterprise_search:*" to figure out if any version is installable, or "composer require drupal/elastic_enterprise_search:^2.1" if you know which you need.

Proposed resolution

Fix dependencies for D10 to use php-http/guzzle7-adapter

🐛 Bug report
Status

Needs review

Version

1.2

Component

Code

Created by

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024