Bug 1902785 - Provides list wrong version for py3dist() and py3.9dist()
Summary: Provides list wrong version for py3dist() and py3.9dist()
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pytest-filter-subpackage
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mattia Verga
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-30 16:42 UTC by Christian Dersch
Modified: 2020-12-01 07:49 UTC (History)
2 users (show)

Fixed In Version: python-pytest-filter-subpackage-0.1.1-2.fc34
Clone Of:
Environment:
Last Closed: 2020-12-01 07:49:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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