Open lonvia opened 4 years ago
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:
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.
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.
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.