Skip to content

[PR #12557/a7d5a8eb backport][8.2.x] Bump PyPy runtime to v3.9 @ GHA #12632

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Jul 19, 2024

This is a backport of PR #12557 as merged into main (a7d5a8e).

As we were encountering this -

 __________________ 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)
<frozen importlib._bootstrap>:1023: in _gcd_import
    ???
<frozen importlib._bootstrap>:1000: in _find_and_load
    ???
<frozen importlib._bootstrap>:984: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>: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.

Closes #11771

(cherry picked from commit a7d5a8e)
@webknjaz webknjaz enabled auto-merge July 19, 2024 12:55
@webknjaz webknjaz merged commit 4ac11dc into 8.2.x Jul 19, 2024
28 of 29 checks passed
@webknjaz webknjaz deleted the patchback/backports/8.2.x/a7d5a8eba9addd119432fa71880b51052a89812f/pr-12557 branch July 19, 2024 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant