Open j-s-ashley opened 1 week ago
Progress on the working branch for this issue is currently hindered by two (likely related somehow) errors:
ubuntu-latest
and macos-13
fail while building with Ninjawindows-latest
fails while building with Visual StudioAccording to the workflow logs, the Ubuntu and MacOS builds fail to locate Python.h and the Windows build can't find any of the wasserstein/internal/
files.
Build attempts currently fail on all platforms with the following error:
/home/runner/work/Wasserstein/Wasserstein/wasserstein/wasserstein.cpp:179:11: fatal error: Python.h: No such file or directory
179 | # include <Python.h>
| ^~~~~~~~~~
compilation terminated.
This build uses find_package
to find both Python interpreter and development modules in CMakeLists.txt.
To support packaging and CI/CD modernization in line with Scientific Python Best Practices, the
scikit-build-core
build backend should be used instead ofsetuptools
.