Update laminas/laminas-feed to at least 2.22.0

Created on 5 January 2024, 12 months ago
Updated 22 March 2024, 9 months ago

Problem/Motivation

Currently, Feeds requires "laminas/laminas-feed": "^2.13";. This version is not compatible with PHP 8.3 (released recently). I've been seeing signs of greatly improved performance with PHP 8.3, so hoping to be able to upgrade my site, but I'm blocked by this dependency.

Steps to reproduce

Try to composer update in a PHP 8.3 environment.

Proposed resolution

Version 2.22.0 or greater is compatible with PHP 8.3: https://packagist.org/packages/laminas/laminas-feed#2.22.0. Change composer.json to
"laminas/laminas-feed": "^2.22"; and then test.

Feature request
Status

Closed: works as designed

Version

3.0

Component

Code

Created by

🇺🇸United States andileco

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

Merge Requests

Comments & Activities

  • Issue created by @andileco
  • Merge request !151Update composer.json → (Open) created by andileco
  • Open in Jenkins → Open on Drupal.org →
    Core: 9.5.5 + Environment: PHP 7.4 & MySQL 5.7
    last update 12 months ago
    Composer require failure
  • Open in Jenkins → Open on Drupal.org →
    Core: 9.5.5 + Environment: PHP 7.4 & MySQL 5.7
    last update 12 months ago
    Composer require failure
  • Open in Jenkins → Open on Drupal.org →
    Core: 9.5.5 + Environment: PHP 7.4 & MySQL 5.7
    last update 12 months ago
    Composer require failure
  • Open in Jenkins → Open on Drupal.org →
    Core: 9.5.5 + Environment: PHP 7.4 & MySQL 5.7
    last update 12 months ago
    Composer require failure
  • Open in Jenkins → Open on Drupal.org →
    Core: 9.5.5 + Environment: PHP 7.4 & MySQL 5.7
    last update 12 months ago
    Composer require failure
  • Status changed to Postponed: needs info 12 months ago
  • 🇳🇱Netherlands megachriz

    I wonder why requiring ^2.22 is needed 🤔. If you require "laminas/laminas-feed": "^2.22" and "php": "^8.3" in your site's composer.json then I suppose Composer should pick version 2.22 of "laminas/laminas-feed"? Because "laminas/laminas-feed": "^2.13" should allow 2.22 to be installed or not?

    I do know there is (or was) a dependency conflict with drupal/upgrade_status:^4.0, starting from PHP 8.2. Sometime ago I noticed that when you used Upgrade Status on PHP 8.2, it installed outdated dependencies that are not compatible with "laminas/laminas-feed": "^2.22". I'm not sure if that is still the case, but if it is, then an issue for that need to be created for the Upgrade Status module.
    See also laminas-feed prevent installation with PHP 8.2 Closed: works as designed .

  • 🇫🇮Finland anaconda777

    I have same problem, but was able to go around it by installing PHP 8.1 to linux and PHP 8.3 for Drupal 10.2 so the composer runs with PHP 8.1 and site works with PHP 8.3.

    Anyway that is not any kind of fix, and when I try to require 2.22"

    composer require "laminas/laminas-feed": "^2.22"
    Could not find package ^2.22.
    Pick one of these or leave empty to abort:
    [0] m-michalis/boxnow-api
    [1] slis/tanss-php-adapter
    [2] karavasilev/cryptomanana
    [3] martinezart87/laravel-sql-server-custom-connector

  • Status changed to Closed: works as designed 9 months ago
  • 🇳🇱Netherlands megachriz

    I see that in 📌 Composer conflict prevents search_api_solr to be installed Active Upgrade Status no longer depends on laminas/laminas-servicemanager (at least that is how read that issue), so I assume that makes this issue to be fixed as well.

    Feel free to reopen if this appears to be still an issue.

Production build 0.71.5 2024