Bug 2150046 - Prevent from building RPM packages providing python3dist(...) = 0
Summary: Prevent from building RPM packages providing python3dist(...) = 0
Keywords:
Status: ON_QA
Alias: None
Product: Fedora
Classification: Fedora
Component: Changes Tracking
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Karolina Surma
QA Contact:
URL:
Whiteboard:
Depends On: python3dist0
Blocks: F38Changes
TreeView+ depends on / blocked
 
Reported: 2022-12-01 17:57 UTC by Ben Cotton
Modified: 2023-01-09 14:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---


Attachments (Terms of Use)

Description Ben Cotton 2022-12-01 17:57:17 UTC
This is a tracking bug for Change: Prevent from building RPM packages providing python3dist(...) = 0
For more details, see: https://fedoraproject.org/wiki/Changes/Prevent-Providing-python3dist(pkg)%3D0

It sometimes happens that Python packages succeed to build as RPM with incorrect version metadata.
They generate a wrong provide in format python3dist(...) = 0 and python3.Xdist(...) = 0.
While version 0 (or equal versions like 0.0 or 0.0.0) is probably technically valid, in most cases this indicates a packaging error. 
We propose to prevent this error from happening by explicitly failing the RPM build instead of generating such provides.

If you encounter a bug related to this Change, please do not comment here. Instead create a new bug and set it to block this bug.


Note You need to log in before you can comment on or make changes to this bug.