PyTest now uses the new "exceptiongroup" module which comes with Python 3.11, but there is an installable backport in PyPI which covers the functionality needed by PyTest: https://pypi.org/project/exceptiongroup/#description The lack of this module causes errors like the following (thanks to Diego Pino for reporting this): python3 Tools/Scripts/run-webdriver-tests --json-output=webdriver_tests.json --release --gtk in dir /home/buildbot/worker/GTK-Linux-64-bit-Release-WebDriver-Tests/build (timeout 1200 secs) watching logfiles {'json': 'webdriver_tests.json'} argv: [b'python3', b'Tools/Scripts/run-webdriver-tests', b'--json-output=webdriver_tests.json', b'--release', b'--gtk'] environment: DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/104/bus DISPLAY=:0 HOME=/home/buildbot INVOCATION_ID=76102dbca9a34ba5b5ee8fad9c4455a8 JOURNAL_STREAM=8:2610045172 LANG=en_US.UTF-8 LOGNAME=buildbot MAIL=/var/mail/buildbot NUMBER_OF_PROCESSORS=2 PATH=/etc/zipwrapper:/usr/lib/ccache:/usr/lib/gold-ld:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PWD=/home/buildbot/worker/GTK-Linux-64-bit-Release-WebDriver-Tests/build RUNTIME_DIRECTORY=/run/buildbot SHELL=/bin/bash SHLVL=0 TERM=dumb TZ=PST8PDT USER=buildbot WEBKITBOT_TASKSTOKILL=dbus-daemon WEBKIT_JHBUILD=0 WEBKIT_TEST_CHILD_PROCESSES=1 XAUTHORITY=/tmp/xvfb-run.NKIXYu/Xauthority XDG_DATA_DIRS=/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/ XDG_RUNTIME_DIR=/run/user/104 _=/home/buildbot/venv/bin/twistd using PTY: False Using port gtk Test configuration: <, x86, release> Using display server xvfb Using driver at /app/webkit/WebKitBuild/Release/bin/WebKitWebDriver Browser: MiniBrowser Parsing expectations Traceback (most recent call last): File "/app/webkit/Tools/Scripts/run-webdriver-tests", line 85, in <module> runner.run(args) File "/app/webkit/Tools/Scripts/webkitpy/webdriver_tests/webdriver_test_runner.py", line 70, in run runner_tests = [runner.collect_tests(tests) for runner in self._runners] File "/app/webkit/Tools/Scripts/webkitpy/webdriver_tests/webdriver_test_runner.py", line 70, in <listcomp> runner_tests = [runner.collect_tests(tests) for runner in self._runners] File "/app/webkit/Tools/Scripts/webkitpy/webdriver_tests/webdriver_test_runner_selenium.py", line 49, in collect_tests executor = WebDriverSeleniumExecutor(self._driver, self._env) File "/app/webkit/Tools/Scripts/webkitpy/webdriver_tests/webdriver_selenium_executor.py", line 52, in __init__ do_delayed_imports() File "/app/webkit/Tools/Scripts/webkitpy/webdriver_tests/webdriver_selenium_executor.py", line 30, in do_delayed_imports import webkitpy.webdriver_tests.pytest_runner as pytest_runner File "/app/webkit/Tools/Scripts/webkitpy/webdriver_tests/pytest_runner.py", line 32, in <module> import pytest File "/app/webkit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/pytest/__init__.py", line 5, in <module> from _pytest._code import ExceptionInfo File "/app/webkit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/_pytest/_code/__init__.py", line 2, in <module> from .code import Code File "/app/webkit/Tools/Scripts/libraries/autoinstalled/python-3-x86_64/_pytest/_code/code.py", line 60, in <module> from exceptiongroup import BaseExceptionGroup ModuleNotFoundError: No module named 'exceptiongroup' program finished with exit code 1 elapsedTime=1.144706
Pull request: https://github.com/WebKit/WebKit/pull/9177
Committed 259441@main (1a8fab61ba8a): <https://commits.webkit.org/259441@main> Reviewed commits have been landed. Closing PR #9177 and removing active labels.
<rdar://problem/104704583>