#4419 Deprecated %py3_* macros in spec
Closed: Fixed by mikem. Opened by mikem.

Our current spec uses %py[23]_build_wheel and %py[23]_install_wheel which have been deprecated in Fedora and are expected to go away in F45.

See: https://fedoraproject.org/wiki/Changes/DeprecateSetuppyMacros

Fedora bug: https://bugzilla.redhat.com/show_bug.cgi?id=2377301


At the moment, it is unclear if we can migrate these macros to suit Fedora's requirements while maintaining backwards compatibility in our spec over all our platforms. We may need shift to providing multiple example spec files.

Metadata Update from @mikem:
- Custom field Size adjusted to None

all our platforms.

Does that include RHEL 8? RHEL 7?

Does that include RHEL 8? RHEL 7?

yes

The spec file is riddled with %ifs anyway, so it's possible. You can use the %pyproject macros pretty much the same way starting from RHEL 9.

There is partial EPEL 8 support, but if you need to support RHEL 7 (and plan RHEL 8), it's easier to write the %if as 0%?rhel && 0%?rhel >= 9.

/ msg sync

Metadata Update from @mikem:
- Issue set to the milestone: 1.36

Metadata Update from @jcupova:
- Issue tagged with: testing-basic

Metadata Update from @mfilip:
- Issue tagged with: testing-done

Commit 8518d4ff fixes this issue

Commit fec0baa0 fixes this issue

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/4419

Please continue any further discussion there.

Metadata
Related Pull Requests