Composer require fails due to Google dependency
chris-rs opened this issue · 2 comments
chris-rs commented
Hi,
Looks like a promising package. I would like to use the Kafka connector, but I failed to install this package due to some weird Google api dependency:
composer require superbalist/laravel-pubsub
Using version ^2.0 for superbalist/laravel-pubsub
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for superbalist/laravel-pubsub ^2.0 -> satisfiable by superbalist/laravel-pubsub[2.0.0].
- superbalist/laravel-pubsub 2.0.0 requires superbalist/php-pubsub-google-cloud ^2.0 -> satisfiable by superbalist/php-pubsub-google-cloud[2.0.0, 2.0.1].
- superbalist/php-pubsub-google-cloud 2.0.0 requires google/cloud ^0.7.0|^0.8.0|^0.9.0 -> satisfiable by google/cloud[v0.7.0, v0.7.1, v0.8.0, v0.9.0].
- superbalist/php-pubsub-google-cloud 2.0.1 requires google/cloud ^0.7.0|^0.8.0|^0.9.0 -> satisfiable by google/cloud[v0.7.0, v0.7.1, v0.8.0, v0.9.0].
- google/cloud v0.7.0 requires google/auth 0.10 -> satisfiable by google/auth[v0.10].
- google/cloud v0.7.1 requires google/auth 0.10 -> satisfiable by google/auth[v0.10].
- google/cloud v0.8.0 requires google/auth 0.10 -> satisfiable by google/auth[v0.10].
- google/cloud v0.9.0 requires google/auth 0.10 -> satisfiable by google/auth[v0.10].
- Conclusion: don't install google/auth v0.10
Installation failed, reverting ./composer.json to its original content.
Hope you are able to fix this. In my case I don't even use the Google dependencies.
Regards
matthewgoslett commented
Hey
In your project directory, can you type
composer depend google/auth
composer depend google/cloud
and paste the output:
matthewgoslett commented
I've made a few changes to the down-stream packages to widen support for the google/cloud package.
Can you try again and let me know if this is resolved?
Thanks