Slamdunk / flysystem-local-cache-proxy

A Flysystem proxy adapter that caches on the fly written and read files
MIT License
1 stars 0 forks source link

Compatibility with league/flysystem v3.x #1

Open vansante opened 2 years ago

vansante commented 2 years ago

I tried installing your cache adapter by running composer require slam/flysystem-local-cache-proxy, but it appears it is only compatible with Flysystem v2. The full output is:

# composer require slam/flysystem-local-cache-proxy         
Using version ^0.1.0 for slam/flysystem-local-cache-proxy
./composer.json has been updated
Running composer update slam/flysystem-local-cache-proxy
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 slam/flysystem-local-cache-proxy ^0.1.0 -> satisfiable by slam/flysystem-local-cache-proxy[v0.1.0].
    - slam/flysystem-local-cache-proxy v0.1.0 requires league/flysystem ^2.3.2 -> found league/flysystem[2.3.2, ..., 2.4.5] but the package is fixed to 3.1.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require slam/flysystem-local-cache-proxy:*" to figure out if any version is installable, or "composer require slam/flysystem-local-cache-proxy:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Is a v3 compatible version possible?

Slamdunk commented 2 years ago

Yes, any pr is welcome