-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
update to Julia v1.7 #665
update to Julia v1.7 #665
Conversation
Some features that might be interesting:
|
This will probably require changes if the KHI test as discussed some months ago. |
Just to be clear that I understand the urgency of this PR - and its attached TODOs - correctly: Requiring Julia 1.7 for Trixi.jl in order to use some of the new features requires us to first fix P4est.jl such that it works with Julia 1.7 as well, which in turn requires us to tackle trixi-framework/P4est.jl#37? |
Correct. Let's make the statement even a bit more clear: If anybody wants to use Trixi.jl and Julia v1.7 for whatever reason, we need to fix trixi-framework/P4est.jl#37. The usual reasons are
|
OK, so this means this should be prioritized in order to fix everything before Julia 1.7 is released, which could be any time soon (likely after JuliaCon), since we are already into the 2nd or 3rd beta version... I'll try to have a look starting tomorrow. |
Do you have some place in kind where you would like to use this, @sloede? |
No, I think the keyword here is might be interesting :-) I faintly recall that we used this |
Let's move the discussion of new features etc. to #731. I would like to get this ready, see whether tests pass on v1.7, revert the CI changes back to using Julia v1.6, and get merge this to be prepared for Julia v1.7. |
This should enable passing tests on Julia v1.7. I reverted the change of the Julia version in CI so that we can merge this now to be prepared. We can revisit #731 later. |
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.
LGTM! Thanks for preparing everything!
Codecov Report
@@ Coverage Diff @@
## main #665 +/- ##
=======================================
Coverage 93.67% 93.67%
=======================================
Files 172 172
Lines 16755 16755
=======================================
Hits 15694 15694
Misses 1061 1061
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
TODO
CBinding@1
P4est.jl#31) (using a workaround for now)@warn
printing tostderr
instead ofstdout
(see logging: redirect closed streams to stderr/stdout JuliaLang/julia#40423)Base.download is deprecated; use Downloads.download instead
(more robust tests #692)Details
Julia 1.6:
Julia 1.7:
42 of 2540 tests fail locally for me.
P4est
CI:
Thus, it looks like we have three options for P4est to use Julia v1.7.