dingtalk icon indicating copy to clipboard operation
dingtalk copied to clipboard

Laravel 8.0 兼容问题

Open WuHuaJi0 opened this issue 5 years ago • 2 comments

在使用laravel8.0,安装这个包,会有依赖问题:

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

  Problem 1
    - Installation request for mingyoung/dingtalk ^2.3.1 -> satisfiable by mingyoung/dingtalk[2.3.1, 2.x-dev].
    - Can only install one of: guzzlehttp/guzzle[7.0.1, 6.5.x-dev].
    - Can only install one of: guzzlehttp/guzzle[7.0.x-dev, 6.5.x-dev].
    - Can only install one of: guzzlehttp/guzzle[7.1.0, 6.5.x-dev].
    - Can only install one of: guzzlehttp/guzzle[7.1.1, 6.5.x-dev].
    - Can only install one of: guzzlehttp/guzzle[7.2.0, 6.5.x-dev].
    - Can only install one of: guzzlehttp/guzzle[7.3.0, 6.5.x-dev].
    - Can only install one of: guzzlehttp/guzzle[7.4.x-dev, 6.5.x-dev].
    - overtrue/http 1.1.3 requires guzzlehttp/guzzle ^6.3 -> satisfiable by guzzlehttp/guzzle[6.5.x-dev].
    - Conclusion: install overtrue/http 1.1.3
    - Installation request for guzzlehttp/guzzle ^7.0.1 -> satisfiable by guzzlehttp/guzzle[7.0.1, 7.0.x-dev, 7.1.0, 7.1.1, 7.2.0, 7.3.0, 7.4.x-dev].

因为easydingtalk中,依赖了 overtrue/http 1.1.3 ; 后者又使用了 "guzzlehttp/guzzle": "^6.3"。

而laravel 8.0 需要使用 "guzzlehttp/guzzle": "^7.0.1"。 所以有冲突,安装不上;

所以请问大佬,为什么在package里面固定依赖 overtrue/http 1.1.3 ?能否方便升级到最新版本,即可解决依赖冲突问题。

WuHuaJi0 avatar Apr 14 '21 04:04 WuHuaJi0

会在 3.x 版本修复哈

mingyoung avatar Apr 18 '21 10:04 mingyoung

好的,期待更新

WuHuaJi0 avatar Apr 20 '21 13:04 WuHuaJi0