- Issue created by @Striknin
- Status changed to Postponed: needs info
12 months ago 9:31am 12 December 2023 - 🇪🇸Spain rodrigoaguilera Barcelona
I think this is due to https://www.drupal.org/project/hook_event_dispatcher → not having a 4.0 stable release.
can you try "composer req drupal/hook_event_dispatcher:^4@rc" before requiring libraries_provider? - 🇫🇷France Striknin Lyon
Hi !
I already tried this, I doesn't work.
I tried :- composer req drupal/hook_event_dispatcher:^4@rc
- composer require 'drupal/libraries_provider:^2.0'
And also with "--with-all-dependencies".
But, you're right ! It's due to hook_event_dispatcher. In my composer.json, I've set minimum-stability to dev and install is successfull.
- Status changed to Closed: works as designed
12 months ago 10:23am 12 December 2023 - 🇪🇸Spain rodrigoaguilera Barcelona
I think that is due to hook_event_dispatcher having many packages like drupal/core_event_dispatcher. All those need to be required explicitly when the minimum stability is set to stable.
- 🇦🇺Australia interlated
I see
"upstreamable/jsdelivr-api-client": "^1",
Which unless you downgrade (-W)
- Downgrading psr/http-message (2.0 => 1.1):
results in an odd conflict message
> composer require 'drupal/libraries_provider:^2.0'
drupal/libraries_provider 2.0.0 requires drupal/hook_event_dispatcher ^2 -> found drupal/hook_event_dispatcher[2.0.0, ..., 2.5.0] but it conflicts with your root composer.json require (^4.0@RC).
- 🇪🇸Spain rodrigoaguilera Barcelona
I see there might be a problem with another package that requires psr/http-message in version 2.
Can you post the output of "composer why psr/http-message"?
Anyway this would be a problem upstream, so far I don't know how we can workaround that in the drupal module.
- 🇦🇺Australia interlated
composer why psr/http-message
guzzlehttp/psr7 2.6.2 requires psr/http-message (^1.1 || ^2.0)
php-http/httplug 2.4.0 requires psr/http-message (^1.0 || ^2.0)
php-http/message 1.16.0 requires psr/http-message (^1.1 || ^2.0)
php-http/message-factory 1.1.0 requires psr/http-message (^1.0 || ^2.0)
psr/http-client 1.0.3 requires psr/http-message (^1.0 || ^2.0)
psr/http-factory 1.0.2 requires psr/http-message (^1.0 || ^2.0)
symfony/psr-http-message-bridge v6.4.2 requires psr/http-message (^1.0|^2.0)
upstreamable/jsdelivr-api-client 1.0.1 requires psr/http-message (^1.0) - Status changed to Postponed
10 months ago 11:27pm 28 January 2024 - 🇪🇸Spain rodrigoaguilera Barcelona
Thanks for the info. It made clear that the problem was upstreamable/jsdelivr-api-client
I released the version 1.0.2 that accepts psr/http-message ^2 as a dependency.This should get us closer to an easier install
I'm reopening because of hook_event_dispatcher not having a stable version yet and that makes this module difficult to install. I accept patches to remove the dependency.