https://bugzilla.redhat.com/show_bug.cgi?id=2009827
--- Comment #7 from Ben Beasley <code(a)musicinmybrain.net> ---
(In reply to Aniket Pradhan from comment #5)
Ahh, sure... I'll try converting this package to use the
pyproject-rpm-macros...
Last I remember they worked only for projects using pyproject.toml file, but
I have been out of touch lately, and there has been amazing development on
it.
They work quite well for all but the most exotic Python packages,
pyproject.toml or not. The new Python packaging guidelines
(
https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/) require
them. The old Python guidelines
(
https://docs.fedoraproject.org/en-US/packaging-guidelines/Python_201x/) are
considered deprecated, but packaging under them is still allowable.
The few packages I have not yet been able to convert are generally those that
build multiple Python packages with distinct metadata from a single source
archive (
https://src.fedoraproject.org/rpms/python-opentelemetry,
https://src.fedoraproject.org/rpms/grpc,
https://src.fedoraproject.org/rpms/gaupol). Packages that are still using
distutils instead of setuptools or a PEP517 build system like flit/poetry/build
are extremely rare now (gaupol is one), but they wouldn’t work either.
Not having to manually update BuildRequires all the time is a great selling
point!
--
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2009827