JuliaApproximation / ApproxFun.jl

Julia package for function approximation
http://juliaapproximation.github.io/ApproxFun.jl/
Other
538 stars 71 forks source link

Latest tagged version of ApproxFun doesn't support Julia 0.5? #460

Closed goedman closed 7 years ago

goedman commented 7 years ago

Weird, since this morning I'm getting below error. Pkg.update() does not help, in fact this is in Pkg.update(). REQUIRE seems ok (julia 0.5).

INFO: Computing changes...
ERROR: ApproxFun can't be installed because it has no versions that support 0.5.0 of julia. You may need to update METADATA by running `Pkg.update()`
 in resolve(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Available}}, ::Dict{String,Tuple{VersionNumber,Bool}}, ::Dict{String,Base.Pkg.Types.Fixed}, ::Dict{String,VersionNumber}, ::Set{String}) at ./pkg/entry.jl:483
 in update(::String, ::Set{String}) at ./pkg/entry.jl:458
 in (::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#update,Tuple{String,Set{String}}})() at ./pkg/dir.jl:31
 in cd(::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#update,Tuple{String,Set{String}}}, ::String) at ./file.jl:59
 in cd(::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#update,Tuple{String,Set{String}}}, ::String) at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
 in #cd#1(::Array{Any,1}, ::Function, ::Function, ::String, ::Vararg{Any,N}) at ./pkg/dir.jl:31
 in update() at ./pkg/pkg.jl:210

Same message after Pkg.rm("ApproxFun") followed by Pkg.add("ApproxFun").


julia> versioninfo()
Julia Version 0.5.0
Commit 3c9d753 (2016-09-19 18:14 UTC)
Platform Info:
  System: Darwin (x86_64-apple-darwin13.4.0)
  CPU: Intel(R) Core(TM) i5-6267U CPU @ 2.90GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.7.1 (ORCJIT, broadwell)
dlfivefifty commented 7 years ago

@tkelman this must be caused from the METADATA pull request yesterday, but I'm surprised it's giving that error. Any thoughts on what's going on?

tkelman commented 7 years ago

what commit in metadata are you on, any local modifications in git status? what is Pkg.status?

goedman commented 7 years ago

This is what I see on my system. On a second system, with far fewer packages installed I get the same error message.

On Jan 18, 2017, at 13:16, Tony Kelman notifications@github.com wrote:

what commit in metadata are you on, any local modifications in git status? what is Pkg.status?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JuliaApproximation/ApproxFun.jl/issues/460#issuecomment-273604241, or mute the thread https://github.com/notifications/unsubscribe-auth/AADL6CqZrP50CMpfgm2mtNPVfNwFJRzlks5rToE5gaJpZM4LnIhX.

           _

() | A fresh approach to technical computing () | () () | Documentation: http://docs.julialang.org | | | Type "?help" for help. | | | | | | |/ ` | | | | || | | | (| | | Version 0.5.0 (2016-09-19 18:14 UTC) / |_'|||_'_| | Official http://julialang.org/ release |/ | x86_64-apple-darwin13.4.0

julia> Pkg.status() 117 required packages:

julia> Pkg.add("ApproxFun") ERROR: ApproxFun can't be installed because it has no versions that support 0.5.0 of julia. You may need to update METADATA by running Pkg.update() in resolve(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Available}}, ::Dict{String,Tuple{VersionNumber,Bool}}, ::Dict{String,Base.Pkg.Types.Fixed}, ::Dict{String,VersionNumber}, ::Set{String}) at ./pkg/entry.jl:483 in resolve(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Available}}, ::Dict{String,Tuple{VersionNumber,Bool}}, ::Dict{String,Base.Pkg.Types.Fixed}) at ./pkg/entry.jl:476 in edit(::Function, ::String, ::Base.Pkg.Types.VersionSet, ::Vararg{Base.Pkg.Types.VersionSet,N}) at ./pkg/entry.jl:30 in (::Base.Pkg.Entry.##2#5{String,Base.Pkg.Types.VersionSet})() at ./task.jl:360 in sync_end() at ./task.jl:311 in macro expansion at ./task.jl:327 [inlined] in add(::String, ::Base.Pkg.Types.VersionSet) at ./pkg/entry.jl:51 in (::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#add,Tuple{String}})() at ./pkg/dir.jl:31 in cd(::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#add,Tuple{String}}, ::String) at ./file.jl:59 in #cd#1(::Array{Any,1}, ::Function, ::Function, ::String, ::Vararg{Any,N}) at ./pkg/dir.jl:31 in add(::String) at ./pkg/pkg.jl:100

dlfivefifty commented 7 years ago

I suspect that downgrading Plots will fix it.

tkelman commented 7 years ago

via Pkg.free, I suspect the same

goedman commented 7 years ago

Yes, Pkg.free("Plots") or pinning Plots at v"0.9.4" fixes the problem. Thanks for your help.