[Webkit-unassigned] [Bug 249564] KeyError: '__spec__' in apipkg.py with Python v3.11

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 18 17:34:57 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=249564

--- Comment #1 from Fujii Hironori <Hironori.Fujii at sony.com> ---
This problem was fixed by upstream.

  AttributeError __spec__ on Python 3.11 · Issue #273 · pytest-dev/py
  https://github.com/pytest-dev/py/issues/273

I tryed py 1.11.0.
  https://pypi.org/project/py/1.11.0/

diff --git a/Tools/Scripts/webkitpy/__init__.py b/Tools/Scripts/webkitpy/__init__.py
index 7cc6593c1ef8..babfc798fdac 100644
--- a/Tools/Scripts/webkitpy/__init__.py
+++ b/Tools/Scripts/webkitpy/__init__.py
@@ -69,7 +69,7 @@ AutoInstall.register(Package('mozprocess', Version(1, 3, 0)))
 AutoInstall.register(Package('mozlog', Version(7, 1, 0), wheel=True))
 AutoInstall.register(Package('mozterm', Version(1, 0, 0)))
 AutoInstall.register(Package('pluggy', Version(0, 13, 1)))
-AutoInstall.register(Package('py', Version(1, 5, 2)))
+AutoInstall.register(Package('py', Version(1, 11, 0)))
 AutoInstall.register(Package('pycodestyle', Version(2, 5, 0)))
 AutoInstall.register(Package('pyfakefs', Version(3, 7, 2)))
 AutoInstall.register(Package('scandir', Version(1, 10, 0)))

Then, all tests failed:

> [727/1813] webkitpy.layout_tests.run_webkit_tests_integrationtest.RunTest.test_output_diffs.test_output_diffs erred:
>   AttributeError: 'function' object has no attribute 'test_output_diffs'
> 
> [728/1813] webkitpy.layout_tests.run_webkit_tests_integrationtest.RunTest.test_pixel_test_directories.test_pixel_test_directories erred:
>   AttributeError: 'function' object has no attribute 'test_pixel_test_directories'

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221219/515d09cb/attachment-0001.htm>


More information about the webkit-unassigned mailing list