laminas-feed prevent installation with PHP 8.2

Created on 30 September 2023, over 1 year ago

Problem/Motivation

If i try to install module with Drupal 10 and PHP 8.2 i get this error

Problem 1
    - Root composer.json requires drupal/feeds ^3.0@beta -> satisfiable by drupal/feeds[3.0.0-beta1, 3.0.0-beta2, 3.0.0-beta3, 3.0.0-beta4].
    - drupal/core-recommended[10.0.0-alpha1, ..., 10.0.0-alpha2] require laminas/laminas-feed 2.16.0 -> satisfiable by laminas/laminas-feed[2.16.0].
    - laminas/laminas-feed 2.16.0 requires php ^7.3 || ~8.0.0 || ~8.1.0 -> your php version (8.2.7) does not satisfy that requirement.
    - Root composer.json requires drupal/upgrade_status ^4.0@alpha -> satisfiable by drupal/upgrade_status[4.0.0-alpha1, 4.0.0].
    - drupal/core-recommended[10.0.0-alpha6, ..., 10.1.x-dev] require psr/container ~2.0.2 -> satisfiable by psr/container[2.0.2, 2.0.x-dev].
    - drupal/core-recommended[10.0.0-alpha3, ..., 10.0.0-alpha5] require psr/container 2.0.2 -> satisfiable by psr/container[2.0.2].
    - Conclusion: don't install psr/container 2.0.2 (conflict analysis result)
    - Root composer.json requires drupal/core-recommended ^10.0 -> satisfiable by drupal/core-recommended[10.0.0-alpha1, ..., 10.1.x-dev].

Steps to reproduce

Install module with composer and PHP 8.2

Feature request
Status

Closed: works as designed

Component

Miscellaneous

Created by

🇮🇹Italy trickfun

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

Comments & Activities

  • Issue created by @trickfun
  • 🇮🇹Italy trickfun

    Sorry it is upgrade_status module.
    Close the ticket.
    Thank you

  • Status changed to Closed: works as designed over 1 year ago
  • 🇳🇱Netherlands megachriz

    Yes, under PHP 8.2 Upgrade Status installs outdated dependencies that are not compatible with the dependencies of Feeds.

    The cause of the issue is actually with laminas/laminas-servicemanager, that is not compatible with psr/container:^2 and Drupal 10 is not compatible with psr/container:^1. So if either if these two would widen their compatibility with psr/container, then we would not have this issue.

Production build 0.71.5 2024