https://bugzilla.redhat.com/show_bug.cgi?id=2242971
--- Comment #7 from Ben Beasley code@musicinmybrain.net --- (In reply to Tom Rix from comment #6)
pyproject-ing fails because this is a cmake project
It’s not quite that simple. If you can build with %py3_build it’s almost guaranteed that %pyproject_wheel can work, possibly with some minor adjustments. (I maintain several packages that use pyproject-rpm-macros and include a Python extension built with cmake or meson.) I’d like to offer a proof of concept for pytorch, but it may be a few days before I can try it out.