Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 2048089

Summary: python3-extension-helpers provides python3dist(extension-helpers) = 0
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: python-extension-helpersAssignee: Mattia Verga <mattia.verga>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: astro-sig, lupinix.fedora, mattia.verga, orion, python-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-extension-helpers-1.0.0-1.fc38 python-extension-helpers-1.0.0-1.fc37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-14 12:21:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2048077    

Description Miro Hrončok 2022-01-29 12:17:06 UTC
The package python3-extension-helpers has the following automatic provide:

  python3dist(extension-helpers) = 0

It appears that the actual package version was lost during the packaging process. 

In most cases, this is caused by using a Source that misses version information, e.g. A GitHub tarball when the project uses setuptools_scm or pbr. See https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_source_files_from_pypi

This bugzilla was created in a batch, so it does not have information about the exact cause for this package. If you need help figuring out why this happens in this particular package, feel free to ask.

Comment 1 Ben Cotton 2022-02-08 20:26:11 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.

Comment 2 Mattia Verga 2022-08-14 08:21:46 UTC
(In reply to Miro Hrončok from comment #0)
> The package python3-extension-helpers has the following automatic provide:
> 
>   python3dist(extension-helpers) = 0
> 
> It appears that the actual package version was lost during the packaging
> process. 
> 
> In most cases, this is caused by using a Source that misses version
> information, e.g. A GitHub tarball when the project uses setuptools_scm or
> pbr. See
> https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/
> #_source_files_from_pypi
> 
> This bugzilla was created in a batch, so it does not have information about
> the exact cause for this package. If you need help figuring out why this
> happens in this particular package, feel free to ask.

I've been trying to upgrade the package version and fix this, but I'm still getting:
`Provides: python-extension-helpers = 1.0.0-1.fc38 python3-extension-helpers = 1.0.0-1.fc38 python3.11-extension-helpers = 1.0.0-1.fc38 python3.11dist(extension-helpers) = 1 python3dist(extension-helpers) = 1`

Miro, do you have any idea why the automatic provides macro is stripping the minor version?

Comment 3 Mattia Verga 2022-08-14 08:54:47 UTC
I've almost forgot: here it is the scratch build
https://koji.fedoraproject.org/koji/taskinfo?taskID=90780167

Comment 4 Miro Hrončok 2022-08-14 10:55:11 UTC
That is correct. Version 1.0.0 == 1 in Python's terms, so the dependency generator strips all trailing zeros.

Comment 5 Fedora Update System 2022-08-14 12:20:38 UTC
FEDORA-2022-c10bc4f4e6 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2022-c10bc4f4e6

Comment 6 Fedora Update System 2022-08-14 12:21:34 UTC
FEDORA-2022-c10bc4f4e6 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2022-08-14 12:22:45 UTC
FEDORA-2022-7fc17b0773 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-7fc17b0773

Comment 8 Fedora Update System 2022-08-14 12:24:31 UTC
FEDORA-2022-7fc17b0773 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.