stable

pyproject-rpm-macros-1.2.0-1.fc36

FEDORA-2022-80586f3147 created by churchyard 3 years 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

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

This update has been submitted for testing by churchyard.

3 years ago

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

3 years ago

This update has been pushed to testing.

3 years ago
User Icon mhayden commented & provided feedback 3 years 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 3 years 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.

3 years ago
User Icon churchyard commented & provided feedback 3 years 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.

3 years ago

Please log in to add feedback.

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

Automated Test Results