milktrader / Quandl.jl

Julia api to Quandl open source financial, economic and social datasets
Other
68 stars 31 forks source link

Deprecation warnings #61

Closed milktrader closed 9 years ago

milktrader commented 10 years ago
julia> using Quandl

WARNING: deprecated syntax "[a=>b, ...]" at /Users/Administrator/.julia/v0.4/Requests/src/Requests.jl:31.
Use "Dict(a=>b, ...)" instead.

WARNING: deprecated syntax "(String=>String)[a=>b, ...]" at /Users/Administrator/.julia/v0.4/Requests/src/Requests.jl:34.
Use "Dict{String,String}(a=>b, ...)" instead.

WARNING: deprecated syntax "{a=>b, ...}" at /Users/Administrator/.julia/v0.4/HttpCommon/src/HttpCommon.jl:93.
Use "Dict{Any,Any}(a=>b, ...)" instead.

WARNING: deprecated syntax "[a=>b, ...]" at /Users/Administrator/.julia/v0.4/HttpCommon/src/HttpCommon.jl:109.
Use "Dict(a=>b, ...)" instead.

WARNING: deprecated syntax "(String=>HttpMethodBitmask)[a=>b, ...]" at /Users/Administrator/.julia/v0.4/HttpCommon/src/HttpCommon.jl:116.
Use "Dict{String,HttpMethodBitmask}(a=>b, ...)" instead.

WARNING: deprecated syntax "[a=>b, ...]" at /Users/Administrator/.julia/v0.4/HttpCommon/src/HttpCommon.jl:136.
Use "Dict(a=>b, ...)" instead.

WARNING: deprecated syntax "(String=>String)[a=>b, ...]" at /Users/Administrator/.julia/v0.4/HttpCommon/src/HttpCommon.jl:139.
Use "Dict{String,String}(a=>b, ...)" instead.

WARNING: deprecated syntax "(String=>String)[]" at /Users/Administrator/.julia/v0.4/HttpCommon/src/HttpCommon.jl:155.
Use "Dict{String,String}()" instead.

WARNING: deprecated syntax "{a,b, ...}" at /Users/Administrator/.julia/v0.4/HttpCommon/src/HttpCommon.jl:196.
Use "Any[a,b, ...]" instead.

WARNING: deprecated syntax "{a,b, ...}" at /Users/Administrator/.julia/v0.4/HttpCommon/src/HttpCommon.jl:196.
Use "Any[a,b, ...]" instead.

WARNING: deprecated syntax "{a=>b, ...}" at /Users/Administrator/.julia/v0.4/HttpCommon/src/mimetypes.jl:981.
Use "Dict{Any,Any}(a=>b, ...)" instead.

WARNING: deprecated syntax "{}" at /Users/Administrator/.julia/v0.4/BinDeps/src/BinDeps.jl:103.
Use "[]" instead.

WARNING: deprecated syntax "{}" at /Users/Administrator/.julia/v0.4/BinDeps/src/BinDeps.jl:104.
Use "[]" instead.

WARNING: deprecated syntax "(String=>String)[]" at /Users/Administrator/.julia/v0.4/BinDeps/src/BinDeps.jl:146.
Use "Dict{String,String}()" instead.

WARNING: deprecated syntax "(String=>String)[]" at /Users/Administrator/.julia/v0.4/BinDeps/src/BinDeps.jl:147.
Use "Dict{String,String}()" instead.

WARNING: deprecated syntax "(String=>String)[]" at /Users/Administrator/.julia/v0.4/BinDeps/src/BinDeps.jl:148.
Use "Dict{String,String}()" instead.

WARNING: deprecated syntax "(String=>String)[]" at /Users/Administrator/.julia/v0.4/BinDeps/src/BinDeps.jl:149.
Use "Dict{String,String}()" instead.

WARNING: deprecated syntax "{}" at /Users/Administrator/.julia/v0.4/BinDeps/src/dependencies.jl:87.
Use "[]" instead.

WARNING: deprecated syntax "(Symbol=>Any)[]" at /Users/Administrator/.julia/v0.4/BinDeps/src/dependencies.jl:224.
Use "Dict{Symbol,Any}()" instead.

WARNING: deprecated syntax "{a=>b for (a,b) in c}" at /Users/Administrator/.julia/v0.4/BinDeps/src/dependencies.jl:256.
Use "Dict{Any,Any}([a=>b for (a,b) in c])" instead.

WARNING: deprecated syntax "{}" at /Users/Administrator/.julia/v0.4/BinDeps/src/dependencies.jl:352.
Use "[]" instead.

WARNING: deprecated syntax "(Symbol=>Any)[]" at /Users/Administrator/.julia/v0.4/BinDeps/src/dependencies.jl:383.
Use "Dict{Symbol,Any}()" instead.

WARNING: deprecated syntax "{a=>b, ...}" at /Users/Administrator/.julia/v0.4/BinDeps/src/dependencies.jl:387.
Use "Dict{Any,Any}(a=>b, ...)" instead.

WARNING: deprecated syntax "(Any=>Any)[]" at /Users/Administrator/.julia/v0.4/BinDeps/src/dependencies.jl:494.
Use "Dict{Any,Any}()" instead.

WARNING: deprecated syntax "(Any=>Any)[]" at /Users/Administrator/.julia/v0.4/BinDeps/src/dependencies.jl:555.
Use "Dict{Any,Any}()" instead.

WARNING: deprecated syntax "(Any=>Any)[]" at /Users/Administrator/.julia/v0.4/BinDeps/src/dependencies.jl:660.
Use "Dict{Any,Any}()" instead.

WARNING: deprecated syntax "{}" at /Users/Administrator/.julia/v0.4/BinDeps/src/dependencies.jl:889.
Use "[]" instead.

WARNING: deprecated syntax "{}" at /Users/Administrator/.julia/v0.4/BinDeps/src/dependencies.jl:959.
Use "[]" instead.

WARNING: deprecated syntax "{}" at /Users/Administrator/.julia/v0.4/BinDeps/src/debug.jl:51.
Use "[]" instead.

WARNING: deprecated syntax "{a=>b, ...}" at /Users/Administrator/.julia/v0.4/GnuTLS/src/errormap.jl:155.
Use "Dict{Any,Any}(a=>b, ...)" instead.

WARNING: deprecated syntax "{a=>b, ...}" at /Users/Administrator/.julia/v0.4/Quandl/src/api.jl:4.
Use "Dict{Any,Any}(a=>b, ...)" instead.

WARNING: deprecated syntax "{a=>b, ...}" at /Users/Administrator/.julia/v0.4/Quandl/src/api.jl:43.
Use "Dict{Any,Any}(a=>b, ...)" instead.
milktrader commented 10 years ago

Going to re-open this until the other packages get updated

milktrader commented 10 years ago

The commit that fixed this issue is likely going to break on v0.3 since the syntax change only applies to v0.4. So we can either a) revert to the old syntax or b) require v0.4

Probably need to revert to the old syntax and live with warnings in v0.4 for now.

milktrader commented 10 years ago

The good news is that I tagged 3.13 prior to this and there are no later versions pushed to METADATA so this shouldn't blow up on anyone using the Pkg.update() mechanism and v0.3

milktrader commented 10 years ago

I suppose we can hope that no more bugs need to be fixed before v0.4 is released and we can sit here for now. :sweat_smile:

milktrader commented 10 years ago

I've reverted back to v0.3-compatible Dict syntax and have stubbed (commented out) the code compatible with v0.4.

Let's leave this an open issue until v0.4

milktrader commented 9 years ago

This is probably another good case for using Compat

milktrader commented 9 years ago

Stale issue, closing for now. Re open after 0.4 gets released and some of these release issues go away naturally.