aws-samples/terraform-aws-pipeline

SAST failure

jakebark opened this issue · 1 comments

SAST action fails on Running command pip3 install checkov.

      error: can't find Rust compiler
      
      If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
      
      To update pip, run:
      
          pip install --upgrade pip
      
      and then retry package installation.
      
      If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for rustworkx
Failed to build rustworkx
ERROR: Failed to build installable wheels for some pyproject.toml based projects (rustworkx)

Similar issues to here: bridgecrewio/checkov#6045

Overnight change from python 3.12.4 to 3.13.1 in the CodeBuild project. Will push a fix that locks to 3.12.