%pyproject_buildrequires: Add provisional -w flag for build backends without prepare_metadata_for_build_wheel hook When used, the wheel is built in %pyproject_buildrequires and information about runtime requires and extras is read from that wheel.
Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:
sudo dnf upgrade --refresh --advisory=FEDORA-2022-80586f3147
Please login to add feedback.
This update has been submitted for testing by churchyard.
This update's test gating status has been changed to 'ignored'.
This update has been pushed to testing.
Although I haven't tried the new
-w
option, the macros seem to work fine on my desktop in mock with my existing packages. ๐๐ปI had to manually update my F35 workstation with the corresponding pyproject-rpm-macros update in order to be able to do anything, even just
fedpkg build
, with a spec file that uses the new-w
option. I guess that isnโt surprising.Once I did that, this worked beautifully with
python-hatchling
in F37 and F36. I can fully test it on F35 once the update for that release moves frompending
totesting
.This is great!
This update has been submitted for stable by bodhi.
Yeah, in order to create SRPMs that use the
-w
option, you need one of the following:%pyproject_buildrequires(rRxtNwe:) %{nil}
(e.g. in~/.rpmmacros
)This update has been pushed to stable.