Bug 2237481 - No machine-readable provides (python3dist(librepo))
Summary: No machine-readable provides (python3dist(librepo))
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: librepo
Version: 38
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-09-05 16:39 UTC by Jiri Popelka
Modified: 2024-05-31 08:27 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-05-31 08:27:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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