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

Unable to resolved to stable Geocoder PHP 3.0 #438

Closed
crynobone opened this issue Jun 30, 2015 · 9 comments
Closed

Unable to resolved to stable Geocoder PHP 3.0 #438

crynobone opened this issue Jun 30, 2015 · 9 comments
Labels

Comments

@crynobone
Copy link

I have an application that utilise GuzzleHttp ~6.0 and due to how Geocoder depends on egeloen/http-adapter=0.7.* it unable to resolved to a stable 3.0.0 but instead get one of the alpha.

katsana git:master ✓ composer show -i willdurand/geocoder
name     : willdurand/geocoder
descrip. : The almost missing Geocoder PHP 5.4 library.
keywords : abstraction, geocoder, geocoding, geoip
versions : * v3.0.0-alpha2
type     : library
license  : MIT License (MIT) (OSI approved) http://spdx.org/licenses/MIT#licenseText
source   : [git] https://github.com/geocoder-php/Geocoder.git 88a859af3fd49144505466d5636ac0aadccbe201
dist     : [zip] https://api.github.com/repos/geocoder-php/Geocoder/zipball/88a859af3fd49144505466d5636ac0aadccbe201 88a859af3fd49144505466d5636ac0aadccbe201
names    : willdurand/geocoder

autoload
psr-0
Geocoder => src/

requires
egeloen/http-adapter ~0.1
igorw/get-in ~1.0
php >=5.4.0

requires (dev)
geoip2/geoip2 ~0.6
symfony/stopwatch ~2.5

I seem that egeloen/http-adapter 0.8 plans to support GuzzleHttp ~6.0 but not sure how they planning forward now with egeloen/ivory-http-adapter#104

@willdurand
Copy link
Member

ping @egeloen

@willdurand willdurand added the bug label Jun 30, 2015
@jenssegers
Copy link

Any updates on this? :(

@willdurand
Copy link
Member

not yet

@mnabialek
Copy link

@willdurand I have the same problem. When I try to use Laravel AWS-S3 (required by Laravel 5.1 for Amazon S3 - in Laravel 5.0 AWS-S2 was required):

"league/flysystem-aws-s3-v3": "~1.0",

and

"willdurand/geocoder": "~3.0@dev".

I'm getting error as below (I believe this is also connected egeloen v 0.7 which geocoder uses):

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

  Problem 1
    - willdurand/geocoder v3.0.0 requires egeloen/http-adapter 0.7.* -> satisfiable by egeloen/http-adapter[0.7.0, 0.7.1].
    - willdurand/geocoder 3.1.x-dev requires egeloen/http-adapter 0.7.* -> satisfiable by egeloen/http-adapter[0.7.0, 0.7.1].
    - Conclusion: don't install egeloen/http-adapter 0.7.1
    - egeloen/http-adapter 0.7.0 requires phly/http dev-header-case-sensitivity as 0.11.x-dev -> no matching package found.
    - Conclusion: remove league/flysystem-aws-s3-v3 1.0.4
    - Conclusion: don't install league/flysystem-aws-s3-v3 1.0.4
    - Conclusion: don't install league/flysystem-aws-s3-v3 1.0.3
    - Conclusion: don't install league/flysystem-aws-s3-v3 1.0.2
    - Conclusion: don't install league/flysystem-aws-s3-v3 1.0.1
    - Conclusion: remove aws/aws-sdk-php 3.2.1
    - willdurand/geocoder v3.0.0-alpha3 requires egeloen/http-adapter 0.5.* -> satisfiable by egeloen/http-adapter[0.5.0].
    - Conclusion: don't install egeloen/http-adapter 0.5.0
    - Conclusion: don't install aws/aws-sdk-php 3.2.1
    - Conclusion: don't install willdurand/geocoder v3.0.0-alpha2
    - Conclusion: don't install aws/aws-sdk-php 3.2.0
    - Installation request for league/flysystem-aws-s3-v3 ~1.0 -> satisfiable by league/flysystem-aws-s3-v3[1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4].
    - Installation request for willdurand/geocoder ~3.0@dev -> satisfiable by willdurand/geocoder[3.1.x-dev, v3.0.0, v3.0.0-alpha1, v3.0.0-alpha2, v3.0.0-alpha3].
    - willdurand/geocoder v3.0.0-alpha1 requires egeloen/http-adapter ~0.1 -> satisfiable by egeloen/http-adapter[0.1.0, 0.1.1, 0.1.2, 0.2.0, 0.3.0, 0.4.0, 0.5.0, 0.6.0, 0.7.0, 0.7.1].
    - egeloen/http-adapter 0.2.0 requires psr/http-message ~0.2.0 -> satisfiable by psr/http-message[0.2.0].
    - egeloen/http-adapter 0.1.0 requires psr/http-message 0.1.0 -> satisfiable by psr/http-message[0.1.0].
    - egeloen/http-adapter 0.1.1 requires psr/http-message ~0.1.0 -> satisfiable by psr/http-message[0.1.0].
    - egeloen/http-adapter 0.1.2 requires psr/http-message ~0.1.0 -> satisfiable by psr/http-message[0.1.0].
    - egeloen/http-adapter 0.3.0 requires psr/http-message ~0.3.0 -> satisfiable by psr/http-message[0.3.0].
    - Conclusion: don't install guzzlehttp/psr7 1.0.0|don't install psr/http-message 0.2.0
    - Conclusion: don't install guzzlehttp/psr7 1.0.0|don't install psr/http-message 0.1.0
    - Conclusion: don't install aws/aws-sdk-php 3.0.0|don't install psr/http-message 0.3.0|keep guzzlehttp/psr7 1.1.0
    - aws/aws-sdk-php 3.0.0 requires guzzlehttp/psr7 ^1.0.0 -> satisfiable by guzzlehttp/psr7[1.1.0, 1.0.0].
    - Conclusion: don't install willdurand/geocoder v3.0.0-alpha1|remove guzzlehttp/psr7 1.1.0|install egeloen/http-adapter 0.4.0|install egeloen/http-adapter 0.5.0|install egeloen/http-adapter 0.6.0
    - Conclusion: don't install willdurand/geocoder v3.0.0-alpha1|don't install guzzlehttp/psr7 1.1.0|install egeloen/http-adapter 0.4.0|install egeloen/http-adapter 0.5.0|install egeloen/http-adapter 0.6.0
    - egeloen/http-adapter 0.6.0 requires psr/http-message ~0.5.0 -> satisfiable by psr/http-message[0.5.0, 0.5.1].
    - egeloen/http-adapter 0.4.0 requires psr/http-message ~0.4.0 -> satisfiable by psr/http-message[0.4.0].
    - Conclusion: don't install aws/aws-sdk-php 3.0.0|don't install psr/http-message 0.5.0
    - Conclusion: don't install aws/aws-sdk-php 3.0.0|don't install psr/http-message 0.4.0
    - league/flysystem-aws-s3-v3 1.0.0 requires aws/aws-sdk-php 3.*@dev -> satisfiable by aws/aws-sdk-php[3.2.1, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.0.6, 3.0.7, 3.1.0, 3.2.0].
    - Conclusion: don't install willdurand/geocoder v3.0.0-alpha1|don't install aws/aws-sdk-php 3.0.1|install psr/http-message 0.5.1|install egeloen/http-adapter 0.5.0
    - Conclusion: don't install willdurand/geocoder v3.0.0-alpha1|don't install aws/aws-sdk-php 3.0.2|install psr/http-message 0.5.1|install egeloen/http-adapter 0.5.0
    - Conclusion: don't install willdurand/geocoder v3.0.0-alpha1|don't install aws/aws-sdk-php 3.0.3|install psr/http-message 0.5.1|install egeloen/http-adapter 0.5.0
    - Conclusion: don't install willdurand/geocoder v3.0.0-alpha1|don't install aws/aws-sdk-php 3.0.4|install psr/http-message 0.5.1|install egeloen/http-adapter 0.5.0
    - Conclusion: don't install willdurand/geocoder v3.0.0-alpha1|don't install aws/aws-sdk-php 3.0.5|install psr/http-message 0.5.1|install egeloen/http-adapter 0.5.0
    - Conclusion: don't install willdurand/geocoder v3.0.0-alpha1|don't install aws/aws-sdk-php 3.0.6|install psr/http-message 0.5.1|install egeloen/http-adapter 0.5.0
    - Conclusion: don't install willdurand/geocoder v3.0.0-alpha1|don't install aws/aws-sdk-php 3.0.7|install psr/http-message 0.5.1|install egeloen/http-adapter 0.5.0
    - Conclusion: don't install willdurand/geocoder v3.0.0-alpha1|don't install aws/aws-sdk-php 3.1.0|install psr/http-message 0.5.1|install egeloen/http-adapter 0.5.0
    - Conclusion: don't install psr/http-message 0.5.1

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

Is there any chance for quick fix for that? I'm using Laravel 5.1 but I also want to use your package :)

@willdurand
Copy link
Member

The issue is that, by now, there is no adapter for Guzzle 6 in the http-adapter lib...

@crynobone
Copy link
Author

@willdurand http-adapter has release v0.8.0 with Guzzle 6 support. Can you please increment the dependency to support it and tag a version.

Thanks.

@willdurand
Copy link
Member

of course :)

@willdurand
Copy link
Member

v3.1.0 is out!

@crynobone
Copy link
Author

Awesome... thank you

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

No branches or pull requests

4 participants