Require psr/http-message 1.0

Created on 23 October 2023, about 1 year ago
Updated 8 December 2023, about 1 year ago

Problem/Motivation

WHen upgrading to DRupal 10, it is possible that the psr/http-message dependency is upgraded to 2.0 version. If this happens, this library is not compatible with php-sparkpost yet. Please check the related issue for more information.

Steps to reproduce

Upgrade psr/http-message is upgraded to 2 and try sending a mail with sparkpost.

Proposed resolution

Require psr/htt-message 1.0

🐛 Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

🇪🇸Spain omarlopesino

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

Comments & Activities

  • Issue created by @omarlopesino
  • Status changed to Needs review about 1 year ago
  • 🇪🇸Spain omarlopesino

    I've created an issue fork but it does not let me create a PR. So I upload a patch instead.

    Please review, thanks!

  • Open in Jenkins → Open on Drupal.org →
    Core: 10.1.4 + Environment: PHP 8.2 & MySQL 8
    last update about 1 year ago
    Patch Failed to Apply
  • 🇬🇧United Kingdom joehuggans Harrogate, UK

    This still isn't working for me, I've tried manually adding a requirement for psr/http-message for version 1.1 but still seeing this when trying to send a test message -

    No php-http message factories found. Note that the php-http message factories are deprecated in favor of the PSR-17 message factories. To use the legacy Guzzle, Diactoros or Slim Framework factories of php-http, install php-http/message and php-http/message-factory and the chosen message implementation.

Production build 0.71.5 2024