RESOLVED FIXED284843
Drop mock dependency
https://bugs.webkit.org/show_bug.cgi?id=284843
Summary Drop mock dependency
Sam Sneddon [:gsnedders]
Reported 2024-12-17 13:40:27 PST
mock provides a backport of https://docs.python.org/3/library/unittest.mock.html Now we're only Python 3.9 and later, there's no need to rely on the backport — and we should consider carefully where we might want to in future, should need arise (for example with the new in 3.13 ThreadingMock). The majority of our mocking needs are relatively simple, and have been fulfilled by even the earliest versions of mock, long before it became part of the stdlib. This removes a dependency from webkitcorepy, which feels like an especially big win.
Attachments
Sam Sneddon [:gsnedders]
Comment 1 2024-12-17 13:47:20 PST
Radar WebKit Bug Importer
Comment 2 2024-12-24 13:41:12 PST
EWS
Comment 3 2025-03-25 10:28:31 PDT
Committed 292652@main (331b82635e5a): <https://commits.webkit.org/292652@main> Reviewed commits have been landed. Closing PR #38097 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.