-
Notifications
You must be signed in to change notification settings - Fork 370
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
0.7 updates #1320
0.7 updates #1320
Conversation
src/DataFrames.jl
Outdated
@@ -1,6 +1,10 @@ | |||
__precompile__(true) | |||
module DataFrames | |||
|
|||
if !isdefined(Base, :pairs) | |||
pairs(x) = x |
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.
This seems like a dangerous definition to have lying around, but I guess it's okay until we stop supporting 0.6.
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. Shouldn't Compat provide something like that, since many packages will have the same problem?
BTW, is Femtocleaner able to remove this kind of isdefined
check? Or should we use VERSION
checks instead?
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.
I'm not sure about FemtoCleaner, but pairs
will be available in Compat as of 0.40.0: JuliaLang/METADATA.jl#12530
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.
So do we want to use Compat.pairs
here rather than a custom method?
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.
I'd say so, now that it's available in Compat. Just have to bump the REQUIRE to 0.40.0.
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.
now we might as well wait till Compat gets Unicode since DataFrames show totally breaks w/o it.
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.
Nah, I'd say just add
if VERSION >= v"0.7.0-DEV.2915"
using Unicode
end
WOW that 0.7 failure. 😱 Reported at JuliaLang/julia#25176 |
I believe that this line:
or I am missing something? |
Did I approve the changes despite CI not passing? I'm too used to seeing 0.7 fail, I didn't even check whether 0.6 passed... |
Yeah 0.6 was failing; I was surprised this got merged as-is. |
See #1329. |
No description provided.