Bug 2045988

Summary: Please package python3-mock into EPEL9
Product: [Fedora] Fedora EPEL Reporter: Pavel Raiskup <praiskup>
Component: python-mockAssignee: Orphan Owner <extras-orphan>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel9CC: extras-orphan, fschwarz, mhroncok, python-sig, TicoTimo
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: 2022-01-26 08:26:42 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:
Bug Depends On:    
Bug Blocks: 2045987    

Description Pavel Raiskup 2022-01-26 06:42:55 UTC
This blocks python-responses build, which in turn blocks
copr-cli build.

Comment 1 Felix Schwarz 2022-01-26 07:49:20 UTC
I think python-responses also works without mock, using "unittest.mock" then. So maybe we don't need this package?

Comment 2 Pavel Raiskup 2022-01-26 07:52:26 UTC
> I think python-responses also works without mock, using "unittest.mock" then. So maybe we don't need this package?

Perhaps?  I did not try so far.  Note there's also python-humanize that currently depends on python-mock.

Comment 3 Miro Hrončok 2022-01-26 08:13:53 UTC
python-mock was added to epel9 and later retired. Let's save ourselves some cycles and not do it again?

I can send a PR to python-humanize and python-responses.

Comment 4 Miro Hrončok 2022-01-26 08:14:12 UTC
Context: https://fedoraproject.org/wiki/Changes/DeprecatePythonMock

Comment 6 Miro Hrončok 2022-01-26 08:26:42 UTC
https://src.fedoraproject.org/rpms/python-humanize/pull-request/5

(The package is seriously outdated.)

*** This bug has been marked as a duplicate of bug 2029156 ***

Comment 7 Pavel Raiskup 2022-01-26 09:14:28 UTC
> python-mock was added to epel9 and later retired. Let's save ourselves some cycles and not do it again?

ACK

> I can send a PR to python-humanize and python-responses.

Thanks!