Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
smsalert-mobi opened this issue Jan 23, 2024 · 1 comment
Open

Comments

@smsalert-mobi
Copy link

smsalert-mobi commented Jan 23, 2024

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
- Root composer.json requires laminas/laminas-cache ^3.12 -> satisfiable by laminas/laminas-cache[3.12.0, 3.12.1].
- roave/psr-container-doctrine 4.1.0 requires psr/cache ^2.0.0 || ^3.0.0 -> satisfiable by psr/cache[2.0.0, 3.0.0].
- You can only install one version of a package, so only one of these can be installed: psr/cache[1.0.1, 2.0.0, 3.0.0].
- laminas/laminas-cache[3.12.0, ..., 3.12.1] require psr/cache ^1.0 -> satisfiable by psr/cache[1.0.0, 1.0.1].
- Root composer.json requires roave/psr-container-doctrine ^4.1 -> satisfiable by roave/psr-container-doctrine[4.1.0].

@smsalert-mobi smsalert-mobi added the Bug Something isn't working label Jan 23, 2024
@boesing
Copy link
Member

boesing commented Jan 23, 2024

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 boesing added Feature Request and removed Bug Something isn't working labels Jan 23, 2024
@boesing boesing changed the title laminas/laminas-cache[3.12.0, ..., 3.12.1] require psr/cache ^1.0 Incompatibility of laminas-cache and newer psr/cache versions Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants