https://bugzilla.redhat.com/show_bug.cgi?id=2242971
--- Comment #22 from Miro Hrončok mhroncok@redhat.com --- Upstream says they need the following Python packages to build:
https://github.com/pytorch/pytorch/blob/v2.1.0/pyproject.toml [build-system] requires = [ "setuptools", "wheel", "astunparse", "numpy", "ninja", "pyyaml", "cmake", "typing-extensions", "requests", ]
Apparently, they are using https://pypi.org/project/cmake/ and https://pypi.org/project/ninja/ -- if you want to use "normal" cmake and ninja instead, unfortunately, you need to patch/sed those out.