Bug 2237481

Summary: No machine-readable provides (python3dist(librepo))
Product: [Fedora] Fedora Reporter: Jiri Popelka <jpopelka>
Component: librepoAssignee: rpm-software-management
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 38CC: daniel.mach, jmracek, mblaha, pkratoch, rpm-software-management, tmlcoch
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-31 08:27:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jiri Popelka 2023-09-05 16:39:03 UTC
https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#Machine-readable-provides

"Every Python package MUST provide python3dist(DISTNAME) and python3.Xdist(DISTNAME), where X is the minor version of the interpreter and DISTNAME is the Canonical project name corresponding to the Dist-info metadata. For example, python3-django would provide python3dist(django) and python3.9dist(django)."


Reproducible: Always

Steps to Reproduce:
rpm -q --provides python3-librepo
Actual Results:  
python-librepo = 1.15.2-1.fc38
python3-librepo = 1.15.2-1.fc38
python3-librepo(x86-64) = 1.15.2-1.fc38
python3.11-librepo = 1.15.2-1.fc38

Expected Results:  
python3.11dist(librepo) = 1.15.2
python3dist(librepo) = 1.15.2

The same applies to python3-hawkey and python3-solv for which I'll create separate issues if you confirm that it's not expected.

I need this to port https://src.fedoraproject.org/rpms/rpmdeplint to pyproject-rpm-macros

Thanks!

Comment 1 Jaroslav Mracek 2023-12-04 11:18:19 UTC
The request is valid and our packages does not generate required provides automatically.

Comment 2 Aoife Moloney 2024-05-31 08:27:17 UTC
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21.

Fedora Linux 38 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.