New submission from Christoph Reiter <[email protected]>: For future reference (since I've given up for now):
- Checkout PyGObject git (I've tested 3.4/3.8, 3.4 has lower glib/gir dependencies if that's a problem) - Apply the following patches to make autotools work with PyPy: - https://bugzilla.gnome.org/show_bug.cgi?id=696646 - https://bugzilla.gnome.org/show_bug.cgi?id=696648 - https://bugzilla.gnome.org/show_bug.cgi?id=696650 - Apply the attached patch that works around some limitations in cpyext. - Run the following to build against PyPy (a nightly build for example): PYTHON=/path_to_pypy/bin/pypy ./autogen.sh make - To run the tests: make check or better: SKIP_PEP8=1 make check.gdb (since it segfaults and pep8 tests are slow) The first segfault is because baseclass.tp_new(subclass, ...) # baseclass != subclass doesn't seem to work. ---------- files: pygobject-pypy-fix-v1.patch messages: 5508 nosy: lazka, pypy-issue priority: bug status: unread title: CPyExt errors with PyGObject ________________________________________ PyPy bug tracker <[email protected]> <https://bugs.pypy.org/issue1434> ________________________________________ _______________________________________________ pypy-issue mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-issue
