Conversation
Codecov ReportBase: 64.00% // Head: 93.61% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## develop #218 +/- ##
============================================
+ Coverage 64.00% 93.61% +29.60%
============================================
Files 18 15 -3
Lines 1328 908 -420
============================================
Hits 850 850
+ Misses 478 58 -420 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Signed-off-by: Cristian Le <[email protected]>
Signed-off-by: Cristian Le <[email protected]>
Signed-off-by: Cristian Le <[email protected]>
Signed-off-by: Cristian Le <[email protected]>
|
Worth pointing out. I have tested moving back to the old approach with Edit: Oh wow, "the fix" is so stupid... |
Signed-off-by: Cristian Le <[email protected]>
8cf0302 to
18a122c
Compare
|
Sorry about the amount of CI actions. Cmake linking on windows is soo weird |
c4064b7 to
ddef3e4
Compare
Signed-off-by: Cristian Le <[email protected]>
|
@atztogo Finally got it working. Weirdly, the ubuntu tests take half an hour to perform. Any idea on that? Edit: That was because it was running emulated |
Good luck! Signed-off-by: Cristian Le <[email protected]>
Signed-off-by: Cristian Le <[email protected]>
|
Like what we did in #212. The CIs pass so I suspect it works, but confirm that please |
Signed-off-by: Cristian Le <[email protected]>
|
Note that last commit is a |
Yes, on macOS arm64, I confirmed that it works. A warning was printed out in the build process by which is |
|
Great, this should be ready now. I've cleaned the warning a bit for more general systems. Also I've removed the Python2 compatibility macros since it has been sunset-ed for 3 years and we do not test them. Build system would not work for it also. |
Signed-off-by: Cristian Le <[email protected]>
Signed-off-by: Cristian Le <[email protected]>
|
Merged to rc. Thanks a lot @LecrisUT! |
This PR has a few changes:
ctestCI to be purely cmake. Didn't make much sense to be python dependent therepyproject.tomlenvironment. Some equivalent commands to thesetup.pyones are:setup.py build->python -m build(need to installpip install build). This is mostly unnecessary unless you want to fail quicklysetup.py install->pip install .nanoversionscript until we think of how to implement it with dynamic variable Extract metadata from cmake scikit-build/scikit-build-core#172We need to do a few tests on this:
developinitially to trigger these (CI job finished)scikit-build-corepypi-weel-builds. We'll change the target branch torcifdevelopworks to test it there (and if necessary back todevelopto keep the branches synced)@atztogo please let me know how the mac build goes. You can manually set it
-DCMAKE_OSX_DEPLOYMENT_TARGET=...inpyprojec.tomlif it doesn't work automatically and I'll write a PR upstream for that fix.About making editable installs, this should be doable via
pip install --editable .. But for this we need scikit-build/scikit-build-core#171Closes #217
Currently,
cibuildwheelstill doesn't work locally. Added upstream issue: scikit-build/scikit-build-core#173. Here's the setup to debug locally assuming you have a docker/podman environment:$ CIBW_CONTAINER_ENGINE=podman cibuildwheel . --platform linux