Move from setuptools to scikit-build-core#217
Conversation
|
@lukovdm @linusheck Could the two of you try this PR once on your system? |
|
This seems to have a hard requirement for carl-parser? It complains about it not being there, while the |
|
In principle, it should also work without the carl-parser, see here. At least in some of the CI tests it seemed to work. Can you check whether what value PYCARL_HAS_PARSE has for you? |
|
When combined with stormchecker/storm#602, I get the following error compiling... FAILED: CMakeFiles/storage.dir/src/storage/dd.cpp.o |
|
I noticed that the pybind header is an installed header and removing pybind there seems to help. Question is how we avoid this ... |
I also get this... Indeed, it says: Which I believe should not happen. I will investigate. |
|
Yes, the problem is that
is not valid CMAKE. |
|
The next error that i run into is |
|
Thanks for the fixes @sjunges. Did this resolve both your issues or should I take a look into it? |
|
This is my next error message: |
|
Thanks for the update. Good to know that you get this error message as well. I got it a couple of times myself but thought it was due to my nix setup. I will look deeper into it. |
|
I restructured the building of the modules to avoid code duplication. |
|
@sjunges Can you check at some point whether you can build it now? |
|
Can we already merge this PR? Then we can add the remaining changes from #229 in a second step. |
|
Works for me! |
|
Great to hear and thanks for testing! |
Updated build system by using scikit-build-core.
Build should be significantly more streamlined now and can be performed with
pip install .One thing which can be improved in the future is the CI for stable versions. Before, we relied on a custom exit code to detect build failure due to version mismatch. I did not find a good solution for this yet and currently we consider exit code 1 as okay.
The build step via
pip install .currently rebuilds all files for me, but with the ccache the building time is acceptable.This PR should fix the following issues:
and make progress towards: