Bug 264431 - test-webkitpy-python2 should run an allowlisted subset of test-webkitpy
Summary: test-webkitpy-python2 should run an allowlisted subset of test-webkitpy
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Sam Sneddon [:gsnedders]
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-11-08 13:02 PST by Sam Sneddon [:gsnedders]
Modified: 2023-11-08 14:54 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Sneddon [:gsnedders] 2023-11-08 13:02:13 PST
As we move to Python 3 only, we no longer need to support Python 2 in all of our Python code. We should, instead, only running tests on an allowlisted (and ever-smaller allowlist!) subset of our test suite.

Ideally we'd test that every _other_ test module raises ImportError/SyntaxError, but that's likely somewhat harder to do.
Comment 1 Radar WebKit Bug Importer 2023-11-08 13:02:21 PST
<rdar://problem/118135522>
Comment 2 Sam Sneddon [:gsnedders] 2023-11-08 13:16:02 PST
Pull request: https://github.com/WebKit/WebKit/pull/20187
Comment 3 EWS 2023-11-08 14:54:42 PST
Committed 270408@main (5a5a272e649d): <https://commits.webkit.org/270408@main>

Reviewed commits have been landed. Closing PR #20187 and removing active labels.