File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : build-wheels
1+ name : cibuildwheel
22
33# Controls when the workflow will run
44on :
55 # Triggers the workflow on push or pull request events but only for the master branch
66 push :
7- branches : [ master, unstuck-vmprof ]
7+ branches : [ master ]
88 pull_request :
9- branches : [ master, unstuck-vmprof ]
9+ branches : [ master ]
1010
1111 # Allows you to run this workflow manually from the Actions tab
1212 workflow_dispatch :
@@ -52,17 +52,19 @@ jobs:
5252
5353
5454 build_pypy_wheels :
55- name : Build pypy wheels
55+ name : Build pypy wheels and sdist
5656 runs-on : ubuntu-24.04
5757 strategy :
5858 fail-fast : false
59+ matrix :
60+ python_version : ['pypy-3.11', 'pypy-3.12']
5961
6062 steps :
6163 # Note: not inside a docker
6264 - uses : actions/checkout@v7
6365 - uses : actions/setup-python@v7
6466 with :
65- python-version : ' pypy-3.11 '
67+ python-version : ${{ matrix.python_version }}
6668
6769 - name : Install system libraries
6870 run : sudo apt install -y libunwind-dev libelf-dev libdwarf-dev rename
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ name: test
22
33on :
44 push :
5- branches : [master, unstuck-vmprof ]
5+ branches : [master]
66 pull_request :
7- branches : [master, unstuck-vmprof ]
7+ branches : [master]
88 workflow_dispatch :
99
1010jobs :
Original file line number Diff line number Diff line change @@ -191,7 +191,9 @@ def test_nested_call():
191191 t = t ['' ]
192192 assert len (t .children ) == 1
193193 assert 'function_foo' in t ['' ].name
194- if sys .version_info >= (3 , 12 ):
194+ # PEP 709 (inlined comprehensions) is CPython 3.12+, PyPy still creates
195+ # a separate <listcomp> code object and frame.
196+ if sys .version_info >= (3 , 12 ) and '__pypy__' not in sys .builtin_module_names :
195197 assert len (t ['' ].children ) == 0
196198 else :
197199 assert len (t ['' ].children ) == 1
You can’t perform that action at this time.
0 commit comments