Closed d-mart closed 7 years ago
~Seems phoenix won't accept a 3.x
Poison~, and there is probably a large overlap in user-base (certainly there is for my use case 😜 ). I will probably split this PR and hold off on the Poison
parts.
Any way we could support poison 2.x and 3.x? maybe {:poison, "~>2.0 or ~>3.0 "}
Yes. It also looks like phoenix has that very dep version description coming in 1.3.0-rcX
.
All the ()
turds make me 😢.
Can we get a Travis build with the old and new versions of poison to make sure we don't break compatibility going forward.
Sure! I can also pull the ()
commit, but seems to be the way things are going, and the warning spam could hide more legit problems.
Don't pull that commit. I am sad that elixir is going to require parens but that doesn't change anything.
On Jun 30, 2017 5:08 PM, "David Martinez" notifications@github.com wrote:
Sure! I can also pull the () commit, but seems to be the way things are going, and the warning spam could hide more legit problems.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pezra/exhal/pull/51#issuecomment-312391237, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAQGt_3WEg9uT10YxMTwAfnmXI4lkIqks5sJX_6gaJpZM4OF7V2 .
I added some code in mix.exs
to look for patterned environment variables to force deps (i.e. :poison
) versions. I did this instead of having different mix-$WHATEVER.exs
files so that there is still Just Oneâ„¢ list of deps to edit. This way, for most use cases, the fact that Travis can test multiple dep versions is hidden (other than some extra defp ...
at the bottom of the file).
I force-pushed a small change and it seems to have slipped thru Travis's fingers. Closing and re-opening to force a rebuild. brb
any more changes needed for this PR?
released as 5.3
HTTPoison
was pinned to an old version that is pinned to a deprecated version ofhackney
(~1.6
)Poison
has had a major-version release; it now returns a 3-tuple error in certain cases. Thecase
around this call has been bolstered to handle the additional format:2.x
and3.x