JuliaStats / TimeModels.jl

Modeling time series in Julia
Other
57 stars 28 forks source link

Dependency on Dates and DateTime #64

Open BenjaminBorn opened 7 years ago

BenjaminBorn commented 7 years ago

While running Pkg.add("TimeModels") I got the following error message:

INFO: Building Datetime ==============================[ ERROR: Datetime ]===============================

LoadError: UndefVarError: int64 not defined while loading /Users/bborn/.julia/v0.5/Datetime/deps/build.jl, in expression starting on line 17

================================================================================ INFO: Building Tk

================================[ BUILD ERRORS ]================================

WARNING: Datetime had build errors.

  • packages with build errors remain installed in /Users/bborn/.julia/v0.5
  • build the package(s) and all dependencies with Pkg.build("Datetime")
  • build a single package by running its deps/build.jl script

================================================================================

It seems that the functionality of Datetime (as well as Dates) has been merged into Base: https://github.com/quinnj/Datetime.jl .

using TimeModels then resulted in

WARNING: Base.ASCIIString is deprecated, use String instead. likely near /Users/bborn/.julia/v0.5/Datetime/src/Timezone.jl:23

LoadError: LoadError: LoadError: MethodError: no method matching getindex(::Pair{DataType,DataType}, ::Pair{String,DataType}, ::Pair{String,DataType}, ...

My configuration:

Julia Version 0.5.2-pre+1 Commit a6c55c5* (2017-03-06 03:59 UTC) Platform Info: OS: macOS (x86_64-apple-darwin16.4.0) CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz WORD_SIZE: 64 BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NOAFFINITY Haswell) LAPACK: libopenblas64 LIBM: libopenlibm LLVM: libLLVM-3.7.1 (ORCJIT, broadwell)

ararslan commented 7 years ago

As it stands, this package is set up to work strictly on Julia 0.4 only. If you're interested in helping to get the package working on Julia 0.5 and 0.6, a pull request would be more than welcome. 🙂