bramtayl / LightQuery.jl

One query to rule them all
Other
14 stars 4 forks source link

can't `using` with julia 1.0 #8

Closed FelipeLema closed 5 years ago

FelipeLema commented 5 years ago

julia version 1.0.1

julia> using LightQuery                                                                                                                                                                                              
[ Info: Precompiling LightQuery [a6f99520-0501-547d-81af-dc7bed1e4d5a]                                                                                                                                               
WARNING: could not import Base.push_widen into LightQuery                                                                                                                                                            
WARNING: could not import Base.setindex_widen_up_to into LightQuery                                                                                                                                                  
ERROR: LoadError: UndefVarError: _zip_iterator_eltype not defined                                                                                                                                                    
Stacktrace:                                                                                                                                                                                                          
 [1] include at ./boot.jl:317 [inlined]                                                                                                                                                                              
 [2] include_relative(::Module, ::String) at ./loading.jl:1041                                                                                                                                                       
 [3] include(::Module, ::String) at ./sysimg.jl:29                                                                                                                                                                   
 [4] top-level scope at none:2                                                                                                                                                                                       
 [5] eval at ./boot.jl:319 [inlined]                                                                                                                                                                                 
 [6] eval(::Expr) at ./client.jl:389                                                                                                                                                                                 
 [7] top-level scope at ./none:3                                                                                                                                                                                     
in expression starting at /home/user/.julia/packages/LightQuery/PVnmb/src/LightQuery.jl:10                                                                                                                           
ERROR: Failed to precompile LightQuery [a6f99520-0501-547d-81af-dc7bed1e4d5a] to /home/user/julia/compiled/v1.0/LightQuery/AvJn1.ji.                                                                                
Stacktrace:                                                                                                                                                                                                          
 [1] error(::String) at ./error.jl:33                                                                                                                                                                                
 [2] macro expansion at ./logging.jl:313 [inlined]                                                                                                                                                                   
 [3] compilecache(::Base.PkgId, ::String) at ./loading.jl:1187                                                                                                                                                       
 [4] _require(::Base.PkgId) at ./logging.jl:311                                                                                                                                                                      
 [5] require(::Base.PkgId) at ./loading.jl:855                                                                                                                                                                       
 [6] macro expansion at ./logging.jl:311 [inlined]                                                                                                                                                                   
 [7] require(::Module, ::Symbol) at ./loading.jl:837                                                                                                                                                                 

julia>          
bramtayl commented 5 years ago

Sorry, the implementation of zip changed between 1.0 and 1.1. Can you use 1.1 or greater?

FelipeLema commented 5 years ago

yes, I can, but the project.toml file should reflect this aspect

bramtayl commented 5 years ago

OK, I'll change in my next push.

bramtayl commented 5 years ago

Ok, 1.1 is in [compat] now. How do you like the package?

bramtayl commented 5 years ago

Master version should now fully support 1.0