RapidFuzz: Cmake>= 3.15 is missing dependency for wheel.

Building Rapidfuzz with Yocto project., Scarthgap branch. https://git.openembedded.org/openembedded-core/log/?h=scarthgap

I ported Rapidfuzz to the scikit-build-core build system in our build-environment https://github.com/OpenPLi/openpli-oe-core/commit/12b5e8690f9347cf2d64ccf8be36744d739aa9fa

I need to apply a patch to remove the cmake check in the pyproject.toml file as workaround. https://github.com/OpenPLi/openpli-oe-core/commit/12b5e8690f9347cf2d64ccf8be36744d739aa9fa#diff-938b3f5a03475ad51edd749573d6c87e01a6267ce468572141204948d80bc37fR12

To fix compile error:

Log data follows: | DEBUG: Executing shell function do_compile | * Getting build dependencies for wheel... | | ERROR Missing dependencies: | cmake>=3.15 | WARNING: exit code 1 from a shell command.

Cmake version 3.28.3 is used. This is the only problem.

Do you know a proper solution to fix this?

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 18 (8 by maintainers)

Most upvoted comments

python3-cython-native isn’t really a dependency of scikit-build-core. So this should probably be a dependency of rapidfuzz and not of scikit-build-core.