Re: An unsuccessful case study: Using pyproject-rpm-macros with PyQt-builder and sip 5

2021-07-21 Thread Scott Talbert

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___
python-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: An unsuccessful case study: Using pyproject-rpm-macros with PyQt-builder and sip 5

2021-07-21 Thread Miro Hrončok

On 21. 07. 21 20:25, Scott Talbert wrote:
Miro, do you know any examples of Fedora packages that are using PEP-517 build 
systems that build extension modules (successfully)?


This following CI spec files:

printrun.spec
python-ldap.spec
python-markupsafe.spec
python-mistune.spec

All in 
https://src.fedoraproject.org/rpms/pyproject-rpm-macros/blob/rawhide/f/tests

At least the following actual packages in Fedora:

python-indexed_gzip
python-pendulum
python-xmlsec

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
___
python-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure