google-auth-library-php: Library incompatible with psr/cache ^3.0
Hello,
I’m running a project (Phpfastcache#v9) that requires psr/cache ^3.0
, which conflict with your constraints: ^1.0|^2.0
So actually I cannot make use of any Google product at all because of this very “central” constraint.
Do you plan to make it compatible with psr/cache ^3.0
?
It’s basically the same interface as previous but with PHP-8 type hint.
This should not break compatibility at all to support it since psr/cache ^3.0
already constraints on php ^8.0
and the interface remains the same.
Thanks.
Environment details
- OS: Win 10 x64
- PHP version: 8.0
- Package name and version: latest
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 17 (8 by maintainers)
Hello, is there any plan to update or provide a new version compatible with psr/cache^3 ?
Thanks in advance.
My bad, just saw that you also updated
google/gax
, everything is fine now, thanks 🎉@Geolim4 this has been resolved in https://github.com/googleapis/gax-php/pull/341
Thanks for pointing this out! I’ve submitted a PR to add support for both v2 and v3 there.
Please see https://github.com/googleapis/google-auth-library-php/pull/364#issue-742424942 for why we cannot support
psr/cache:3
without major considerations.Also, please try getting the repositories which require
psr/cache:^3
to instead requirepsr/cache:^2||^3
, as this would solve the problem for everyone.