Skip to content
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

fix(python): Ensure reference-counting tests are skipped on PyPy #453

Merged
merged 2 commits into from
May 3, 2024

Conversation

paleolimbot
Copy link
Member

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.

@paleolimbot paleolimbot merged commit ae84d5f into apache:main May 3, 2024
6 checks passed
@paleolimbot paleolimbot deleted the python-check-wheels branch May 9, 2024 14:51
@paleolimbot paleolimbot added this to the nanoarrow 0.5.0 milestone May 22, 2024
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.

1 participant