Bug 2258085

Summary: Remove Python Mock Usage
Product: [Fedora] Fedora Reporter: Aoife Moloney <amoloney>
Component: Changes TrackingAssignee: Michel Lind <michel>
Status: ASSIGNED --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: amoloney, awilliam, maxwell, michel
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: 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: 2309208    

Description Aoife Moloney 2024-01-12 15:10:33 UTC
This is a tracking bug for Change: Remove Python Mock Usage
For more details, see: https://fedoraproject.org/wiki/Changes/RemovePythonMockUsage

python-mock has been deprecated since Fedora 34 - 6 releases ago, but is still in use in many packages. We plan to go through the remaining usages and clean them up, with the goal of retiring python-mock from Fedora.

If you encounter a bug related to this Change, please do not comment here. Instead create a new bug and set it to block this bug.

Comment 1 Aoife Moloney 2024-02-19 16:23:20 UTC
Hi there, we have passed the 'Testable' checkpoint for changes. Do you have any update to share on the progress of this change? How is the cleanup progressing?


Thanks!
Aoife

Comment 2 Michel Lind 2024-02-20 02:24:28 UTC
Hi Aoife!

We have some packages cleaned up - see https://pagure.io/michel-slm/python-mock-drawdown/blob/main/f/pull-requests for details - but likely won't be able to finish them all in time to properly retire python-mock in Fedora 40.

We plan to keep chugging along, but it might make it easier to retarget this to Fedora 41. We'll still clean up the specs in Rawhide, but once F40 requires updates to be submitted to Bodhi we won't be touching F40 specs anymore.

Comment 3 Adam Williamson 2024-02-21 02:44:48 UTC
OK, deferring (Aoife is on vacation). Thanks.

Comment 4 Aoife Moloney 2024-08-21 14:03:27 UTC
Hi @sallima, how is this change looking for F41? Are you still on track for this release or does this change need to be re-targeted? It needs to be in code complete shape before we enter Beta freeze next Tuesday 27th August so an update on where this work is at would be much appreciated.

Thanks!

Comment 5 Michel Lind 2024-08-24 03:48:22 UTC
Hi Aoife. This likely needs to be retargeted to F42. I'll start aggressively whacking the leftover packages, since they have been given a lot of notice

Comment 6 Aoife Moloney 2024-08-26 19:05:47 UTC
Thanks Michel! Tracker bug and wiki page have all been updated to retarget F42.

Comment 7 Aoife Moloney 2025-01-24 14:18:14 UTC
Hi Michel, how goes this change for F42? The testable deadline is coming up in about two weeks, on Feb 4th, and changes need to be in good shape at this point https://docs.fedoraproject.org/en-US/program_management/changes_policy/#_change_process_milestones

Please let me know if you need to defer this to F43, otherwise if youre good to go for the change to be ready to meet the testable requirements, please update the status of the tracker bug to MODIFIED.


Thanks!
Aoife

Comment 8 Michel Lind 2025-02-17 03:36:00 UTC
Let's defer it again to F43 - apologies!

Comment 9 Aoife Moloney 2025-02-17 22:47:15 UTC
Ack, no problem - thank you for confirming Michel. I will update the change now accordingly.  Thanks!