dizda / CloudBackupBundle

Be able to backup your database(s) and upload it to the cloud (Dropbox, Amazon S3, GoogleDrive, etc.)
MIT License
196 stars 57 forks source link

Symfony 2.7.* locked at psr/log 1.0.0 #125

Closed matudelatower closed 7 years ago

matudelatower commented 7 years ago

im using symfony 2.7.* and try to require composer require dizda/cloud-backup-bundle

and

captura de pantalla 2017-03-04 a las 13 48 48

i try to use version 3.5.0

Nyholm commented 7 years ago

I guess you have psr/log: 1.0.0 in your composer.json. Make sure it says psr/log: ^1.0

matudelatower commented 7 years ago

@Nyholm no, but component symfony/symfony have in require "psr/log": "~1.0" and they deps components too.

Nyholm commented 7 years ago

Some of your dependencies or their dependencies are requiring psr/log: 1.0.0 instead of psr/log: ^1.0 or psr/log: ~1.0.

That package is doing things wrong. You should make a PR to that package to fix the issue. Im happy to help you with the other package, but this issue is not related to CloudBackupBundle.

matudelatower commented 7 years ago

Maybe changing your package.json in "psr/log": "^1.0.1" to "psr/log": "^1.0.0" would also be compatible with symfony 2.7.* since I do not demand in my package.json

see https://github.com/symfony/symfony/blob/v2.7.18/composer.json#L25

Nyholm commented 7 years ago

That does not make any sense Im afraid.

Like I said, your app or any of its dependencies have locked on psr/log: 1.0.0. Which means that your app or any of its dependencies do not support psr/log: 1.0.1 which is what composer is telling you.

Search your composer.lock file for "psr/log" and you will see what dependency that is creating this issue for you.