[pypy-issue] [issue1434] CPyExt errors with PyGObject

Christoph Reiter tracker at bugs.pypy.org
Fri Mar 29 18:27:23 CET 2013


New submission from Christoph Reiter <reiter.christoph at gmail.com>:

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 <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1434>
________________________________________


More information about the pypy-issue mailing list