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

v0.7/v1.0 #35

Closed
IljaK91 opened this issue Sep 20, 2018 · 3 comments
Closed

v0.7/v1.0 #35

IljaK91 opened this issue Sep 20, 2018 · 3 comments

Comments

@IljaK91
Copy link
Contributor

IljaK91 commented Sep 20, 2018

It looks like tests pass on v0.7, but there are some deprecation warnings, I print them below. Is there someone working on this at the moment? If not, I could have a try, but some guidance would be welcome.

┌ Warning: Deprecated syntax `parametric method syntax get_bformat{T <: BasisMatrix{Direct}}(b::T)` around C:\Users\Ilja\.julia\dev\CompEcon\src\core.jl:12.
│ Use `get_bformat(b::T) where T <: BasisMatrix{Direct}` instead.
└ @ C:\Users\Ilja\.julia\dev\CompEcon\src\core.jl:12
┌ Warning: Deprecated syntax `parametric method syntax get_bformat{T <: BasisMatrix{Expanded}}(b::T)` around C:\Users\Ilja\.julia\dev\CompEcon\src\core.jl:13.
│ Use `get_bformat(b::T) where T <: BasisMatrix{Expanded}` instead.
└ @ C:\Users\Ilja\.julia\dev\CompEcon\src\core.jl:13
┌ Warning: Deprecated syntax `parametric method syntax get_bformat{T <: BasisMatrix{Tensor}}(b::T)` around C:\Users\Ilja\.julia\dev\CompEcon\src\core.jl:14.
│ Use `get_bformat(b::T) where T <: BasisMatrix{Tensor}` instead.
└ @ C:\Users\Ilja\.julia\dev\CompEcon\src\core.jl:14
WARNING: Base.Test is deprecated, run `using Test` instead
  likely near C:\Users\Ilja\.julia\dev\CompEcon\test\runtests.jl:5
┌ Warning: `linspace(start, stop, length::Integer)` is deprecated, use `range(start, stop=stop,
length=length)` instead.
│   caller = top-level scope at none:0
└ @ Core none:0
┌ Warning: `linspace(start, stop, length::Integer)` is deprecated, use `range(start, stop=stop,
length=length)` instead.
│   caller = top-level scope at none:0
└ @ Core none:0
Test Summary:            | Pass  Total
Test original API compat |   10     10
┌ Warning: `linspace(start, stop, length::Integer)` is deprecated, use `range(start, stop=stop,
length=length)` instead.
│   caller = top-level scope at none:0
└ @ Core none:0
┌ Warning: `Array{T}(m::Int) where T` is deprecated, use `Array{T}(undef, m)` instead.
│   caller = fundef(::Tuple{Symbol,StepRangeLen{Float64,Base.TwicePrecision{Float64},Base.TwicePrecision{Float64}},Int64,Int64}) at core.jl:76
└ @ CompEcon C:\Users\Ilja\.julia\dev\CompEcon\src\core.jl:76
┌ Warning: `Array{T}(m::Int) where T` is deprecated, use `Array{T}(undef, m)` instead.
│   caller = fundef(::Tuple{Symbol,StepRangeLen{Float64,Base.TwicePrecision{Float64},Base.TwicePrecision{Float64}},Int64,Int64}) at core.jl:77
└ @ CompEcon C:\Users\Ilja\.julia\dev\CompEcon\src\core.jl:77
┌ Warning: `Array{T}(m::Int) where T` is deprecated, use `Array{T}(undef, m)` instead.
│   caller = fundef(::Tuple{Symbol,StepRangeLen{Float64,Base.TwicePrecision{Float64},Base.TwicePrecision{Float64}},Int64,Int64}) at core.jl:79
└ @ CompEcon C:\Users\Ilja\.julia\dev\CompEcon\src\core.jl:79
┌ Warning: `linspace(start, stop, length::Integer)` is deprecated, use `range(start, stop=stop,
length=length)` instead.
│   caller = top-level scope at none:0
└ @ Core none:0
┌ Warning: `Array{T}(m::Int) where T` is deprecated, use `Array{T}(undef, m)` instead.
│   caller = fundef(::Tuple{Symbol,StepRangeLen{Float64,Base.TwicePrecision{Float64},Base.TwicePrecision{Float64}},Int64}) at core.jl:76
└ @ CompEcon C:\Users\Ilja\.julia\dev\CompEcon\src\core.jl:76
┌ Warning: `Array{T}(m::Int) where T` is deprecated, use `Array{T}(undef, m)` instead.
│   caller = fundef(::Tuple{Symbol,StepRangeLen{Float64,Base.TwicePrecision{Float64},Base.TwicePrecision{Float64}},Int64}) at core.jl:77
└ @ CompEcon C:\Users\Ilja\.julia\dev\CompEcon\src\core.jl:77
┌ Warning: `Array{T}(m::Int) where T` is deprecated, use `Array{T}(undef, m)` instead.
│   caller = fundef(::Tuple{Symbol,StepRangeLen{Float64,Base.TwicePrecision{Float64},Base.TwicePrecision{Float64}},Int64}) at core.jl:79
└ @ CompEcon C:\Users\Ilja\.julia\dev\CompEcon\src\core.jl:79
┌ Warning: `Array{T}(m::Int) where T` is deprecated, use `Array{T}(undef, m)` instead.
│   caller = fundef(::Tuple{Symbol,Int64,Float64,Float64}) at core.jl:76
└ @ CompEcon C:\Users\Ilja\.julia\dev\CompEcon\src\core.jl:76
┌ Warning: `Array{T}(m::Int) where T` is deprecated, use `Array{T}(undef, m)` instead.
│   caller = fundef(::Tuple{Symbol,Int64,Float64,Float64}) at core.jl:77
└ @ CompEcon C:\Users\Ilja\.julia\dev\CompEcon\src\core.jl:77
┌ Warning: `Array{T}(m::Int) where T` is deprecated, use `Array{T}(undef, m)` instead.
│   caller = fundef(::Tuple{Symbol,Int64,Float64,Float64}) at core.jl:79
└ @ CompEcon C:\Users\Ilja\.julia\dev\CompEcon\src\core.jl:79
┌ Warning: `Array{T}(m::Int, n::Int) where T` is deprecated, use `Array{T}(undef, m, n)` instead.
│   caller = fundefn(::Symbol, ::Array{Int64,1}, ::Array{Float64,1}, ::Array{Float64,1}, ::Int64) at core.jl:107
└ @ CompEcon C:\Users\Ilja\.julia\dev\CompEcon\src\core.jl:107
┌ Warning: `Array{T}(m::Int) where T` is deprecated, use `Array{T}(undef, m)` instead.
│   caller = fundef(::Array{Any,1}, ::Vararg{Array{Any,1},N} where N) at core.jl:76
└ @ CompEcon C:\Users\Ilja\.julia\dev\CompEcon\src\core.jl:76
┌ Warning: `Array{T}(m::Int) where T` is deprecated, use `Array{T}(undef, m)` instead.
│   caller = fundef(::Array{Any,1}, ::Vararg{Array{Any,1},N} where N) at core.jl:77
└ @ CompEcon C:\Users\Ilja\.julia\dev\CompEcon\src\core.jl:77
┌ Warning: `Array{T}(m::Int) where T` is deprecated, use `Array{T}(undef, m)` instead.
│   caller = fundef(::Array{Any,1}, ::Vararg{Array{Any,1},N} where N) at core.jl:79
└ @ CompEcon C:\Users\Ilja\.julia\dev\CompEcon\src\core.jl:79
┌ Warning: Deprecated syntax `implicit assignment to global variable `i``.
│ Use `global i` instead.
└ @ none:0
´´´
@sglyon
Copy link
Member

sglyon commented Sep 20, 2018

Thanks for reporting!

I just finished fixing up basismatrices for 0.7 and haven't made it here yet.

If you are willing to take a look that would be great. The approach is basically to play whack-a-mole with deprecations and warnings.

@IljaK91
Copy link
Contributor Author

IljaK91 commented Sep 20, 2018

Alright, I'll have a try tomorrow.

@IljaK91
Copy link
Contributor Author

IljaK91 commented Sep 25, 2018

I have opened a pull request with the fixes.

@IljaK91 IljaK91 closed this as completed Sep 25, 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

2 participants