Dear all,

After a long process, I am happy to report that we're close to finally
being able to retire python-mock (which has long been deprecated in
favor of unittest.mock)

https://fedoraproject.org/wiki/Changes/RemovePythonMockUsage
https://bugzilla.redhat.com/show_bug.cgi?id=2258085

❯ fedrq whatrequires python3-mock --src | grep -v -f done.txt
ansible-collection-dellemc-openmanage-10.0.1-3.fc44.src
beets-2.6.1-1.fc44.src
compose-utils-0.1.50-15.fc44.src
gtimelog-0.12.0-9.fc44.src

PRs are open for these

-
https://src.fedoraproject.org/rpms/ansible-collection-dellemc-openmanage/pull-request/2
- https://src.fedoraproject.org/rpms/beets/pull-request/1-
https://src.fedoraproject.org/rpms/compose-utils/pull-request/3
- https://src.fedoraproject.org/rpms/gtimelog/pull-request/3

We're likely not going to retire python-mock in F44 itself, despite the
change currently being targeted at it (it was originally filed for F40,
and has been deferred several times as shepherding these changes take
longer than expected).

We will, though, retire the package from Rawhide, so that if it
resurfaces (e.g. a package enabling tests, which pulls in mock) it will
get detected as a FTBFS.

These packages are currently FTBFS for unrelated reasons and we will
just have to not touch them -- rather than committing a change removing
python-mock usage that we can't easily test.

python-hupper
pychess

pytest also has tests that compare the behavior of unittest.mock vs
PyPI mock; that package has not been touched yet until other mock usage
has been removed.

There are several suggestions for how this change could have gone
better I'm taking onboard for next time -- more communication with
involved maintainers, and doing more of the upstreaming -- I apologize
for any inconvenience caused.

Best regards, I

-- 
 _o) Michel Lind
_( ) https://keyoxide.org/5dce2e7e9c3b1cffd335c1d78b229d2f7ccc04f2
     README:    https://fedoraproject.org/wiki/User:Salimma#README

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to