laminas / laminas-cache

Caching implementation with a variety of storage options, as well as codified caching strategies for callbacks, classes, and output
https://docs.laminas.dev/laminas-cache/
BSD 3-Clause "New" or "Revised" License
99 stars 51 forks source link

Incompatibility of laminas-cache and newer psr/cache versions #292

Closed smsalert-mobi closed 3 months ago

smsalert-mobi commented 7 months ago

Feature Request

Summary

Can't update roave/psr-container-doctrine because this requires cache 1 and doctrine requires cache 2 or 3, thus preventing upgrade to php 8.3 overall.

Current behavior

composer update Loading composer repositories with package information Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1

boesing commented 7 months ago

there wont be support for newer psr/cache majors in v3 of laminas-cache. There will be v4 of laminas-cache at some point in time which adds support for newer versions of psr/cache. There are no ETAs and there is no current effort in finishing v4 milestone in the near future.

Either replace laminas-cache with something which supports newer psr versions or replace roave doctrine with the doctrine laminas module https://github.com/doctrine/DoctrineORMModule

Thats what I can offer you for now.

boesing commented 3 months ago

Closing this issue as laminas-cache v4 does provide support for psr/cache and psr/simple-cache v2 & v3.