Problem laminas - installation is not possible

Created on 5 July 2023, over 1 year ago

I am using Drupal 10.1 with php8.2 on a new installation but cannot install Feeds because it cannot find dependencies

///////////////
composer require 'drupal/feeds:^3.0@beta'
./composer.json has been updated
Running composer update drupal/feeds
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- laminas/laminas-feed[2.19.0, ..., 2.20.0] require laminas/laminas-servicemanager ^3.14.0 -> satisfiable by laminas/laminas-servicemanager[3.14.0, ..., 3.21.0].
- drupal/feeds[3.0.0-beta1, ..., 3.0.0-beta2] require drupal/core ^8.9 || ^9 -> found drupal/core[8.9.0, ..., 8.9.20, 9.0.0, ..., 9.5.9] but the package is fixed to 10.1.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- laminas/laminas-servicemanager[3.14.0, ..., 3.17.0] require php ~7.4.0 || ~8.0.0 || ~8.1.0 -> your php version (8.2.7) does not satisfy that requirement.
- laminas/laminas-servicemanager[3.18.0, ..., 3.21.0] require psr/container ^1.0 -> found psr/container[1.0.0, 1.1.0, 1.1.1, 1.1.2] but it conflicts with your root composer.json require (^2.0).
- laminas/laminas-feed[2.13.0, ..., 2.14.1] require php ^7.3 || ~8.0.0 -> your php version (8.2.7) does not satisfy that requirement.
- laminas/laminas-feed[2.15.0, ..., 2.17.0] require php ^7.3 || ~8.0.0 || ~8.1.0 -> your php version (8.2.7) does not satisfy that requirement.
- laminas/laminas-feed[2.18.0, ..., 2.18.2] require php ^7.4 || ~8.0.0 || ~8.1.0 -> your php version (8.2.7) does not satisfy that requirement.
- drupal/feeds[3.0.0-beta3, ..., 3.0.0-beta4] require laminas/laminas-feed ^2.13 -> satisfiable by laminas/laminas-feed[2.13.0, ..., 2.20.0].
- 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].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

//////////////

composer update -W
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Generating autoload files
Hardening vendor directory with .htaccess and web.config files.
46 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Cleaning installed packages.
No security vulnerability advisories found

🐛 Bug report
Status

Closed: duplicate

Component

Code

Created by

🇮🇹Italy hopfrog

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

Comments & Activities

  • Issue created by @hopfrog
  • Status changed to Closed: duplicate over 1 year ago
  • 🇳🇱Netherlands megachriz

    There's nothing I currently can do about that. We need to wait for new Laminas releases in order for Feeds to be installable on PHP 8.2. You could try to install Feeds with Composer's flag --ignore-platform-reqs. Or go back to PHP 8.1 for now.

    This problem is being tracked in 📌 Add PHP 8.2 support Fixed already, so closing this as a duplicate.

  • 🇮🇹Italy hopfrog

    OK, thanks

Production build 0.71.5 2024