Skip to content
This repository has been archived by the owner on Sep 14, 2019. It is now read-only.

Your requirements could not be resolved to an installable set of packages #18

Open
sam452 opened this issue Feb 24, 2016 · 5 comments
Open

Comments

@sam452
Copy link

sam452 commented Feb 24, 2016

First-time Laravel 5 user here and it appears that there is a conflict with another library that uses Guzzle?

Problem 1
    - Conclusion: don't install rossedman/teamwork v1.0.5
    - Conclusion: don't install rossedman/teamwork v1.0.3
    - Conclusion: don't install rossedman/teamwork v1.0.4
    - Conclusion: remove guzzlehttp/guzzle 6.1.1
    - Conclusion: don't install rossedman/teamwork v1.0.2
    - Conclusion: don't install rossedman/teamwork v1.0.1
    - Conclusion: don't install guzzlehttp/guzzle 6.1.1
    - Conclusion: don't install guzzlehttp/guzzle 5.2.0|install guzzlehttp/guzzle 6.1.1
    - Installation request for huddledigital/zendesk-laravel ~2.0 -> satisfiable by huddledigital/zendesk-laravel[v2.0].
    - Installation request for rossedman/teamwork ~1.0 -> satisfiable by rossedman/teamwork[v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5].
    - jeroen-g/laravel-packager dev-master requires guzzlehttp/guzzle ~6.0 -> satisfiable by guzzlehttp/guzzle[6.1.1, 6.0.0, 6.0.1, 6.0.2, 6.1.0, 6.2.x-dev].
    - jeroen-g/laravel-packager dev-master requires guzzlehttp/guzzle ~6.0 -> satisfiable by guzzlehttp/guzzle[6.1.1, 6.0.0, 6.0.1, 6.0.2, 6.1.0, 6.2.x-dev].
    - Can only install one of: guzzlehttp/guzzle[6.0.0, 5.3.x-dev].
    - Can only install one of: guzzlehttp/guzzle[6.0.1, 5.3.x-dev].
    - Can only install one of: guzzlehttp/guzzle[6.0.2, 5.3.x-dev].
    - Can only install one of: guzzlehttp/guzzle[6.1.0, 5.3.x-dev].
    - Can only install one of: guzzlehttp/guzzle[6.2.x-dev, 5.3.x-dev].
    - rossedman/teamwork v1.0.0 requires guzzlehttp/guzzle ~5.2 -> satisfiable by guzzlehttp/guzzle[5.2.0, 5.3.0, 5.3.x-dev].
    - Conclusion: don't install guzzlehttp/guzzle 5.3.0|install guzzlehttp/guzzle 6.1.1
    - Installation request for jeroen-g/laravel-packager dev-master -> satisfiable by jeroen-g/laravel-packager[dev-master].

I guess my Q is could your library use the guzzlehttp version 6.0? Or check the jeroen-g/laravel-packager to see if it can be downgraded to an earlier version? unsure which way to go here.

@rossedman
Copy link
Owner

@sam452 Yikes! Looks like I need to bump the Guzzle version and see if it still works. I will see what I can do about this. Are you requiring Guzzle 6 for something else? Can you put your composer.json file up here? Just the dependencies is fine.

@sam452
Copy link
Author

sam452 commented Feb 25, 2016

Yes, happy to share this. This is a greenfield project, so I am unsure if I need Guzzle 6 for something else.

{
    "name": "sroutier/laravel-5.1-enterprise-starter-kit",
    "description": "A Starter project based on Laravel 5.1 with theme support, optional LDAP/AD authentication, dynamic route authorization, etc...",
    "keywords": [
      "framework",
      "laravel",
      "starter kit",
      "template",
      "theme",
      "LDAP",
      "Active Directory"
    ],
    "homepage": "https://github.com/sroutier/laravel-5.1-enterprise-starter-kit",
    "license": "GPLv3",
    "authors": [
      {
        "name": "Sebastien Routier",
        "email": "[email protected]"
      }
    ],
    "type": "project",
    "repositories": [
      {
        "type": "vcs",
        "url": "https://github.com/sroutier/laravel-5.1-enterprise-starter-kit"
      }
    ],
    "require": {
        "php": ">=5.5.9",
        "laravel/framework": "5.1.*",
        "doctrine/dbal": "^2.6@dev",
        "laravelcollective/html": "~5.0",
        "yaap/theme": "dev-laravel-5.1",
        "barryvdh/laravel-ide-helper": "^2.0@dev",
        "barryvdh/laravel-debugbar": "^2.0@dev",
        "laracasts/flash": "~1.3",
        "zizaco/entrust": "dev-laravel-5",
        "bosnadev/repositories": "0.*",
        "sroutier/eloquent-ldap": "^1.0@dev",
        "zofe/rapyd": "2.1.*",
        "baum/baum": "~1.1",
        "huddledigital/zendesk-laravel": "~2.0",
        "rossedman/teamwork": "~1.0"
    },
    "require-dev": {
        "fzaninotto/faker": "~1.4",
        "mockery/mockery": "0.9.*",
        "phpunit/phpunit": "~4.0",
        "phpspec/phpspec": "~2.1",
        "jeroen-g/laravel-packager": "dev-master",
        "libern/laravel-sql-logging": "^1.0@dev"
    },
    "autoload": {
        "classmap": [
            "database"
        ],
        "psr-4": {
            "App\\": "app/"
        }
    },
    "autoload-dev": {
        "classmap": [
            "tests/TestCase.php"
        ]
    },
    "scripts": {
        "post-install-cmd": [
            "php artisan clear-compiled",
            "php artisan optimize"
        ],
        "post-update-cmd": [
            "php artisan clear-compiled",
            "php artisan ide-helper:generate",
            "php artisan optimize"
        ],
        "post-root-package-install": [
            "php -r \"copy('.env.example', '.env');\""
        ],
        "post-create-project-cmd": [
            "php artisan key:generate"
        ]
    },
    "config": {
        "preferred-install": "dist"
    },
    "minimum-stability": "dev",
    "prefer-stable": true
}

@rossedman
Copy link
Owner

@sam452 Thanks a lot. I need to dig into this. I need to update the package to a Guzzle 6 implementation anyways, and honestly need to make it swappable at some point too. That would probably be best with different adapters so you can manage it how you need to. Might take me a little bit because I am going out of town and starting a new job but I will try to get a solution for you.

@jhnferraris
Copy link

No news yet on Bumping Guzzle version to 6? I tried forking this repo and bumping the version but they are not compatible anymore. hehe

@idchlife
Copy link

Hey guys, my issue relates to kinda-same problem. Is there info what to do when your custom package uses guzzle version same as another vendor package? Funny thing that they cannot use same version, both of packages. I'm wondering why is this even a problem in composer.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants