cmake_format needs six but it is not declared as a dependency. Therefore, install python3-six explicitly.
cmake_format
six
python3-six