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

Test failures under PyPy #127

Open
lonvia opened this issue Feb 20, 2020 · 3 comments
Open

Test failures under PyPy #127

lonvia opened this issue Feb 20, 2020 · 3 comments

Comments

@lonvia
Copy link
Member

lonvia commented Feb 20, 2020

The new dangling reference tests fail under Pypy2 and Pypy3. It keeps references more references to the osmium object than it should. It is not quite clear if this is because we are making the wrong assumptions or pybind11 doesn't play well with Pypy.

For the moment, I would assume the latter and exclude support for Pypy.

@ImreSamu
Copy link

ImreSamu commented Apr 9, 2021

As I see in the new PyPy release notes (2021-04-08) .. recommending HPy
"A major new feature is prelminary support for the Universal mode of HPy: a new way of writing c-extension modules to totally encapsulate PyObject*. " ( --> https://hpyproject.org/ )

Links:

@lonvia
Copy link
Member Author

lonvia commented Apr 10, 2021

Interesting project but it's in a very early alpha state, so something to look at in a year or two earliest. Ideally pybind11 simply provides support for it.

@lonvia
Copy link
Member Author

lonvia commented Dec 13, 2022

Pypy3 now seems to work but at least one test is slow to the point of being unusable. CI also has issues when running with a self-compiled shapely. Both needs further investigation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants