[webkit-dev] Removing Python 2 in WebKit

Jonathan Bedard jbedard at apple.com
Mon Feb 28 09:27:29 PST 2022


Hey folks,

The macOS 12.3 seed remove Python 2. Most of WebKit’s tools are already Python 3 compatible, and in the last few weeks, we changed a number of buildbot invocation and shebangs so that workflows critical to the project are Python 3 by default. There are still a number of scripts which are Python 2 by default, though. Bellow, all of those scripts are listed. If a script important to your workflow is listed, now is a good time to help the project out by converting that script to Python 3.

Tools/wpe/jhbuildrc
Tools/lldb/dump_class_layout_unittest.py
Tools/lldb/lldb_webkit_unittest.py
Tools/glib/common.py
Tools/glib/api_test_runner.py
Tools/glib/generate-inspector-gresource-manifest.py
Tools/glib/svn-revision
Tools/Scripts/check-for-duplicated-platform-test-results
Tools/Scripts/compare-webkit-configurations
Tools/Scripts/read-checksum-from-png
Tools/Scripts/check-for-invalid-symbols-in-version-script
Tools/Scripts/sync-feature-defines
Tools/Scripts/dump-webkit-tests-run
Tools/Scripts/run-web-platform-tests
Tools/Scripts/check-inspector-strings
Tools/Scripts/import-w3c-performance-wg-tests
Tools/Scripts/export-w3c-performance-wg-tests
Tools/Scripts/malloc-tree
Tools/Scripts/update-test-expectations-from-bugzilla
Tools/Scripts/parse-gc-phase-timings
Tools/Scripts/rebase-patch-after-webkit-move
Tools/Scripts/merge-result-jsons
Tools/Scripts/make-dist
Tools/Scripts/webkit-filter-log
Tools/Scripts/update-webkit-flatpak
Tools/Scripts/export-w3c-test-changes
Tools/Scripts/import-w3c-tests
Tools/Scripts/compare-results
Tools/Scripts/webkit-flatpak
Tools/Scripts/check-for-global-bss-symbols-in-webkitgtk-libs
Tools/Scripts/browserperfdash-benchmark
Tools/Scripts/mark-jsc-stress-test
Tools/Scripts/generate-win32-export-forwards
Tools/Scripts/check-for-platform-layering-violations
Tools/Scripts/find-duplicate-files
Tools/Scripts/import-webdriver-tests
Tools/Scripts/sampstat
Tools/jhbuild/jhbuildrc_common.py
Tools/jhbuild/jhbuild-wrapper
Tools/WebKitArchiveSupport/run-webkit-archive
Tools/CISupport/ews-app/manage.py
Tools/gtk/jhbuildrc
Tools/gtk/ycm_extra_conf.py
Tools/CygwinDownloader/cygwin-downloader.py

Thanks for your help,
Jonathan Bedard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20220228/03436064/attachment.htm>


More information about the webkit-dev mailing list