-
Notifications
You must be signed in to change notification settings - Fork 295
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
guzzlehttp/guzzle v6+ support in composer #223
Comments
Hi, Any updates please? Thanks. |
We choose to use Guzzle 5 is because support for PHP 5.4. More info: /~https://github.com/guzzle/guzzle#version-guidance |
@ivankristianto: Can I ask to reconsider this decision? Wordpress requires PHP 5.6. since the release of WordPress 5 and over more than 90% of the WordPress users are using PHP 5.5+. |
I have been trying to use Out-Of-Box Dropbox Plugin for Wordpress and ran into problems, we worked out the problem is related to Guzzle and the version you are using. https://www.wpcloudplugins.com/plugins/out-of-the-box-wordpress-plugin-for-dropbox/ I think the developer of this plugin will be in touch as well :) but i am a customer of Out Of Box and having to stop using SiteKit for now :( |
A quick solution you can do currently is recompile from the source and make the PHP minimum version to PHP 5.6. re: considering to up the minimum PHP support version, I defer it to @felixarntz or @ThierryA |
If we bump to Guzzle 6 there will just be problems with plugins that use Guzzle 5. |
That's kind of a silly argument. "Let's not modernize and support a growing set of people because of another, shrinking set of people." |
@archon810 See my previous comment on an alternative solution:
|
We're now tracking work on this in #612. |
We just merged the work on #612, so this should be fixed in the upcoming release. |
This should be fixed in the latest rc.2 - please reopen if you still encounter issues with this. |
@felixarntz The composer method still doesn't work for us though because it still requires 5.3.3. /~https://github.com/google/site-kit-wp/blob/1.0.0/composer.json#L18 |
@archon810 I don't think we'll switch to Guzzle 6.x anytime soon because of the change in PHP version requirement. A possible workaround would be to require Site Kit 1.0.0 from WordPress.org via https://wpackagist.org/. Can you give that a try? |
Just saw /~https://github.com/google/site-kit-wp/releases/tag/1.3.0 which says the minimum version of PHP is now 5.6. Does it resolve this issue then? @swissspidy @ivankristianto |
@archon810 I opened a new issue #1146 to discuss this again. But due to the scoping that is now in place, you should be fine with using something like |
Hi, we currently use
league/oauth2-client 2.4.1
which requiresguzzlehttp/guzzle ^6.0
, but this plugin requiresguzzlehttp/guzzle ~5.3.3
and both 5 and 6 cannot be installed together.Is there a way the plugin can switch to v6.0+, or otherwise relax the restriction?
The text was updated successfully, but these errors were encountered: