You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 15, 2023. It is now read-only.
PYTHONPATH=/path/to/psycopg2/build/lib.linux-x86-2.6 /path/to/pypy/pypy/bin/py.py --allworkingmodules
# NOTE: that PYTHONPATH is very inexact
and watch it explode.
I haven't even tried to use psycopg2 with a translated PyPy yet, so don't expect it to work. Also I have not tried to use virtualenv, that's a whole other can of worms... Although I'm basically crudely replicating it...
Currently the most interesting thing you can do is run:
PYTHONPATH=/path/to/psycopg2/build/lib.linux-x86-2.6 /path/to/pypy/pypy/bin/py.py --allworkingmodules runtests.py tests.test_connection
# NOTE: The tests require there be a database named psycopg2_test and that your postgres user has access to it# (may require superuser actually... that's how I currently have it setup...)
and watch the text scroll by, but some of the tests now pass!