The python-mock (python3-mock) package will be deprecated in Fedora 34. The package is a standard library backport for older Pythons, Fedora packages should use unittest.mock instead. Many still depend on mock, so we cannot remove it yet. Packagers are encouraged to work with upstream to switch to unittest.mock when available. A simple sed can be applied in %prep as a temporary (or even permanent) downstream solution.
The number of packages that require python-mock is surprising: In rawhide, 231 for build and 26 at runtime... It'll be a long time before we can get rid of it.
Yes, this change is the first step to actually raise the awareness.
Another thing is that the package is marked as unwanted in ELN, so I guess packages that end up in RHEL will try to make this change as well (ideally in Fedora).
Anecdata: Many packages seem to BR python3-mock without any actual reason (forgotten BR from python2->3 conversion).
Metadata Update from @churchyard:
- Issue tagged with: pending announcement
Metadata Update from @zbyszek:
- Issue untagged with: pending announcement
- Issue close_status updated to: Accepted
- Issue status updated to: Closed (was: Open)
to comment on this ticket.