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

Problems with Julia v1.0.0 #50

Closed
cormullion opened this issue Aug 14, 2018 · 6 comments
Closed

Problems with Julia v1.0.0 #50

cormullion opened this issue Aug 14, 2018 · 6 comments

Comments

@cormullion
Copy link
Contributor

I don't understand this error. Why is Dates a problem here?

julia-1.0> using AstroLib
[ Info: Precompiling AstroLib [c7932e45-9af1-51e7-9da9-f004cd3a462b]
ERROR: LoadError: UndefVarError: Dates not defined
Stacktrace:
 [1] include at ./boot.jl:317 [inlined]
 [2] include_relative(::Module, ::String) at ./loading.jl:1038
 [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 /Users/me/.julia/packages/AstroLib/eLfkt/src/AstroLib.jl:7
ERROR: Failed to precompile AstroLib [c7932e45-9af1-51e7-9da9-f004cd3a462b] to /Users/me/.julia/compiled/v1.0/AstroLib/rCD8G.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:1184
 [4] _require(::Base.PkgId) at ./logging.jl:311
 [5] require(::Base.PkgId) at ./loading.jl:852
 [6] macro expansion at ./logging.jl:311 [inlined]
 [7] require(::Module, ::Symbol) at ./loading.jl:834

julia-1.0> exit()
Jupiter ~  $ julia1
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.0.0 (2018-08-08)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia-1.0> using Dates

julia-1.0> using AstroLib
[ Info: Precompiling AstroLib [c7932e45-9af1-51e7-9da9-f004cd3a462b]
ERROR: LoadError: UndefVarError: Dates not defined
Stacktrace:
 [1] include at ./boot.jl:317 [inlined]
 [2] include_relative(::Module, ::String) at ./loading.jl:1038
 [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 /Users/me/.julia/packages/AstroLib/eLfkt/src/AstroLib.jl:7
ERROR: Failed to precompile AstroLib [c7932e45-9af1-51e7-9da9-f004cd3a462b] to /Users/me/.julia/compiled/v1.0/AstroLib/rCD8G.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:1184
 [4] _require(::Base.PkgId) at ./logging.jl:311
 [5] require(::Base.PkgId) at ./loading.jl:852
 [6] macro expansion at ./logging.jl:311 [inlined]
 [7] require(::Module, ::Symbol) at ./loading.jl:834
@giordano
Copy link
Member

It seems there have been some late breaking changes before 1.0 (or missing deprecations?), a couple of weeks ago this package passed CI without warnings (coming from the package): https://travis-ci.org/JuliaAstro/AstroLib.jl/jobs/409533509. Also in Measurements.jl there are issues not caught by CI a few days ago (JuliaPhysics/Measurements.jl#18).

This week I'm on vacation without a computer, please wait some days 😅

@cormullion
Copy link
Contributor Author

enjoy your holiday (and some dark skies perhaps)! 😎 I'm in no hurry. 😂

@benelsen
Copy link
Contributor

I suspect you're using the last tagged release? That one does not work in 1.0 (0.7 should be fine), but the master branch does.
There was one bug in one of the tests (cf #51) but they should now all pass.

@cormullion
Copy link
Contributor Author

cormullion commented Aug 14, 2018

i just did ] add AstroLib so I'm picking up the Registry one. I don't know how often that gets updated, presumably from METADATA every few hours....

@giordano
Copy link
Member

Well, yes, the last tagged version definitely doesn't support 1.0 😅 master branch has support for julia 0.7, but then I went on vacation last week and in the meantime they released julia 1.0 just a few hours after 0.7...

@giordano
Copy link
Member

I'm going to close this ticket. The only issue was that last tagged version doesn't support Julia 1.0, but master branch does. @benelsen fixed an issue in a test with #51

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

3 participants