Require psr/http-message 1.0

Created on 23 October 2023, 8 months ago
Updated 8 December 2023, 7 months 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 8 months 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 8 months 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.69.0 2024