Closed paugier closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 94.38%. Comparing base (
604483b
) to head (c51cb7f
). Report is 6 commits behind head on main.:exclamation: Current head c51cb7f differs from pull request most recent head 9f42693
Please upload reports for the commit 9f42693 to get more accurate results.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Thank you so much for doing this @paugier ! I have no experience using pdm and meson but I understand that pylandstats is now compiled using pythran in windows too, right?
Regarding nox: I am okay with switching, but if I understand this correctly, we still need to keep tox.ini? How about the tests in github actions? shouldn't tests.yml be changed to use nox?
Thank you again!
but I understand that pylandstats is now compiled using pythran in windows too, right?
Yes, exactly! And as a bonus there are also the files necessary to use Numba in the wheels. So Numba can be used if TRANSONIC_BACKEND
is set to "numba"
.
How about the tests in github actions? shouldn't tests.yml be changed to use nox?
Yes, in practice, it is not necessary to have tox.ini and noxfile.py. I didn't touch the Github Actions configuration so I didn't remove tox.ini. Do you feel you can try to adapt tests.yml to use Nox? You can find an example here https://foss.heptapod.net/fluiddyn/fluidimage/-/blob/branch/default/.github/workflows/ci-linux.yml Do not hesitate to tell me if it does not work!
well for some reason some pythran build errors seem to occur in github actions :crying_cat_face:
Oh finally it was much more changes that I expected...
This is a draft, but it gives a good idea of what it could give.
There are few interesting commands in the Makefile, in particular
make
should install the package in a dedicated local virtual env (.venv).I used Nox instead of Tox because it is simpler for me.