-
Notifications
You must be signed in to change notification settings - Fork 112
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] Increase minimum supported Julia version to v1.10 #2214
base: main
Are you sure you want to change the base?
Conversation
Review checklistThis checklist is meant to assist creators of PRs (to let them know what reviewers will typically look for) and reviewers (to guide them in a structured review process). Items do not need to be checked explicitly for a PR to be eligible for merging. Purpose and scope
Code quality
Documentation
Testing
Performance
Verification
Created with ❤️ by the Trixi.jl community. |
Thanks! |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2214 +/- ##
===========================================
- Coverage 96.37% 81.09% -15.29%
===========================================
Files 486 486
Lines 39186 39097 -89
===========================================
- Hits 37764 31702 -6062
- Misses 1422 7395 +5973
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
It seems like only the subcell limiting tests in Trixi2Vtk.jl are affected: @bennibolm @amrueda Any idea what's going on or why this might be? |
@ranocha Do you understand this error in the downgrade test? I don't understand whether it's Test.jl or Downloads.jl that's the culprit. It seems like we need to up the lower bound for at least one of them. |
We need to |
See the explanation of the |
@JoshuaLampert Thanks! Let's see if a133041 fixes this... |
Next standard library... (Random.jl) 😅 |
- version: '1.11' | ||
os: ubuntu-latest | ||
arch: x64 | ||
trixi_test: threaded_legacy |
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.
Why did you decide to use 1.11 for this?
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.
Since otherwise threaded_legacy
remains unused. I thought this would be an initial and small step towards testing at least some parts on v1.11. But I can also just remove it, I have no strong opinion here either way
Project.toml
Outdated
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.
We should remove the dependency on Requires.jl - I cannot comment on the line here
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 is only possible once we move Plots.jl into an extension. I'd rather do this in a separate PR, since I do not have the resources to do this at the moment.
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.
Tracked in #2216
If I get it correctly, those errors are somehow expected. Since we are using Julia 1.9 (and 1.7) in the test in Trixi2Vtk.jl, those numbers of the subcell limiting were calculated using 1.9. It should be relatively simple to fix that: Open a PR in Trixi2Vtk.jl using 1.10 instead of 1.9, download the "result files" there and push them to Trixi2Vtk_reference_files. I'm happy to help with this. |
Thanks a lot for the clarification and for your offer to help! It would be great if you could prepare a similar to PR to this one here for Trixi2Vtk.jl, essentially switching over to Julia v1.10 for all testing. Once that's in place, we can also merge this PR here. If you have questions about what needs to be changed in the CI and how, please let me know (in the PR or via Slack). |
Thanks to @bennibolm, Trixi2Vtk.jl is now fit for Julia v1.10. What about our other major downstream packages - is it OK to bump Trixi.jl's minimum Julia version to v1.10? It would be great if you could confirm here (or let us know why not):
|
You @sloede should also ask me - it would be impolite to exclude me as a downstream user. |
We are already testing |
Please do not merge yet until we are sure that everything still works, including downstream packages.
TODO