Closed dhellmann closed 4 months ago
@henryiii you may have an opinion about this PR. Please let me know if I'm misinterpreting the scikit-build-core settings, but my local testing shows this change avoids having cmake depend on itself for building wheels.
cmake.version = ""
should disable requesting the cmake
python package, but it will still require cmake
to be available, generally via a possibly older version pre-installed. wheel.cmake = False
will not run CMake at all, and all of our logic is in CMakeLists.txt
. sdist.cmake = False
is the default for SDists.
Hmm. That's definitely not the behavior I'm seeing. Maybe I have an old version of scikit-build-core. I'll keep digging on my side. Thanks for the quick response!
OK, I can't find why, but I get different results for python 3.10 and 3.11, even for the same versions of pyproject_hooks and scikit-build-core. I think this is an issue in some other part of the tool chain, so I'll close this out and look for another way to work around it.
Sorry for the noise, and thanks for the quick response!
Configure scikit-build-core to not include cmake in the build backend dependencies for this package so that we avoid a circular dependency.
Fixes #506