torch: Add cpython as a dependency for torch_python_obj (#56740)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/56740
Was running into a race condition where the torch_python_obj was
attempting to build before cpython was actually finished installing,
this should resolve that issue.
Only applicable on builds that use the `USE_DEPLOY=ON` option
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
Test Plan: Imported from OSS
Reviewed By: malfet
Differential Revision: D27953782
Pulled By: seemethere
fbshipit-source-id: 76dd7c4218870eac97fc4c14e20b46128d264b30