stable

pyproject-rpm-macros-1.2.0-1.fc36

FEDORA-2022-80586f3147 created by churchyard 10 months ago for Fedora 36

%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.

How to install

sudo dnf upgrade --refresh --advisory=FEDORA-2022-80586f3147

This update has been submitted for testing by churchyard.

10 months ago

This update's test gating status has been changed to 'ignored'.

10 months ago

This update has been pushed to testing.

10 months ago
User Icon mhayden commented & provided feedback 10 months ago
karma

Although I haven't tried the new -w option, the macros seem to work fine on my desktop in mock with my existing packages. ๐Ÿ‘๐Ÿป

User Icon music commented & provided feedback 10 months ago
karma

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 from pending to testing.

This is great!

BZ#2076994 RFE: Support generating runtime BuildRequires for build backends without prepare_metadata_for_build_wheel()

This update has been submitted for stable by bodhi.

10 months ago
User Icon churchyard commented & provided feedback 10 months ago

Yeah, in order to create SRPMs that use the -w option, you need one of the following:

  • update the local pyproject-rpm-macros package to 1.2+
  • uninstall the local pyproject-rpm-macros package entirely
  • redefine %pyproject_buildrequires(rRxtNwe:) %{nil} (e.g. in ~/.rpmmacros)

This update has been pushed to stable.

10 months ago

Please login to add feedback.

Metadata
Type
enhancement
Karma
2
Signed
Content Type
RPM
Test Gating
Settings
Unstable by Karma
-2
Stable by Karma
2
Stable by Time
7 days
Dates
submitted
10 months ago
in testing
10 months ago
in stable
10 months ago
BZ#2076994 RFE: Support generating runtime BuildRequires for build backends without prepare_metadata_for_build_wheel()
0
1

Automated Test Results