Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation messages in julia v0.7 #23

Closed
jishnub opened this issue Aug 18, 2018 · 3 comments
Closed

Deprecation messages in julia v0.7 #23

jishnub opened this issue Aug 18, 2018 · 3 comments

Comments

@jishnub
Copy link
Contributor

jishnub commented Aug 18, 2018

julia> using NPZ
[ Info: Precompiling NPZ [15e1cf62-19b3-5cfa-8e77-841668bca605]
┌ Warning: Deprecated syntax `type` at /home/jishnu/.julia/packages/NPZ/onMHH/src/NPZ.jl:140.
│ Use `mutable struct` instead.
└ @ ~/.julia/packages/NPZ/onMHH/src/NPZ.jl:140
WARNING: importing deprecated binding Base.Complex64 into NPZ.
WARNING: Base.Complex64 is deprecated, use ComplexF32 instead.
  likely near /home/jishnu/.julia/packages/NPZ/onMHH/src/NPZ.jl:17
WARNING: importing deprecated binding Base.Complex128 into NPZ.
WARNING: Base.Complex128 is deprecated, use ComplexF64 instead.
  likely near /home/jishnu/.julia/packages/NPZ/onMHH/src/NPZ.jl:17
┌ Warning: Deprecated syntax `parametric method syntax npzwritearray{T}(f::IO, x::Array{T})` around /home/jishnu/.julia/packages/NPZ/onMHH/src/NPZ.jl:263.
│ Use `npzwritearray(f::IO, x::Array{T}) where T` instead.
└ @ ~/.julia/packages/NPZ/onMHH/src/NPZ.jl:263
┌ Warning: Deprecated syntax `parametric method syntax npzwritearray{T <: Number}(f::IO, x::T)` around /home/jishnu/.julia/packages/NPZ/onMHH/src/NPZ.jl:267.
│ Use `npzwritearray(f::IO, x::T) where T <: Number` instead.
└ @ ~/.julia/packages/NPZ/onMHH/src/NPZ.jl:267
┌ Warning: Deprecated syntax `parametric method syntax npzwrite{S <: AbstractString}(filename::AbstractString, vars::Dict{S, Any})` around /home/jishnu/.julia/packages/NPZ/onMHH/src/NPZ.jl:277.
│ Use `npzwrite(filename::AbstractString, vars::Dict{S, Any}) where S <: AbstractString` instead.
└ @ ~/.julia/packages/NPZ/onMHH/src/NPZ.jl:277
@jishnub jishnub changed the title Depreciation messages in julia v0.7 Deprecation messages in julia v0.7 Aug 18, 2018
@galenlynch
Copy link
Contributor

It's actually broken due to JuliaLang/julia#22496:

ERROR: LoadError: MethodError: no method matching parseheader(::SubString{String})
Closest candidates are:
  parseheader(::String) at /home/glynch/.julia/packages/NPZ/T4ltA/src/NPZ.jl:153
Stacktrace:
 [1] npzreadarray(::IOStream) at /home/glynch/.julia/packages/NPZ/T4ltA/src/NPZ.jl:197
 [2] npzread(::String) at /home/glynch/.julia/packages/NPZ/T4ltA/src/NPZ.jl:224

@galenlynch
Copy link
Contributor

#24 should close this.

@fhs
Copy link
Owner

fhs commented Aug 20, 2018

Fixed by 0bd3fbf

@fhs fhs closed this as completed Aug 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants