Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Similar to #2442411: Update react/promise to 2.2.0, the introduction of guzzlehttp/psr7
in #2493911: Update guzzle, goutte and mink-goutte-driver to the latest release causes problems if a global install of psr7 exists since the function is included twice. Without this fix, fatal errors will occur when bootstrapping Drupal from another system that has already loaded the psr7 functions.
This needs to wait on https://github.com/guzzle/psr7/issues/27 to tag 1.1.1
.
--https://github.com/guzzle/psr7/releases
Beta phase evaluation
Issue category | Bug, we want to ship with the latest version of all our dependencies |
---|---|
Issue priority | Normal, no bug actually is killing us (but are impacting other projects |
Comment | File | Size | Author |
---|---|---|---|
#14 | update_guzzlehttp_psr7-2546272-14.patch | 28.63 KB | jhedstrom |
#5 | update_guzzlehttp_psr7-2546272-5.patch | 28.21 KB | hussainweb |
Comments
Comment #2
hussainwebA new release has been tagged, not 1.1.1 as initially thought, but 1.2.0. It contains the fix we need. Attaching the patch.
Comment #3
dawehnerLOL
Comment #4
larowlanClosed #2552281: Update guzzlehttp/psr-7 and guzzlehttp/promises to latest versions in favour of this
Can we also bump guzzlehttp/promises
Comment #5
hussainwebMakes sense.
Comment #6
dawehnerNice change as well ...
Comment #7
saltednutFor reference: 1.2.0 of guzzle/psr7 was tagged two days ago https://github.com/guzzle/psr7/releases
Comment #8
saltednutComment #9
jhedstromComment #10
jibranPlease add @larowlan to commit credit for the patch in the duplicate issue. Thanks.
Comment #11
dawehnerNote: this patch makes it possible to run behat on Drupal 8 projects
Comment #12
pfrenssenHere's the corresponding issue in Behat Drupal Extension: #193: Tests are failing since Drupal 8 updated Guzzle to 5.3.0.
Comment #13
alexpottNeeds a reroll.
Comment #14
jhedstromRerolled.
Comment #15
hussainwebPatch looks same as the previous one except for this part. I assume this is a composer generated file but it didn't generate for me. Which version of composer are you using?
Comment #16
jhedstromA fairly recent version:
Composer version 1.0-dev (9859859f1082d94e546aa75746867df127aa0d9e) 2015-08-17 14:57:00
Comment #17
dawehnerWell yeah if they are adding it now ... let's do it.
Comment #18
hussainwebSure, let's do it. I don't think mine was this recent.
Comment #19
webchickCommitted and pushed to 8.0.x. Thanks!