RunBindingsTests should be invoked with Python 3.
Created attachment 436922 [details] Patch
Created attachment 436933 [details] Patch
<rdar://problem/82597513>
Created attachment 436970 [details] Testing Patch
Comment on attachment 436970 [details] Testing Patch View in context: https://bugs.webkit.org/attachment.cgi?id=436970&action=review > Tools/Scripts/run-bindings-tests:2 > -# Copyright (C) 2010 Google Inc. All rights reserved. > +# Copyright (C) 2021 Apple Inc. All rights reserved. Why are we removing the Google copyright? That doesn’t make sense; was it only on here by accident? If we made modifications, we could add the Apple copyright, but not replace the Google one.
(In reply to Darin Adler from comment #5) > Comment on attachment 436970 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=436970&action=review > > > Tools/Scripts/run-bindings-tests:2 > > -# Copyright (C) 2010 Google Inc. All rights reserved. > > +# Copyright (C) 2021 Apple Inc. All rights reserved. > > Why are we removing the Google copyright? That doesn’t make sense; was it > only on here by accident? If we made modifications, we could add the Apple > copyright, but not replace the Google one. This patch is just to verify everything works with Python 3 in infrastructure, and is not to be landed. The problem with testing a change like this is that buildbot can't test changes to it's own code outside unit tests. So although the patch you r+ed is passing all tests, run-bindings-tests wasn't actually invoked with Python 3. The work around for this is to create a dummy testing patch which basically invokes the script with Python 3, even if it was invoked with Python 2. In this case, Kevin entirely replaced the old run-bindings-tests with a new file that invokes run-bindings-tests-python3 with Python 3, and moved the old contents of run-bindings-tests to run-bindings-tests-python3
Created attachment 437033 [details] Testing patch
Committed r281856 (241187@main): <https://commits.webkit.org/241187@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 436933 [details].
Also tested in https://ews-build.webkit-uat.org/#/builders/7/builds/78