https://bugzilla.redhat.com/show_bug.cgi?id=2242971
--- Comment #10 from Tom Rix trix@redhat.com --- (In reply to Ben Beasley from comment #7)
(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.
Please go ahead and try, the upstream location of this spec is https://github.com/trixirt/pytorch-fedora/blob/main/python-torch.spec When your proof of concept plans out, please send me a PR.
The autogenerated build requires says we are missing python-cmake and python-ninja. Are these packages in the works ?
These missing packages, the docs saying cmake is a WIP and %project_wheel failing lead me to go back to py3_build.