I believe some clarification for this proposal is in order
On 2025/06/07 14:49, Aoife Moloney wrote:
Old: %build %py3_build New: %build %pyproject_wheel
The %py3_build expands to `python3 setup.py build` [1] which is the interface that is being removed. %pyproject_wheel expands to `pip wheel` [2], which will read setup.py and build (presumably without calling the removed interface). That's why changing the interface to %pyproject_wheel would be enough, as long as pip would be working properly with the new setuptools (should not give a deprecation warning if run currently).
[1]: https://src.fedoraproject.org/rpms/python-rpm-macros/blob/rawhide/f/macros.python3#_46 [2]: https://src.fedoraproject.org/rpms/pyproject-rpm-macros/blob/rawhide/f/pyproject_wheel.py#_46
-- _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org 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/devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue