PyPy's garbage collector/object deletion is not as predictable as CPython's, so you can't be sure that when you run gc.collect() that all unreferenced objects will be removed, and when you del an object, basically nothing happens (except that future garbage collections might destroy it). I did check to make sure the deleters are actually running on pypy (using brew install pypy3.10) manually and added a wrapper around cibuildwheel such that one can check pypy locally when debugging one of these issues.
PyPy's garbage collector/object deletion is not as predictable as CPython's, so you can't be sure that when you run
gc.collect()
that all unreferenced objects will be removed, and when youdel
an object, basically nothing happens (except that future garbage collections might destroy it). I did check to make sure the deleters are actually running on pypy (usingbrew install pypy3.10
) manually and added a wrapper around cibuildwheel such that one can check pypy locally when debugging one of these issues.