Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

composer won't install dependencies #8

Closed
nekromoff opened this issue Dec 18, 2018 · 3 comments
Closed

composer won't install dependencies #8

nekromoff opened this issue Dec 18, 2018 · 3 comments

Comments

@nekromoff
Copy link

Using version ^1.7 for php-http/curl-client
Using version ^1.5 for guzzlehttp/psr7
./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
- Conclusion: don't install php-http/curl-client v1.7.1
- Conclusion: don't install php-http/curl-client v1.7.0|remove php-http/httplug v2.0.0
- Conclusion: don't install php-http/curl-client v1.7.0|don't install php-http/httplug v2.0.0
- Installation request for php-http/curl-client ^1.7 -> satisfiable by php-http/curl-client[v1.7.0, v1.7.1].
- php-http/curl-client v1.7.0 requires php-http/httplug ^1.0 -> satisfiable by php-http/httplug[v1.0.0, v1.1.0].
- Can only install one of: php-http/httplug[v1.0.0, v2.0.0].
- Can only install one of: php-http/httplug[v1.1.0, v2.0.0].
- Installation request for php-http/httplug (locked at v2.0.0) -> satisfiable by php-http/httplug[v2.0.0].

Installation failed, reverting ./composer.json to its original content.

@damienalexandre
Copy link
Member

That may be because we require Httplug 1.7:

"php-http/client-common": "^1.7"

HTTPlug 2 is not yet released: https://packagist.org/packages/php-http/client-common#1.8.2

Why do you have HTTPlug 2? Are you testing it? Could you show your composer.json file?

@simontuck
Copy link

Same issue. HTTPlug 2 has been released (https://github.com/php-http/httplug/releases). I require php-http/curl-client which requires php-http/httplug ^2.0

@pyrech
Copy link
Member

pyrech commented Mar 10, 2019

Support for HTTPlug 2 has just been released in v1.1.1.
Enjoy 🎉

xavierlacot added a commit that referenced this issue Aug 4, 2020
xavierlacot added a commit that referenced this issue Aug 4, 2020
damienalexandre added a commit that referenced this issue Aug 5, 2020
…ntaly (#85)

* update the openapi spec to vanilla official Slack spec

* updated the lib to vanilla Slack official spec

* reformated patch #1 and applied it

* regenerated sdk with patch #1

* reformated patch #2 and applied it

* regenerated sdk with patch #2

* reformated patch #3 and applied it

* regenerated sdk with patch #3

* reformated patch #4 and applied it

* regenerated sdk with patch #4

* reformated patch #5 and applied it

* regenerated sdk with patch #5

* reformated patch #6 and applied it

* regenerated sdk with patch #6

* reformated patch #7 and applied it

* regenerated sdk with patch #7

* regenerated sdk with patch #8

* regenerated sdk with patch #8

* removed patch #9 as the original spec has been fixed

* reformated patch #10 and applied it

* regenerated sdk with patch #10

* try to fix tests

* more tests

* revert deprecation notice fix, keep php 7.2 compat

* added commands to maintain the lib and the patches

* dummy generated code change (attributes order only)

* CS fixes

* simplified the json sorting stuff

* removed the requirements on the token

* removed the token requirement in the generated SDK

* tests without the useless token

* fixed documentation links

* more doc links fixing

* Update doc/updating-sdk.md

Co-authored-by: Damien Alexandre <dalexandre@jolicode.com>

* Update doc/updating-sdk.md

Co-authored-by: Damien Alexandre <dalexandre@jolicode.com>

* Update doc/updating-sdk.md

Co-authored-by: Damien Alexandre <dalexandre@jolicode.com>

* Update doc/updating-sdk.md

Co-authored-by: Damien Alexandre <dalexandre@jolicode.com>

Co-authored-by: Damien Alexandre <dalexandre@jolicode.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants