Can't be installed with Drupal 10.1.0-beta due to conflict in dependencies

Created on 2 June 2023, over 1 year ago
Updated 28 August 2023, about 1 year ago

Problem/Motivation

Drupal 10.1.0-beta installed with drupal/core-recommended project requires psr/http-message version 2.0 or higher.
Simple Auth uses league/oauth2-server ^8.3 that requires psr/http-message version ^1.0.1. Therefor it is not possible to install the module.
Here is PR on github for changing version of http-message package https://github.com/thephpleague/oauth2-server/pull/1339 but it is not merged yet.

Steps to reproduce

Try to install Drupal 10.1.0-beta with drupal/core-recommended project.
Try to install Simple Oauth module.

Proposed resolution

Unknown. But for now the workaround composer require psr/http-message:"1.1 as 2.0" as according to this PR https://github.com/php-fig/http-message/pull/106/files there are no functional changes in the package.

PSR-7 note about the 2.0 change - https://www.php-fig.org/psr/psr-7/meta/#72-type-additions

Remaining tasks

Collaborate with league maintainers and drupal/core-recommended?

The issue was created mostly to warn others who will have the same problem

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

Fixed

Version

6.0

Component

Code

Created by

🇩🇪Germany a.dmitriiev

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

Comments & Activities

Production build 0.71.5 2024