-
-
Notifications
You must be signed in to change notification settings - Fork 412
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 compatibility (mostly) #623
Conversation
Tests are re-enabled on nightly, reverting #622 (cc @davidanthoff). |
Note that a new version of ZMQ needs to be tagged for this to pass. |
I am getting the same error |
Bump for 0.7-alpha! |
I tried this on the alpha, and while it builds and loads, the kernel crashes. I can't seem to find why, even with |
Just got back to working on this. Fixed a crash in the heartbeat thread. stdio is still not working — have to figure out the interaction of IJulia's stdio redirection with what Compat does. |
In my opinion, because Lines 28 to 36 in 4fef79f
EDIT: https://travis-ci.org/appleparan/IJulia.jl/jobs/389795873 after change from EDIT2: https://travis-ci.org/appleparan/IJulia.jl/builds/389981492 test passes on v0.7, but failed on v0.6 due to same reason but vice versa. Ah, that what you said about |
I was testing this today, and noticed a problem with showing backtraces. For example, a cell containing I was able to fix this by replacing Now running |
@drewrobson You can solve this problem by my commit appleparan@06e44e6#diff-de7d7de4e5274faf81359c1792eae1a8R66 The real problem is how to deal with "STD*" and "std*". I can't force with lowercase ver. because of 0.6 compatibility. Just |
Thanks @appleparan, I merged your patch into this PR. |
Actually, I made a mistake on |
We also need JuliaLang/Compat.jl#573 for the |
Confirmed that latest |
Ah, I didn't realize that logging wasn't working yet. Here's a workaround PR against |
@@ -19,7 +19,7 @@ function prog_version(prog) | |||
return nothing | |||
end | |||
try | |||
return convert(VersionNumber, v) | |||
return VersionNumber(v) |
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.
At some point I want to change this to VersionParsing.vparse(v)
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.
Is there reason not to add that code to Base for the VersionNumber
constructor and/or the @v_str
macro?
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.
My impression is that non-semver parsing is deemed out of scope for Base. By putting it in Base (in Julia 1.0) we would be committing to a particular nonstandard parsing scheme for a long time. The nice thing about having permissive parsing in a package is that it can be quickly updated when weird real-world examples arise.
See e.g. JuliaLang/julia#7282
Closing in favor of #671 |
This fixes most of the 0.7 compatibility issues. (Closes #637. Should close #646 too.)
Notebooks can now start and execute cells without deprecation warnings (assuming you have JSON and ZMQ master). Documentation tooltips work. Tests pass.
Some things are still broken, e.g. stdio seems borked at the moment.