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   

Lauro Moura
Reported 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
Attachments
Lauro Moura
Comment 1 2022-10-20 18:21:34 PDT
EWS
Comment 2 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.
Radar WebKit Bug Importer
Comment 3 2022-10-20 19:37:18 PDT
Note You need to log in before you can comment on or make changes to this bug.