nao-pon / flysystem-google-drive

Flysystem adapter for Google Drive
MIT License
350 stars 127 forks source link

Update guzzle psr7 to ^2.0 so it can be installed with Laravel 8 #103

Open muckypuddle-nick opened 3 years ago

muckypuddle-nick commented 3 years ago

Hello!

Thanks for your work on this!!!

Getting the following error when trying to install on Laravel 8:

- nao-pon/flysystem-google-drive[dev-master, 1.1.2, ..., 1.1.13] require google/apiclient ^2.0 -> satisfiable by google/apiclient[v2.0.0-RC1, ..., 2.x-dev (alias of dev-master)].
    - nao-pon/flysystem-google-drive[1.1.0, ..., 1.1.1] require google/apiclient ^2.0@dev -> satisfiable by google/apiclient[v2.0.0-RC1, ..., 2.x-dev (alias of dev-master)].
    - google/apiclient 2.x-dev is an alias of google/apiclient dev-master and thus requires it to be installed too.
    - google/apiclient[dev-master, v2.9.0, ..., v2.10.1] require guzzlehttp/psr7 ^1.2 -> found guzzlehttp/psr7[1.2.0, ..., 1.x-dev] but the package is fixed to 2.0.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.
    - google/apiclient[v2.0.0-RC1, ..., v2.2.4] require monolog/monolog ^1.17 -> found monolog/monolog[1.17.0, ..., 1.x-dev] but the package is fixed to 2.3.4 (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.
    - google/apiclient[v2.3.0, ..., v2.8.3] require phpseclib/phpseclib ~0.3.10||~2.0 -> found phpseclib/phpseclib[0.3.10, 2.0.0, ..., 2.0.x-dev] but the package is fixed to 3.0.10 (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.
    - nao-pon/flysystem-google-drive 1.1.x-dev is an alias of nao-pon/flysystem-google-drive dev-master and thus requires it to be installed too.
    - Root composer.json requires nao-pon/flysystem-google-drive ~1.1 -> satisfiable by nao-pon/flysystem-google-drive[1.1.0, ..., 1.1.x-dev (alias of dev-master)].

I guess updating to guzzlehttp/psr7 will fix the issue on Laravel 8

PaolaRuby commented 3 years ago

Without support, but make a pull request to try I'm using masbug/flysystem-google-drive-ext V1 for laravel 8

muckypuddle-nick commented 3 years ago

@PaolaRuby Thanks! I guess I can downgrade guzzle a bit as a temp solution, just stating that there needs to be an update sooner or later. Is the current repo not actively maintained anymore?

PaolaRuby commented 3 years ago

the author is not replying since 29 Jul 2020

muckypuddle-nick commented 3 years ago

Ahh bummer! Thanks for the heads up!

PaolaRuby commented 3 years ago

Look at this https://github.com/masbug/flysystem-google-drive-ext/pull/39