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

Move to Julia 0.7 #132

Closed
vdayanand opened this issue Jul 19, 2018 · 4 comments · Fixed by #143
Closed

Move to Julia 0.7 #132

vdayanand opened this issue Jul 19, 2018 · 4 comments · Fixed by #143

Comments

@vdayanand
Copy link
Contributor

No description provided.

@lewisl
Copy link

lewisl commented Aug 12, 2018

Blink will not compile on released Juia 0.7:

julia> using Blink
[ Info: Precompiling Blink [ad839575-38b3-5650-b840-f874b8c74a25]
┌ Warning: Deprecated syntax `type` at /Users/lewis/.julia/packages/Blink/uzZJ3/src/rpc/rpc.jl:10.
│ Use `mutable struct` instead.
└ @ ~/.julia/packages/Blink/uzZJ3/src/rpc/rpc.jl:10
WARNING: Base.UVError is deprecated, use IOError instead.
  likely near /Users/lewis/.julia/packages/Pidfile/VIZeY/src/Pidfile.jl:19
WARNING: importing deprecated binding Base.UVError into Pidfile.
┌ Warning: Requires now needs a UUID; please see the readme for changes in 0.7.
└ @ WebIO ~/.julia/packages/WebIO/7rrhi/src/providers/atom.jl:1
┌ Warning: Requires now needs a UUID; please see the readme for changes in 0.7.
└ @ WebIO ~/.julia/packages/WebIO/7rrhi/src/providers/blink.jl:1
┌ Warning: Requires now needs a UUID; please see the readme for changes in 0.7.
└ @ WebIO ~/.julia/packages/WebIO/7rrhi/src/providers/mux.jl:1
┌ Warning: Requires now needs a UUID; please see the readme for changes in 0.7.
└ @ WebIO ~/.julia/packages/WebIO/7rrhi/src/providers/ijulia.jl:1
WARNING: Base.UVError is deprecated, use IOError instead.
 in module Pidfile
WARNING: Base.UVError is deprecated, use IOError instead.
 in module Pidfile
WARNING: Base.UVError is deprecated, use IOError instead.
 in module Pidfile
WARNING: Base.UVError is deprecated, use IOError instead.
 in module Pidfile
WARNING: Base.UVError is deprecated, use IOError instead.
 in module Pidfile
WARNING: Base.UVError is deprecated, use IOError instead.
 in module Pidfile
WARNING: Base.UVError is deprecated, use IOError instead.
 in module Pidfile
WARNING: Base.UVError is deprecated, use IOError instead.
 in module Pidfile
WARNING: Base.UVError is deprecated, use IOError instead.
 in module Pidfile
WARNING: Base.UVError is deprecated, use IOError instead.
 in module Pidfile
WARNING: Base.UVError is deprecated, use IOError instead.
 in module Pidfile
WARNING: Base.UVError is deprecated, use IOError instead.
 in module Pidfile
┌ Warning: Deprecated syntax `type` at /Users/lewis/.julia/packages/Blink/uzZJ3/src/content/content.jl:9.
│ Use `mutable struct` instead.
└ @ ~/.julia/packages/Blink/uzZJ3/src/content/content.jl:9
WARNING: Method definition (::Type{HTTP.Messages.Response})(Any) in module Messages at /Users/lewis/.julia/packages/HTTP/nUK4f/src/Messages.jl:130 overwritten in module Mux at /Users/lewis/.julia/packages/Mux/b7bgh/src/basics.jl:48.
┌ Warning: Deprecated syntax `try without catch or finally` at /Users/lewis/.julia/packages/Mux/b7bgh/src/websockets_integration.jl:28.
└ @ ~/.julia/packages/Mux/b7bgh/src/websockets_integration.jl:28
┌ Warning: The `keep` keyword argument is deprecated; use `keepempty` instead
│   caller = ip:0x0
└ @ Core :-1
WARNING: Base.UVError is deprecated, use IOError instead.
 in module Pidfile
WARNING: Base.UVError is deprecated, use IOError instead.
 in module Pidfile
WARNING: Base.UVError is deprecated, use IOError instead.
 in module Pidfile
WARNING: Base.UVError is deprecated, use IOError instead.
 in module Pidfile
WARNING: Base.UVError is deprecated, use IOError instead.
 in module Pidfile
WARNING: Base.UVError is deprecated, use IOError instead.
 in module Pidfile
WARNING: Method definition (::Type{HTTP.Messages.Response})(Any) in module Messages at /Users/lewis/.julia/packages/HTTP/nUK4f/src/Messages.jl:130 overwritten in module Mux at /Users/lewis/.julia/packages/Mux/b7bgh/src/basics.jl:48.
┌ Warning: Deprecated syntax `try without catch or finally` at /Users/lewis/.julia/packages/WebSockets/spscP/src/WebSockets.jl:333.
└ @ ~/.julia/packages/WebSockets/spscP/src/WebSockets.jl:333
┌ Warning: Deprecated syntax `call to `&` inside call to bitshift operator` at /Users/lewis/.julia/packages/WebSockets/spscP/src/WebSockets.jl:367.
│ Use `parenthesized call to `&`` instead.
└ @ ~/.julia/packages/WebSockets/spscP/src/WebSockets.jl:367
┌ Warning: Deprecated syntax `call to `&` inside call to bitshift operator` at /Users/lewis/.julia/packages/WebSockets/spscP/src/WebSockets.jl:374.
│ Use `parenthesized call to `&`` instead.
└ @ ~/.julia/packages/WebSockets/spscP/src/WebSockets.jl:374
┌ Warning: Deprecated syntax `try without catch or finally` at /Users/lewis/.julia/packages/WebSockets/spscP/src/WebSockets.jl:488.
└ @ ~/.julia/packages/WebSockets/spscP/src/WebSockets.jl:488
┌ Warning: Deprecated syntax `try without catch or finally` at /Users/lewis/.julia/packages/WebSockets/spscP/src/WebSockets.jl:491.
└ @ ~/.julia/packages/WebSockets/spscP/src/WebSockets.jl:491
WARNING: Base.TCPSocket is deprecated: it has been moved to the standard library package `Sockets`.
Add `using Sockets` to your imports.
  likely near /Users/lewis/.julia/packages/WebSockets/spscP/src/WebSockets.jl:41
┌ Warning: `round(x::Number, digits)` is deprecated, use `round(x; digits=digits)` instead.
│   caller = top-level scope at none:0
└ @ Core none:0
┌ Warning: `@schedule` is deprecated, use `@async` instead.
│   caller = #macroexpand#32 at expr.jl:92 [inlined]
└ @ Core ./expr.jl:92
┌ Warning: Requires now needs a UUID; please see the readme for changes in 0.7.
└ @ WebSockets ~/.julia/packages/WebSockets/spscP/src/WebSockets.jl:677
┌ Warning: Requires now needs a UUID; please see the readme for changes in 0.7.
└ @ WebSockets ~/.julia/packages/WebSockets/spscP/src/WebSockets.jl:678
WARNING: importing deprecated binding Base.Future into Blink.
WARNING: Base.Future is deprecated: it has been moved to the standard library package `Distributed`.
Add `using Distributed` to your imports.
  likely near /Users/lewis/.julia/packages/Blink/uzZJ3/src/content/content.jl:9
┌ Warning: `global const` declarations may no longer appear inside functions.
│ Instead, use a non-constant global, or a global `const var = Ref{T}()`.
└ @ ~/.julia/packages/Lazy/3vsj7/src/macros.jl:317
┌ Warning: `is_unix` is deprecated, use `Sys.isunix` instead.
│   caller = top-level scope at none:0
└ @ Core none:0
┌ Warning: `is_apple` is deprecated, use `Sys.isapple` instead.
│   caller = top-level scope at none:0
└ @ Core none:0
┌ Warning: `readstring(s::IO)` is deprecated, use `read(s, String)` instead.
│   caller = #open#298(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::typeof(readstring), ::String) at iostream.jl:369
└ @ Base ./iostream.jl:369
┌ Warning: `@schedule` is deprecated, use `@async` instead.
│   caller = include at boot.jl:317 [inlined]
└ @ Core ./boot.jl:317
┌ Warning: The `keep` keyword argument is deprecated; use `keepempty` instead
│   caller = ip:0x0
└ @ Core :-1
WARNING: importing deprecated binding Base.@ip_str into Blink.
WARNING: Base.@ip_str is deprecated: it has been moved to the standard library package `Sockets`.
Add `using Sockets` to your imports.
  likely near /Users/lewis/.julia/packages/Blink/uzZJ3/src/content/server.jl:75
┌ Warning: `is_apple` is deprecated, use `Sys.isapple` instead.
│   caller = top-level scope at none:0
└ @ Core none:0
┌ Warning: Deprecated syntax ``const` declaration on local variable` around /Users/lewis/.julia/packages/Blink/uzZJ3/src/AtomShell/install.jl:23.
└ @ ~/.julia/packages/Blink/uzZJ3/src/AtomShell/install.jl:23
┌ Warning: Deprecated syntax `type` at /Users/lewis/.julia/packages/Blink/uzZJ3/src/AtomShell/process.jl:34.
│ Use `mutable struct` instead.
└ @ ~/.julia/packages/Blink/uzZJ3/src/AtomShell/process.jl:34
WARNING: importing deprecated binding Base.TCPSocket into AtomShell.
WARNING: Base.TCPSocket is deprecated: it has been moved to the standard library package `Sockets`.
Add `using Sockets` to your imports.
  likely near /Users/lewis/.julia/packages/Blink/uzZJ3/src/AtomShell/process.jl:34
WARNING: Base.TCPSocket is deprecated: it has been moved to the standard library package `Sockets`.
Add `using Sockets` to your imports.
  likely near /Users/lewis/.julia/packages/Blink/uzZJ3/src/AtomShell/process.jl:34
┌ Warning: `is_apple` is deprecated, use `Sys.isapple` instead.
│   caller = top-level scope at none:0
└ @ Core none:0
ERROR: LoadError: LoadError: LoadError: UndefVarError: find_in_path not defined
Stacktrace:
 [1] getproperty at ./sysimg.jl:13 [inlined]
 [2] resolve(::String, ::String) at /Users/lewis/.julia/packages/Blink/uzZJ3/src/AtomShell/process.jl:8
 [3] top-level scope at /Users/lewis/.julia/packages/Blink/uzZJ3/src/AtomShell/process.jl:43
 [4] include at ./boot.jl:317 [inlined]
 [5] include_relative(::Module, ::String) at ./loading.jl:1038
 [6] include at ./sysimg.jl:29 [inlined]
 [7] include(::String) at /Users/lewis/.julia/packages/Blink/uzZJ3/src/AtomShell/AtomShell.jl:1
 [8] top-level scope at none:0
 [9] include at ./boot.jl:317 [inlined]
 [10] include_relative(::Module, ::String) at ./loading.jl:1038
 [11] include at ./sysimg.jl:29 [inlined]
 [12] include(::String) at /Users/lewis/.julia/packages/Blink/uzZJ3/src/Blink.jl:3
 [13] top-level scope at none:0
 [14] include at ./boot.jl:317 [inlined]
 [15] include_relative(::Module, ::String) at ./loading.jl:1038
 [16] include(::Module, ::String) at ./sysimg.jl:29
 [17] top-level scope at none:2
 [18] eval at ./boot.jl:319 [inlined]
 [19] eval(::Expr) at ./client.jl:399
 [20] top-level scope at ./none:3
in expression starting at /Users/lewis/.julia/packages/Blink/uzZJ3/src/AtomShell/process.jl:42
in expression starting at /Users/lewis/.julia/packages/Blink/uzZJ3/src/AtomShell/AtomShell.jl:10
in expression starting at /Users/lewis/.julia/packages/Blink/uzZJ3/src/Blink.jl:11
WARNING: Base.UVError is deprecated, use IOError instead.
 in module Pidfile
WARNING: Base.UVError is deprecated, use IOError instead.
 in module Pidfile
WARNING: Base.UVError is deprecated, use IOError instead.
 in module Pidfile
WARNING: Base.UVError is deprecated, use IOError instead.
 in module Pidfile
WARNING: Base.UVError is deprecated, use IOError instead.
 in module Pidfile
WARNING: Base.UVError is deprecated, use IOError instead.
 in module Pidfile
ERROR: Failed to precompile Blink [ad839575-38b3-5650-b840-f874b8c74a25] to /Users/lewis/.julia/compiled/v0.7/Blink/wSmkt.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:1185
 [4] macro expansion at ./logging.jl:311 [inlined]
 [5] _require(::Base.PkgId) at ./loading.jl:941
 [6] require(::Base.PkgId) at ./loading.jl:852
 [7] macro expansion at ./logging.jl:311 [inlined]
 [8] require(::Module, ::Symbol) at ./loading.jl:834

@lewisl
Copy link

lewisl commented Aug 18, 2018

Not resolved. Many simple deprecations still and some errors using old functions that have been replaced.

using Blink
[ Info: Precompiling Blink [ad839575-38b3-5650-b840-f874b8c74a25]
┌ Warning: Deprecated syntax `type` at /Users/lewis/.julia/packages/Blink/uzZJ3/src/rpc/rpc.jl:10.
│ Use `mutable struct` instead.
└ @ ~/.julia/packages/Blink/uzZJ3/src/rpc/rpc.jl:10
┌ Warning: Deprecated syntax `type` at /Users/lewis/.julia/packages/Blink/uzZJ3/src/content/content.jl:9.
│ Use `mutable struct` instead.
└ @ ~/.julia/packages/Blink/uzZJ3/src/content/content.jl:9
WARNING: importing deprecated binding Base.Future into Blink.
WARNING: Base.Future is deprecated: it has been moved to the standard library package `Distributed`.
Add `using Distributed` to your imports.
  likely near /Users/lewis/.julia/packages/Blink/uzZJ3/src/content/content.jl:9
┌ Warning: `global const` declarations may no longer appear inside functions.
│ Instead, use a non-constant global, or a global `const var = Ref{T}()`.
└ @ ~/.julia/packages/Lazy/3vsj7/src/macros.jl:317
┌ Warning: `is_unix` is deprecated, use `Sys.isunix` instead.
│   caller = top-level scope at none:0
└ @ Core none:0
┌ Warning: `is_apple` is deprecated, use `Sys.isapple` instead.
│   caller = top-level scope at none:0
└ @ Core none:0
┌ Warning: `@schedule` is deprecated, use `@async` instead.
│   caller = include at boot.jl:317 [inlined]
└ @ Core ./boot.jl:317
WARNING: importing deprecated binding Base.@ip_str into Blink.
WARNING: Base.@ip_str is deprecated: it has been moved to the standard library package `Sockets`.
Add `using Sockets` to your imports.
  likely near /Users/lewis/.julia/packages/Blink/uzZJ3/src/content/server.jl:75
┌ Warning: `is_apple` is deprecated, use `Sys.isapple` instead.
│   caller = top-level scope at none:0
└ @ Core none:0
┌ Warning: Deprecated syntax ``const` declaration on local variable` around /Users/lewis/.julia/packages/Blink/uzZJ3/src/AtomShell/install.jl:23.
└ @ ~/.julia/packages/Blink/uzZJ3/src/AtomShell/install.jl:23
┌ Warning: Deprecated syntax `type` at /Users/lewis/.julia/packages/Blink/uzZJ3/src/AtomShell/process.jl:34.
│ Use `mutable struct` instead.
└ @ ~/.julia/packages/Blink/uzZJ3/src/AtomShell/process.jl:34
WARNING: importing deprecated binding Base.TCPSocket into AtomShell.
WARNING: Base.TCPSocket is deprecated: it has been moved to the standard library package `Sockets`.
Add `using Sockets` to your imports.
  likely near /Users/lewis/.julia/packages/Blink/uzZJ3/src/AtomShell/process.jl:34
WARNING: Base.TCPSocket is deprecated: it has been moved to the standard library package `Sockets`.
Add `using Sockets` to your imports.
  likely near /Users/lewis/.julia/packages/Blink/uzZJ3/src/AtomShell/process.jl:34
┌ Warning: `is_apple` is deprecated, use `Sys.isapple` instead.
│   caller = top-level scope at none:0
└ @ Core none:0
ERROR: LoadError: LoadError: LoadError: UndefVarError: find_in_path not defined
Stacktrace:
 [1] getproperty at ./sysimg.jl:13 [inlined]
 [2] resolve(::String, ::String) at /Users/lewis/.julia/packages/Blink/uzZJ3/src/AtomShell/process.jl:8
 [3] top-level scope at /Users/lewis/.julia/packages/Blink/uzZJ3/src/AtomShell/process.jl:43
 [4] include at ./boot.jl:317 [inlined]
 [5] include_relative(::Module, ::String) at ./loading.jl:1038
 [6] include at ./sysimg.jl:29 [inlined]
 [7] include(::String) at /Users/lewis/.julia/packages/Blink/uzZJ3/src/AtomShell/AtomShell.jl:1
 [8] top-level scope at none:0
 [9] include at ./boot.jl:317 [inlined]
 [10] include_relative(::Module, ::String) at ./loading.jl:1038
 [11] include at ./sysimg.jl:29 [inlined]
 [12] include(::String) at /Users/lewis/.julia/packages/Blink/uzZJ3/src/Blink.jl:3
 [13] top-level scope at none:0
 [14] include at ./boot.jl:317 [inlined]
 [15] include_relative(::Module, ::String) at ./loading.jl:1038
 [16] include(::Module, ::String) at ./sysimg.jl:29
 [17] top-level scope at none:2
 [18] eval at ./boot.jl:319 [inlined]
 [19] eval(::Expr) at ./client.jl:399
 [20] top-level scope at ./none:3
in expression starting at /Users/lewis/.julia/packages/Blink/uzZJ3/src/AtomShell/process.jl:42
in expression starting at /Users/lewis/.julia/packages/Blink/uzZJ3/src/AtomShell/AtomShell.jl:10
in expression starting at /Users/lewis/.julia/packages/Blink/uzZJ3/src/Blink.jl:11
ERROR: Failed to precompile Blink [ad839575-38b3-5650-b840-f874b8c74a25] to /Users/lewis/.julia/compiled/v0.7/Blink/wSmkt.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:1185
 [4] macro expansion at ./logging.jl:311 [inlined]
 [5] _require(::Base.PkgId) at ./loading.jl:941
 [6] require(::Base.PkgId) at ./loading.jl:852
 [7] macro expansion at ./logging.jl:311 [inlined]
 [8] require(::Module, ::Symbol) at ./loading.jl:834

@pfitzseb
Copy link
Member

Please have some patience... #143 is almost ready and we're just waiting for a dependency to be updated.

@lewisl
Copy link

lewisl commented Aug 18, 2018 via email

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

Successfully merging a pull request may close this issue.

3 participants