You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to ./wpt serve (or running WPT from a firefox source tree) with python 3.13 fails with:
Traceback (most recent call last):
File "/home/emilio/src/moz/gecko-3/testing/web-platform/tests/./wpt", line 10, in <module>
wpt.main()
~~~~~~~~^^
File "/home/emilio/src/moz/gecko-3/testing/web-platform/tests/tools/wpt/wpt.py", line 211, in main
script, parser = import_command(prog, command, props)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "/home/emilio/src/moz/gecko-3/testing/web-platform/tests/tools/wpt/wpt.py", line 102, in import_command
mod = __import__(mod_name)
File "/home/emilio/src/moz/gecko-3/testing/web-platform/tests/tools/serve/__init__.py", line 1, in <module>
from . import serve # noqa: F401
^^^^^^^^^^^^^^^^^^^
File "/home/emilio/src/moz/gecko-3/testing/web-platform/tests/tools/serve/serve.py", line 27, in <module>
from wptserve import server as wptserve, handlers
File "/home/emilio/src/moz/gecko-3/testing/web-platform/tests/tools/wptserve/wptserve/__init__.py", line 1, in <module>
from .server import WebTestHttpd, WebTestServer, Router # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/emilio/src/moz/gecko-3/testing/web-platform/tests/tools/wptserve/wptserve/server.py", line 29, in <module>
from . import routes as default_routes
File "/home/emilio/src/moz/gecko-3/testing/web-platform/tests/tools/wptserve/wptserve/routes.py", line 1, in <module>
from . import handlers
File "/home/emilio/src/moz/gecko-3/testing/web-platform/tests/tools/wptserve/wptserve/handlers.py", line 13, in <module>
from .request import Authentication
File "/home/emilio/src/moz/gecko-3/testing/web-platform/tests/tools/wptserve/wptserve/request.py", line 4, in <module>
import cgi
ModuleNotFoundError: No module named 'cgi'
It seems the cgi module is gone.
Commenting that import out I get:
Traceback (most recent call last):
File "/home/emilio/src/moz/gecko-3/testing/web-platform/tests/./wpt", line 10, in <module>
wpt.main()
~~~~~~~~^^
File "/home/emilio/src/moz/gecko-3/testing/web-platform/tests/tools/wpt/wpt.py", line 233, in main
rv = script(*args, **kwargs)
File "/home/emilio/src/moz/gecko-3/testing/web-platform/tests/tools/serve/serve.py", line 1426, in run
with build_config(logger,
~~~~~~~~~~~~^^^^^^^^
os.path.join(repo_root, "config.json"),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
config_cls=config_cls,
^^^^^^^^^^^^^^^^^^^^^^
**kwargs) as config:
^^^^^^^^^
File "/home/emilio/src/moz/gecko-3/testing/web-platform/tests/tools/serve/serve.py", line 1314, in build_config
rv = config_cls(logger)
TypeError: 'Virtualenv' object is not callable
Which is a new one and not sure how to quite get through.
Trying to
./wpt serve
(or running WPT from a firefox source tree) with python 3.13 fails with:It seems the
cgi
module is gone.Commenting that import out I get:
Which is a new one and not sure how to quite get through.
cc @jgraham
The text was updated successfully, but these errors were encountered: