equinor/xtgeo

Update cmake settings for scikit-build-core >= 0.8

mferrera opened this issue · 1 comments

When installing xtgeo with the latest scikit-build-core the following error occurs.

× Getting requirements to build wheel did not run successfully.
  │ exit code: 7
  ╰─> [2 lines of output]
      WARNING: Use cmake.version instead of cmake.minimum-version with scikit-build-core >= 0.8
      ERROR: Cannot set both cmake.minimum_version and cmake.version; use version only for scikit-build-core >= 0.8.
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 7
╰─> See above for output.

The PR to address this may not be necessary. This error appears to have been a bug in scikit-build-core==0.10.0 which was promptly fixed in scikit-build-core==0.10.1 but we can merge the PR if CI fails overnight again, or if we just, you know, feel like it.