saintsystems / odata-client-php

OData Client Library for PHP
MIT License
141 stars 103 forks source link

composer Install guzzlehttp/guzzle 6.5.8 #143

Closed abhisekmazumdar closed 11 months ago

abhisekmazumdar commented 11 months ago

While installing the Drupal module odata_client in the latest version of Drupal 9, we encountered the following issue mentioned here.

So, this patch is a temporary fix until the maintainer fixes it or everyone upgrades to the latest version of Drupal 10.

More info: https://www.drupal.org/project/odata_client/issues/3388005

n8rowley commented 11 months ago

I'm worried this is going to cause issues with apps using Laravel 9 or 10. Guzzle ^7.2 has been required since Laravel 9.

PR #84 already aims to be more flexible with Guzzle versions. Is that a better way to fix this issue?

abhisekmazumdar commented 11 months ago

Thanks, @n8rowley, for pointing out the existing PR. I tested the #84 PR, and it works with Drupal 9.x, the latest version. I had to rebase the PR, but it works. Closing this as #84 covers what I needed.

Leaving the rebased version here for anyone who is working with D9.x might need it: