Skip to content

PyPy3 Build Failing #113

@johnthagen

Description

@johnthagen

PyPy3 build is failing on master: https://travis-ci.org/github/chtd/psycopg2cffi/builds/601941468

Given how critical this package is for those running Django/PostgreSQL using PyPy3, @mattip do you have any ideas on what is going on?

======================================================================
ERROR: test_notify_payload (psycopg2cffi.tests.psycopg2_tests.test_notify.NotifiesTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/chtd/psycopg2cffi/psycopg2cffi/tests/psycopg2_tests/test_notify.py", line 150, in test_notify_payload
    pid = int(self.notify('foo', payload="Hello, world!").communicate()[0])
  File "/home/travis/build/chtd/psycopg2cffi/psycopg2cffi/tests/psycopg2_tests/test_notify.py", line 74, in notify
    return Popen([sys.executable, '-c', script_to_py3(script)], stdout=PIPE)
  File "/opt/python/pypy3.6-7.1.1/lib-python/3/subprocess.py", line 722, in __init__
    restore_signals, start_new_session)
  File "/opt/python/pypy3.6-7.1.1/lib-python/3/subprocess.py", line 1288, in _execute_child
    restore_signals, start_new_session, preexec_fn)
OSError: [Errno 12] Cannot allocate memory

It looks like some work was attempted in https://github.com/chtd/psycopg2cffi/tree/fix-pypy3-build

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions