JuliaData / Feather.jl

Read and write feather files in pure Julia
https://juliadata.github.io/Feather.jl/stable
Other
109 stars 27 forks source link

Compatible versions of Feather, CategoricalArrays, NullableArrays, and DataFrames? #20

Closed dmbates closed 8 years ago

dmbates commented 8 years ago

I would like to try out reading and writing feather files during the transition of DataFrames to Nullable/Categorical arrays. I haven't yet found a compatible set of package versions for Feather, CategoricalArrays, NullableArrays and DataFrames master. My latest attempt produced.

julia> Pkg.status("DataFrames")                                                                                                                 
WARNING: unknown DataFrames commit 84523937, metadata may be ahead of package cache                                                             
 - DataFrames                    0.8.3+             master                                                                                      

julia> Pkg.status("CategoricalArrays")                                                                                                          
 - CategoricalArrays             0.0.6                                                                                                          

julia> Pkg.status("NullableArrays")                                                                                                             
 - NullableArrays                0.0.9                                                                                                          

julia> Pkg.update()                                                                                                                             
INFO: Updating METADATA...                                                                                                                      
INFO: Updating cache of DataFrames...                                                                                                           
INFO: Updating Zstd master...                                                                                                                   
INFO: Updating DataFrames master...                                                                                                             
INFO: Updating cache of DataFrames...                                                                                                           
INFO: Computing changes...                                                                                                                      

julia> Pkg.add("Feather")                                                                                                                       
ERROR: unsatisfiable package requirements detected: no feasible version could be found for package: NullableArrays                              
 in resolve(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Available}}) at ./pkg/resolve.jl:37       
 in resolve(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Available}}, ::Dict{String,Tuple{VersionNu
mber,Bool}}, ::Dict{String,Base.Pkg.Types.Fixed}, ::Dict{String,VersionNumber}, ::Set{String}) at ./pkg/entry.jl:495                            
 in resolve(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Available}}, ::Dict{String,Tuple{VersionNu
mber,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        

This is with julia-0.5.0 under Linux

quinnj commented 8 years ago

I currently have master of DataFrames, DataStreams, and CategoricalArrays and it's working for me. I think if you do a Pkg.checkout on each of those (+ Feather, obviously), that should give you a working version.

quinnj commented 8 years ago

New tags were just release of DataStreams and Feather. https://github.com/JuliaLang/METADATA.jl/pull/6626