Bug 246806
Summary: | [WebDriver] Update W3C webdriver tests for python 3.10 compatibility | ||
---|---|---|---|
Product: | WebKit | Reporter: | Lauro Moura <lmoura> |
Component: | WebDriver | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Lauro Moura
Pull request: https://github.com/WebKit/WebKit/pull/5612
EWS
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
<rdar://problem/101410181>