Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #428 +/- ##
===========================================
- Coverage 74.98% 63.30% -11.69%
===========================================
Files 22 22
Lines 3338 3338
===========================================
- Hits 2503 2113 -390
- Misses 835 1225 +390 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
A few comments:
|
|
Changes look good, just left a few minor comments. I do think in the medium term we should probably move to mesonpy as that project seems mature, at the time we decided to wait because it seems it would get merged back to meson but that no longer appears to be the plan. |
Agree, I think with meson-py a large amout of boilerplate can be outsourced. |
| if p1.returncode != 0: | ||
| with open(setup_log, "r") as f: | ||
| print(f.read()) | ||
| raise OSError(sysargs, f"The meson setup command failed! Check the log at {setup_log} for more information.") |
There was a problem hiding this comment.
Could improve the error message slightly by mentioning that it is also printed above. Bonus points with adding a header/footer to print(p1.stdout) to clearly delineate which part is from the log. Can do the same with p2 below.
There was a problem hiding this comment.
Fair points. Given the imminent switch to meson-py (I can work on it), I would also be OK if one of the maintainers wanted to merge as-is.
|
Alright, merging and then hopefully the other PRs can go through too. |
|
FYI @whophil the coverage went down because this PR was initiated on your branch, and therefore CI skips testing some proprietary optimizers (such as SNOPT). |
Purpose
This PR improves the apparently flaky Windows build by making it better match the conda-forge build.
Flang is pinned to 5, which is the same as the current conda-forge global pin. The previous builds were using "latest" Flang, which resolved to 19. I'm not sure why the Flang 19 builds were flaky.
Note that conda-forge is currently migrating to Flang 19. As more conda-forge projects migrate to Flang 19, we can consider updating the CI here to Flang 19, leaning on the experience of the increasing number of conda-forge packages using Flang 19.
Expected time until merged
Type of change
Testing
Checklist
flake8andblackto make sure the Python code adheres to PEP-8 and is consistently formattedfprettifyor C/C++ code withclang-formatas applicable