Bug 1847208

Summary: python3-pytest4 Provides python3dist(pytest)
Product: [Fedora] Fedora Reporter: Jerry James <loganjerry>
Component: python-pytest4Assignee: Miro Hrončok <mhroncok>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dradez, mhroncok, mrunge, pikachu.2014, pviktori, python-sig, thomas.moschny
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: 2020-07-08 12:23:58 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 Jerry James 2020-06-15 22:52:26 UTC
Description of problem:
Both python3-pytest and python3-pytest4 Provide python3dist(pytest).  This means that packages that BuildRequires: python3dist(pytest) might get either.  This is popping up in package reviews, where the existence of that BR prompts a complaint that a dependency on a deprecated package has been detected.

Version-Release number of selected component (if applicable):
python3-pytest4-4.6.11-1.fc33

How reproducible:
N/A

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Miro Hrončok 2020-06-16 00:01:10 UTC
> This means that packages that BuildRequires: python3dist(pytest) might get either.

Yes, this is a feature. Koji/mock/dnf will pick the higher possible version.

> This is popping up in package reviews, where the existence of that BR prompts a complaint that a dependency on a deprecated package has been detected.

This has been workarounded on FedoraReview side (with issue open for a more proper fix) for 2 weeks. I suggest you use the FedoraReview version from git for now or ask for a release.

https://pagure.io/FedoraReview/issue/392
https://pagure.io/FedoraReview/pull-request/393

Comment 2 Miro Hrončok 2020-06-24 13:15:17 UTC
Does that work for you, can I close this as NOTABUG?