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 2048100

Summary: rpkg provides python3dist(rpkg-util) = 0
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: rpkg-utilAssignee: Copr Team <copr-team>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 37CC: clime7, praiskup, thrnciar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-01 08:49:08 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: 2117176, 2168842, 2048077, 2135404    

Description Miro Hrončok 2022-01-29 12:25:55 UTC
The package rpkg has the following automatic provide:

  python3dist(rpkg-util) = 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:25:51 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.

Comment 2 Simon de Vlieger 2022-08-06 06:35:43 UTC
@mhro is this still relevant? I've recently picked up this package for maintainership.

Comment 3 Miro Hrončok 2022-08-06 11:02:07 UTC
$ repoquery -q --repo=rawhide --provides rpkg
config(rpkg) = 3.2-3.fc37
python3.11dist(rpkg-util) = 0
python3dist(rpkg-util) = 0
rpkg = 3.2-3.fc37


Yes.

Comment 4 Miro Hrončok 2023-01-05 15:47:08 UTC
https://fedoraproject.org/wiki/Changes/Prevent-Providing-python3dist(pkg)=0 has landed and this package will now fail to build in Fedora 38+.

Comment 5 Ben Cotton 2023-04-25 18:23:35 UTC
This message is a reminder that Fedora Linux 36 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 36 on 2023-05-16.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '36'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 36 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 6 Fedora Admin user for bugzilla script actions 2023-07-01 00:47:10 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 7 Pavel Raiskup 2023-08-01 08:49:08 UTC
Thank you for the report and hints.  I've built the fixed packages in Rawhide:

rpmgit-tag-sort: https://koji.fedoraproject.org/koji/buildinfo?buildID=2267612
rpkg-macros:     https://koji.fedoraproject.org/koji/buildinfo?buildID=2253802
rpkg-util:       https://koji.fedoraproject.org/koji/buildinfo?buildID=2253810



rpm -q --provides -p https://kojipkgs.fedoraproject.org//packages/rpkg-util/3.2/5.fc39/noarch/rpkg-3.2-5.fc39.noarch.rpm
config(rpkg) = 3.2-5.fc39
python3.12dist(rpkg-util) = 3.2
python3dist(rpkg-util) = 3.2
rpkg = 3.2-5.fc39