Bug 246806

Summary: [WebDriver] Update W3C webdriver tests for python 3.10 compatibility
Product: WebKit Reporter: Lauro Moura <lmoura>
Component: WebDriverAssignee: Lauro Moura <lmoura>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Lauro Moura 2022-10-20 07:47:02 PDT
Since 255085@main, the Flatpak SDK ships with Python 3.10. This version removed[1] some aliases for classes like `collections.Iterable` and `collections.Mapping` (which actually living inside `collections.abc`).

The w3c webdriver test suite uses then in a couple of helper scripts. This makes some tests to pass normally but fail the teardown step.

This was fixed in the webdriver test suite in this commit from Nov 2021: https://github.com/web-platform-tests/wpt/commit/1a0256c677df9e111281b32a8af347ae225e8636

[1] https://github.com/python/cpython/commit/c47c78b878ff617164b2b94ff711a6103e781753
Comment 1 Lauro Moura 2022-10-20 18:21:34 PDT
Pull request: https://github.com/WebKit/WebKit/pull/5612
Comment 2 EWS 2022-10-20 19:36:56 PDT
Committed 255813@main (da4f8f1aad4c): <https://commits.webkit.org/255813@main>

Reviewed commits have been landed. Closing PR #5612 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-10-20 19:37:18 PDT
<rdar://problem/101410181>