RESOLVED WONTFIX 220792
[webkitcorepy] Use AutoInstall for webkitcorepy deps as well
https://bugs.webkit.org/show_bug.cgi?id=220792
Summary [webkitcorepy] Use AutoInstall for webkitcorepy deps as well
Angelos Oikonomopoulos
Reported 2021-01-21 05:38:03 PST
[webkitcorepy] Use AutoInstall for webkitcorepy deps as well
Attachments
Patch (4.57 KB, patch)
2021-01-21 05:51 PST, Angelos Oikonomopoulos
jbedard: review-
Angelos Oikonomopoulos
Comment 1 2021-01-21 05:51:02 PST
Jonathan Bedard
Comment 2 2021-01-21 06:53:55 PST
Comment on attachment 418033 [details] Patch In most places, this would be the right approach, but webkitcorepy is a special case because it’s imported before the autoinstaller is configured (and not just in webkitpy, that’s also true in some Apple non-public code) What I should have done is put the six import in task_pool inside the function (or functions) that are actually using it. If no one else posts a patch, I’ll get to it in the next hour or two.
Angelos Oikonomopoulos
Comment 3 2021-01-21 07:01:52 PST
(In reply to Jonathan Bedard from comment #2) > Comment on attachment 418033 [details] > Patch > > In most places, this would be the right approach, but webkitcorepy is a > special case because it’s imported before the autoinstaller is configured > (and not just in webkitpy, that’s also true in some Apple non-public code) Ah, so you need the autoinstaller configuration to be in the consumers of webkitcorepy? That makes sense. > What I should have done is put the six import in task_pool inside the > function (or functions) that are actually using it. If no one else posts a > patch, I’ll get to it in the next hour or two. Sure, I'll file a new bug.
Angelos Oikonomopoulos
Comment 4 2021-01-21 07:11:11 PST
Jonathan Bedard
Comment 5 2021-01-21 09:04:17 PST
Angelos fixed this in the other bug he linked, closing this one.
Note You need to log in before you can comment on or make changes to this bug.