Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 2258085 - Remove Python Mock Usage
Summary: Remove Python Mock Usage
Alias: None
Product: Fedora
Classification: Fedora
Component: Changes Tracking
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Michel Lind
QA Contact:
Depends On:
Blocks: F41Changes
TreeView+ depends on / blocked
Reported: 2024-01-12 15:10 UTC by Aoife Moloney
Modified: 2024-02-21 02:44 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
Type: ---

Attachments (Terms of Use)

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:

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?


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

We have some packages cleaned up - see 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.

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