ComputeCanada / software-stack-config

8 stars 3 forks source link

Added cmake constraint. Force our dummy wheel or fail for version above. #60

Open ccoulombe opened 11 months ago

ccoulombe commented 11 months ago

CMake Python wheel are duplicate of the system cmake, in order for python packages to build with cmake, it provides cmake, cpack and ctest binaries Having cmake wheels are unnecessary and takes a very long time to build, and fails randomly sometimes

Having a dummy wheel where we constraint pip to install our dummy wheel (3.23.1) or fail if a version above our module is requested.

Meet the requirements : cmake, cmake<3.24, cmake>3.21 Fails when :

mboisson commented 11 months ago

Hum, I just thought that we need to have a separate constraint file for build-node, otherwise this will eventually make its way to production without having the actual dummy wheel on clusters.

ccoulombe commented 11 months ago

Hmm ok, then we can let this PR rest until then