I’m trying to upgrade httpoison from 0.11.2
to 1.1.0
and it’s dependencies are changing from hackney ~> 1.8.0
to hackney ~> 1.8
(as reported on here and here) so I don’t understand why I’d get a dependency resolution error when upgrading.
Here is the error I get:
Jasons-MBP-2% mix deps.update httpoison
Resolving Hex dependencies...
Failed to use "hackney" (versions 1.6.3, 1.6.5, 1.7.1, 1.9.0, 1.10.0, 1.10.1, 1.11.0, 1.12.0, 1.12.1) because
ex_aws (version 2.0.2) requires 1.6.3 or 1.6.5 or 1.7.1 or 1.8.6 or ~> 1.9
httpoison (version 0.11.2) requires ~> 1.8.0
timber (version 2.6.1) requires 1.6.3 or 1.6.5 or 1.7.1 or 1.8.6 or ~> 1.9
Failed to use "idna" (versions 5.1.0 and 5.1.1) because
hackney (version 1.8.6) requires 5.0.2
public_suffix (version 0.6.0) requires >= 1.2.0 and < 6.0.0
** (Mix) Hex dependency resolution failed, change the version requirements of your dependencies or unlock them (by using mix deps.update or mix deps.unlock). If you are unable to resolve the conflicts you can try overriding with {:dependency, "~> 1.0", override: true}
Which I don’t understand because I don’t see any conflicts in there. For hackney
version 1.8.6
satisfies ex_aws
, httpoison
, and timber
. Well it will satisfy httpoison
once it is upgraded to 1.1.0
.
For idna
version 5.0.2
satisfies both hackney
and public_suffix
.
Is there something that I’m missing?