-
Notifications
You must be signed in to change notification settings - Fork 57
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
WIP: preparation for v0.7 #197
Conversation
test/runtests.jl
Outdated
@@ -210,7 +211,7 @@ end | |||
|
|||
if Cairo.libcairo_version >= v"1.12.0" | |||
|
|||
if ~is_windows() | |||
if ~Sys.iswindows() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will need to raise Compat min version, in either test/REQUIRE or REQUIRE
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will also have to be invoked as Compat.Sys.iswindows()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ararslan But that might be a Compat documentation issue
is_apple, is_bsd, is_linux, is_unix, and is_windows are now Sys.isapple, Sys.isbsd, Sys.islinux, Sys.isunix, and Sys.iswindows, respectively. These are available in the Compat.Sys submodule.
reads for me like using Compat.Sys and apply Sys.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, that's a failure of the documentation.
julia> using Compat.Sys
julia> Sys.iswindows()
WARNING: both Sys and Base export "Sys"; uses of it in module Main must be qualified
ERROR: UndefVarError: Sys not defined
Though actually it appears to work (at least on 0.6) with import Compat.Sys
.
1 similar comment
1 similar comment
NOTE: this will be superceeded by #216 |
No description provided.