merge_pr_58985
Update wptrunner for compatibility with a change in Python 3.13. (#58985)
This addresses #58984.
In Python 3.13, they upgraded to version 7.0.0 of
importlib_metadata; as part of that upgrade, the
EntryPoints class changed to something that no
longer supported indexed access (it became more of a
dict-like thing than a list- or tuple-like thing)
changed so that the EntryPoint class no longer supported
getitem.
(See https://un5uj6rmx4tef66j5bkfwk348hk9pc2nn6g7hpg.julianrbryant.com/en/latest/history.html#v7-0-0).
As a result, if you were using a custom entry point to register
an external test runner, tools/wptrunner/wptrunner.products.py
would crash in a call to reverse().
This fixes the issue by converting the "tuple" of EntryPoints into a list
of values, which can then be accessed by index (and hence reverse()
would work.