rebar3 icon indicating copy to clipboard operation
rebar3 copied to clipboard

Many [r3_hex_http] ... is deprecated in favour of ... messages during compilation and upgrades

Open tothlac opened this issue 8 months ago • 1 comments

When I run for example rebar3 upgrade I have many (sometimes hundreds of these messages:

[r3_hex_http] setting #{http_adapter => Module, http_adapter_config => Map} is deprecated in favour of #{http_adapter => {Module, Map}}
[r3_hex_http] setting #{http_adapter => Module, http_adapter_config => Map} is deprecated in favour of #{http_adapter => {Module, Map}}
[r3_hex_http] setting #{http_adapter => Module, http_adapter_config => Map} is deprecated in favour of #{http_adapter => {Module, Map}}
[r3_hex_http] setting #{http_adapter => Module, http_adapter_config => Map} is deprecated in favour of #{http_adapter => {Module, Map}}
[r3_hex_http] setting #{http_adapter => Module, http_adapter_config => Map} is deprecated in favour of #{http_adapter => {Module, Map}}
[r3_hex_http] setting #{http_adapter => Module, http_adapter_config => Map} is deprecated in favour of #{http_adapter => {Module, Map}}
[r3_hex_http] setting #{http_adapter => Module, http_adapter_config => Map} is deprecated in favour of #{http_adapter => {Module, Map}}
[r3_hex_http] setting #{http_adapter => Module, http_adapter_config => Map} is deprecated in favour of #{http_adapter => {Module, Map}}
[r3_hex_http] setting #{http_adapter => Module, http_adapter_config => Map} is deprecated in favour of #{http_adapter => {Module, Map}}
[r3_hex_http] setting #{http_adapter => Module, http_adapter_config => Map} is deprecated in favour of #{http_adapter => {Module, Map}}
[r3_hex_http] setting #{http_adapter => Module, http_adapter_config => Map} is deprecated in favour of #{http_adapter => {Module, Map}}
[r3_hex_http] setting #{http_adapter => Module, http_adapter_config => Map} is deprecated in favour of #{http_adapter => {Module, Map}}
[r3_hex_http] setting #{http_adapter => Module, http_adapter_config => Map} is deprecated in favour of #{http_adapter => {Module, Map}}
[r3_hex_http] setting #{http_adapter => Module, http_adapter_config => Map} is deprecated in favour of #{http_adapter => {Module, Map}}
[r3_hex_http] setting #{http_adapter => Module, http_adapter_config => Map} is deprecated in favour of #{http_adapter => {Module, Map}}
[r3_hex_http] setting #{http_adapter => Module, http_adapter_config => Map} is deprecated in favour of #{http_adapter => {Module, Map}}
[r3_hex_http] setting #{http_adapter => Module, http_adapter_config => Map} is deprecated in favour of #{http_adapter => {Module, Map}}
[r3_hex_http] setting #{http_adapter => Module, http_adapter_config => Map} is deprecated in favour of #{http_adapter => {Module, Map}}
[r3_hex_http] setting #{http_adapter => Module, http_adapter_config => Map} is deprecated in favour of #{http_adapter => {Module, Map}}
[r3_hex_http] setting #{http_adapter => Module, http_adapter_config => Map} is deprecated in favour of #{http_adapter => {Module, Map}}
[r3_hex_http] setting #{http_adapter => Module, http_adapter_config => Map} is deprecated in favour of #{http_adapter => {Module, Map}}
[r3_hex_http] setting #{http_adapter => Module, http_adapter_config => Map} is deprecated in favour of #{http_adapter => {Module, Map}}
[r3_hex_http] setting #{http_adapter => Module, http_adapter_config => Map} is deprecated in favour of #{http_adapter => {Module, Map}}
[r3_hex_http] setting #{http_adapter => Module, http_adapter_config => Map} is deprecated in favour of #{http_adapter => {Module, Map}}

One of these messages would not be disturbing, but having hundreds of them is not nice looking. I was trying to figure out why do I have these, but I could not find the root cause. Can you help to figure it out?

rebar3 version used : 3.18.0 and 3.22.1

tothlac avatar Oct 12 '23 15:10 tothlac

I do not see the same output when running these commands, even on OTP 26.1.2.

However I know our vendored hex dependencies were old, so I bumped the library version in https://github.com/erlang/rebar3/pull/2838 -- can you see if that helps?

E: it appears the new thing fails on CI but seems to work okay-ish locally, I'll need to debug a few things.

ferd avatar Oct 13 '23 13:10 ferd