localgovdrupal / localgov_geo

Entity for storing Geographic information, addresses, and areas; extensible types and plugable backends with defaults to start.
2 stars 1 forks source link

Add more lenient version constraint for geocder. #106

Closed finnlewis closed 11 months ago

ekes commented 11 months ago

Were you able to install 4.10 with this?

So far I'm up to

$> ddev composer require drupal/geocoder:^4.10 -W

./composer.json has been updated
Running composer update drupal/geocoder --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - php-http/guzzle7-adapter[1.0.0, ..., 1.x-dev] require guzzlehttp/guzzle ^7.0 -> found guzzlehttp/guzzle[7.0.0-beta.1, ..., 7.9.x-dev] but these were not loaded, likely because it conflicts with another require.
    - drupal/geocoder[4.10.0, ..., 4.x-dev] require php-http/guzzle7-adapter ^1.0 -> satisfiable by php-http/guzzle7-adapter[1.0.0, 1.x-dev].
    - Root composer.json requires drupal/geocoder ^4.10 -> satisfiable by drupal/geocoder[4.10.0, 4.x-dev].

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Composer [require drupal/geocoder:^4.10 -W] failed, composer command failed: exit status 2. stderr=

This is because we require the core-recommended project https://github.com/localgovdrupal/localgov_project/blob/56d50b1909e8aa2fd5c51b700ea60da320ba2f6e/composer.json#L18 where it requires guzzle 6 https://github.com/drupal/core-recommended/blob/af3521be5376e333ddcdbd31c5a169f16423b46f/composer.json#L17 and never went to allowing 7 which core did for its last version.

So I'm not sure this is going to help.

finnlewis commented 11 months ago

Hey ho! Closing. Thanks @ekes