From Fedora Project Wiki
(Created page with "= Enabling Python Generators by default = == Summary == This change enables the Python module dependency generator for packages that provide Python Egg/Wheel metadata by defa...")
 
mNo edit summary
Line 2: Line 2:


== Summary ==
== Summary ==
This change enables the Python module dependency generator for packages that provide Python Egg/Wheel metadata by default (this was [[Changes/EnablingPythonGenerators|opt-in since Fedora 28]].
This change enables the Python module dependency generator for packages that provide Python Egg/Wheel metadata by default (this was [[Changes/EnablingPythonGenerators|opt-in since Fedora 28]]).


== Owner ==
== Owner ==

Revision as of 14:25, 7 December 2018

Enabling Python Generators by default

Summary

This change enables the Python module dependency generator for packages that provide Python Egg/Wheel metadata by default (this was opt-in since Fedora 28).

Owner

Current status

  • Targeted release: Fedora 30
  • Last updated: 2018-12-07
  • Tracker bug: <will be assigned by the Wrangler>

Detailed Description

Please see detailed description from original change for information how it works and implemented.

In this change we will switch opt-in into opt-out.

Benefit to Fedora

All the benefits as stated in original change will be turned on for all packages (unless they opt-out).

Scope

  • Proposal owners: Flip the switch (in python-rpm-generators) and adjust python-rpm-macros to make feature be opt-out. Send patches to packages to remove unnecessary manual-specified dependencies.
  • Other developers: Packagers are strongly advised to remove manually-specified python dependencies if they are set in egg/wheel metadata.
  • Release engineering: #7965 (change should be implemented before mass rebuild)
  • Policies and guidelines: Python Guidelines needs to be updated with instructions how to disable the feature.
  • Trademark approval: N/A (not needed for this Change)

Upgrade/compatibility impact

Some new dependencies might be automatically added, but this is rather good because it fixes real bugs.

How To Test

TBD

User Experience

Users will see less number of packages with missing dependency information.

Dependencies

None.

Contingency Plan

  • Contingency mechanism: (What to do? Who will do it?) Owners will revert change and postpone it to next release.
  • Contingency deadline: Beta freeze.
  • Blocks release? No.
  • Blocks product? product

Documentation

Packaging guidelines already contain information how this feature work.

Release Notes