On Wed, 23 Jun 2021, Miro HronĨok wrote:
%pyproject_buildrequires works and generates requirements on
python3dist(sip)
and python3dist(pyqt-builder) \o/
%pyproject_buildrequires -r doesn't work. It says:
ValueError: build backend cannot provide build metadata
(incl. runtime requirements) before buld
Except for the typo [3], this is the expected behavior for a build backend
that does not support the prepare_metadata_for_build_wheel hook. Bummer, but
fair.
We can RFE PyQt-builder to add that hook.
As a start to tackling these problems, I sent this RFE upstream. It looks
like it should be relatively easy to implement, as far as I can see.
Miro, do you know any examples of Fedora packages that are using PEP-517
build systems that build extension modules (successfully)?
Scott