geotools icon indicating copy to clipboard operation
geotools copied to clipboard

psr/cache 3 update not possible by hard required cache/array-adapter

Open gskema opened this issue 1 year ago • 3 comments

This package requires cache/array-adapter -> latests version 1.2 of it supports psr/cache 1 || 2. This packages allows psr/cache cache 1 || 2 || 3 but for the reason above it will never be installed.

Also, symfony/contracts ^3.5 supports only psr/cache ^3.0

So essentially it's not possible to have psr/cache 3 right now. Doesn't look like cache/array-adapter new version will be released soon.. Why does this repository require it? I don't see any usages, it could be placed in Composer suggest?

gskema avatar Aug 14 '24 13:08 gskema

Absence of psr/cache v3 creates conflict when e.g. upgrading to Pest v3.

wivaku avatar Sep 10 '24 14:09 wivaku

The same problem!

league/geotools require cache/array-adapter:^1.0 and cache/array-adapter require psr/cache:^1.0||^2.0 but my project fixed psr/cache to 3.0.

d0niek avatar Sep 17 '24 08:09 d0niek

FYI my temp solution is composer.json

{
  "replace": {
     "cache/array-adapter": "*"
  }
}

gskema avatar Sep 17 '24 09:09 gskema

fixed by #193, thanks!

Surfoo avatar Jun 12 '25 20:06 Surfoo