Fixed
Project:
Drupal core
Version:
main
Component:
base system
Priority:
Critical
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
22 Jul 2026 at 15:45 UTC
Updated:
24 Jul 2026 at 22:20 UTC
Jump to comment: Most recent
Comments
Comment #2
godotislateThis might be blocked by #3605380: Resolve GuzzleHttp\ClientInterface::getConfig() deprecations.
Also
php-http/guzzle7-adapter(https://github.com/php-http/guzzle7-adapter) does not have a Guzzle 8 compatible version. I have not looked into why that package is needed though.Comment #4
longwavephp-http/guzzle7-adapterwas added for the OpenTelemetry performance monitoring in #3352389: Add open-telemetry/sdk and open-telemetry/exporter-otlp as dev dependencies. There is a slim chance it is not needed any more?Comment #6
longwavegetClient() remains on the concrete class, just not on the interface...
Comment #7
longwaveComment #8
longwaveComment #9
longwaveComment #10
godotislateMR looks good, one Q about the exception handling. It's not clear to me which Guzzle exception class in the hierarchy should be caught.
Comment #11
longwaveThe tree is
It feels like we should only be catching 4xx/5xx here, so I went with that; I think the others are unlikely even in explicit tests of failure scenarios - only when something goes wrong with the test run itself - but happy to change this if I'm wrong!
Comment #12
godotislateThanks for the explanation.
Thinking about this:
allow_redirectsset to FALSE and Browserkit is supposed to handle the redirects instead of Guzzle. So we don't have to worry about itReading docs: https://github.com/guzzle/guzzle/blob/8.0/docs/contributing/exception-gu...
I think we can let this go uncaught.
lgtm
Comment #15
larowlanCommitted to main - thanks!
Comment #17
longwaveHm I realised I left v7 available via composer.json but no idea if it will actually work due to the other changes in this MR, maybe we should only support V8 in D12?
Comment #18
catchI think it would be fine to only support guzzle 8.
We might want to look into adding guzzle 8 support to Drupal 11 in case guzzle 7 support gets dropped given there's another 2.5 years to go before we drop Drupal 11 support?
Comment #19
longwaveOpened followups for both things as children of this issue.
Comment #20
longwave