-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On Mon, 2018-01-22 at 21:24 +0000, Zbigniew Jędrzejewski-Szmek wrote:
On Mon, Jan 22, 2018 at 08:51:43PM +0100, Jan Kurik wrote:
= Proposed Self Contained Change: Enabling Python Generators = https://fedoraproject.org/wiki/Changes/EnablingPythonGenerators
It's great that this is finally happening.
== Detailed Description == There is RPM dependency generator which is able to automatically add Requires/Provides and other types of dependencies based on egg/wheel metadata. The part which is generating Provides has been used in Fedora since Jun 2016 which means by now all packages which provide egg/wheel metadata have Provides: pythonX.Ydist(xyz) added automatically. With this change proposal we allow people to opt-in for using automatic generation of Requires.
What about BuildRequires? Quite often that list even more work to generate, and your proposal does not address it in any way. Do you foresee a separate generator that would be run manually or some other solution?
Right now, RPM doesn't support generation of BuildRequires. I've fileld ticket about this long time ago[0]. I really hope this could be done somewhere in 4.15 timeline. But then it will take another decade to get it supported in Fedora ☹
[0] https://github.com/rpm-software-management/rpm/issues/104 - -- - -Igor Gnatenko