Bug 246317

Summary: [Flatpak SDK][WebDriver] Incompatible python and pytest versions
Product: WebKit Reporter: Lauro Moura <lmoura>
Component: Tools / TestsAssignee: Lauro Moura <lmoura>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Lauro Moura 2022-10-10 21:24:21 PDT
Recently, 255085@main bumped the Flatpak SDK from 21.08 to 22.08, which upgraded Python3 from 3.9.9 to 3.10.6, the version shipped by the Freedesktop SDK.

The current Pytest version installed by webkitpy is 6.1.5, which is known[1] to break with Python 3.10, until the fix was released in 6.2.4[2] and official support for Python 3.10 was added in 6.2.5.

Patch incoming.

[1] https://github.com/pytest-dev/pytest/issues/8539
[2] https://docs.pytest.org/en/stable/changelog.html#pytest-6-2-4-2021-05-04
Comment 1 Lauro Moura 2022-10-10 21:36:17 PDT
Pull request: https://github.com/WebKit/WebKit/pull/5223
Comment 2 EWS 2022-10-11 15:55:21 PDT
Committed 255410@main (c026bc80903f): <https://commits.webkit.org/255410@main>

Reviewed commits have been landed. Closing PR #5223 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-10-11 15:56:19 PDT
<rdar://problem/101054813>