Bug 1902785

Summary: Provides list wrong version for py3dist() and py3.9dist()
Product: [Fedora] Fedora Reporter: Christian Dersch <lupinix.fedora>
Component: python-pytest-filter-subpackageAssignee: Mattia Verga <mattia.verga>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: astro-sig, mattia.verga
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-pytest-filter-subpackage-0.1.1-2.fc34 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-01 07:49:54 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:

Description Christian Dersch 2020-11-30 16:42:32 UTC
Description of problem: The generated Provides for py3dist() and py3.9dist() list version 0, not 0.1.1, leading to issues with packages depending on higher version.


Version-Release number of selected component (if applicable): 0.1.1-1.fc34


How reproducible: always


Steps to Reproduce: Check https://kojipkgs.fedoraproject.org//packages/python-pytest-filter-subpackage/0.1.1/1.fc34/data/logs/noarch/build.log


Actual results:
Provides: python-pytest-filter-subpackage = 0.1.1-1.fc34 python3-pytest-filter-subpackage = 0.1.1-1.fc34 python3.9-pytest-filter-subpackage = 0.1.1-1.fc34 python3.9dist(pytest-filter-subpackage) = 0 python3dist(pytest-filter-subpackage) = 0

Expected results:
Provides: python-pytest-filter-subpackage = 0.1.1-1.fc34 python3-pytest-filter-subpackage = 0.1.1-1.fc34 python3.9-pytest-filter-subpackage = 0.1.1-1.fc34 python3.9dist(pytest-filter-subpackage) = 0.1.1 python3dist(pytest-filter-subpackage) = 0.1.1


Additional info:
Results in issues such as 
DEBUG util.py:634:    - nothing provides python3.9dist(pytest-filter-subpackage) >= 0.1 needed by python3-pytest-astropy-0.8.0-1.fc34.noarch

Comment 1 Mattia Verga 2020-11-30 18:02:52 UTC
Odd, that should be handled automatically by the %py_provides macro.

Comment 2 Christian Dersch 2020-11-30 19:25:13 UTC
Looks like the /usr/lib/python3.9/site-packages/pytest_filter_subpackage-0.0.0-py3.9.egg-info/PKG-INFO is wrong, lists version 0.0.0. The pre-generated (deleted at buildtime) one in the source tarball lists 0.1.1.

Comment 3 Fedora Update System 2020-12-01 07:49:54 UTC
FEDORA-2020-91fa40cc26 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.