F28 Self Contained Change: Enabling Python Generators

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



= Proposed Self Contained Change: Enabling Python Generators =
https://fedoraproject.org/wiki/Changes/EnablingPythonGenerators

Change owner(s):
* Igor Gnatenko <ignatenkobrain@xxxxxxxxxxxxxxxxx,>
* Neal Gompa <ngompa13@xxxxxxxxx>

This change enables the ability to choose to use the Python module
dependency generator for packages that provide Python Egg/Wheel
metadata.


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

All dependencies which are added are generated out of metadata which
means in order to fix them - you need to fix metadata (usually
setup.py or requirements.txt).

Other distributions (such as Mageia, OpenMandriva, and PLD) have been
using this dependency generator for long time already.

In F29 we plan to propose to make generator opt-out.


== Scope ==
* Proposal owners:
Add macros to python-rpm-macros package which enables dependency generator.

* Other developers:
Packagers are advised to replace their hand-crafted list of
dependencies on python libraries with simple macros.

* Release engineering:
#7276: https://pagure.io/releng/issue/7276

* List of deliverables:
N/A (not a System Wide Change)

* Policies and guidelines:
Packaging:Python Guidelines need to reference how to turn on the
feature (simple variable override). #740:
https://pagure.io/packaging-committee/issue/740 .

* Trademark approval:
N/A (not needed for this Change)
-- 
Jan Kuřík
Platform & Fedora Program Manager
Red Hat Czech s.r.o., Purkynova 99/71, 612 45 Brno, Czech Republic
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux