Bump PyPy runtime to v3.9 @ GHA by x612skm · Pull Request #12557 · pytest-dev/pytest (original) (raw)
__________________ ERROR collecting testing/_py/test_local.py __________________ /opt/hostedtoolcache/PyPy/3.8.16/x64/lib/pypy3.8/importlib/init.py:127: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1023: in _gcd_import ??? :1000: in _find_and_load ??? :984: in _find_and_load_unlocked ??? :680: in _load_unlocked ??? .tox/pypy3-xdist/lib/pypy3.8/site-packages/_pytest/assertion/rewrite.py:166: in exec_module source_stat, co = _rewrite_test(fn, self.config) .tox/pypy3-xdist/lib/pypy3.8/site-packages/_pytest/assertion/rewrite.py:350: in _rewrite_test co = compile(tree, strfn, "exec", dont_inherit=True) E TypeError: expected some sort of stmt, but got <_ast.Store object at 0x0000000002142880>
Due to the PyPy version 3.8 which has a bug at its garbage collector and its EoL. Hence bumping the PyPy version to resolve the issue.