Re: Python 3 port - now available on GitHub

2012-05-28 Thread Vinay Sajip
> The izip_longest definition was removed from itercompat in revision > b60b45a2a565 (which is fine, since it was only there for Python 2.5 > compatibility), but it means that the places that imported it need to > be changed to import it directly from py3 instead. Right, and I fixed that a couple

Re: Python 3 port - now available on GitHub

2012-05-28 Thread Vinay Sajip
On May 28, 8:24 pm, Anssi Kääriäinen wrote: > Is there any workaround for this? I need to install psycopg2 and cx- > oracle under python 3 to run the tests, and virtualenv is the only way > I know how to do this. However, this issue is causing a lot of noise > in the results, making testing the p

Re: Python 3 port - now available on GitHub

2012-05-28 Thread Ian Kelly
On Sat, May 26, 2012 at 4:31 AM, Vinay Sajip wrote: > Anssi, > > Thanks very much for the feedback. > >> Both Oracle and MySQL fail to run because of this error (on both 2.7 >> and 3.2): >>   File "/home/akaariai/Programming/django/tests/django/db/backends/ >> mysql/compiler.py", line 2, in >>  

Re: Python 3 port - now available on GitHub

2012-05-28 Thread Anssi Kääriäinen
On May 26, 1:31 pm, Vinay Sajip wrote: > There are problems with some virtualenv versions, see this open > virtualenv issue: > > https://github.com/pypa/virtualenv/issues/194 > > The problem with importing tokenize.py in your traceback implies you > might be running into this issue. Is there any

Re: Python 3 port - now available on GitHub

2012-05-28 Thread Vinay Sajip
> I found following error when trying to browse to the admin site of my django > app: > > File > ".../venv//lib/python3.2/site-packages/django/db/backends/postgresql_psycopg2/base.py", > line 8, in > from django.db import utils > ImportError: cannot import name utils Not sure why it

Re: Python 3 port - now available on GitHub

2012-05-27 Thread Kok Hoor Chew
Hi Vinay / anyone interested in the Python 3 port, I am a real newbie, so I seek forgiveness if what I did is stupid, but as I wanted to test out Vinay Sajip's django3 from git based on an existing project, I tried to install psycopg2 (Is this wise?) I found following error when trying to br

Re: Python 3 port - now available on GitHub

2012-05-26 Thread Vinay Sajip
Anssi, Thanks very much for the feedback. > Both Oracle and MySQL fail to run because of this error (on both 2.7 > and 3.2): >   File "/home/akaariai/Programming/django/tests/django/db/backends/ > mysql/compiler.py", line 2, in >     from django.utils.itercompat import izip_longest > ImportError

Re: Python 3 port - now available on GitHub

2012-05-25 Thread Anssi Kääriäinen
On May 25, 12:51 pm, Vinay Sajip wrote: > The single codebase port of Django to Python 3 is now available on > GitHub [1]. Recent core changes have been merged, and the test results > are available at [2]. > > Summary: > > 2.7.2: Ran 4734 tests in 540.793s - OK (skipped=112, expected > failures=3)

Python 3 port - now available on GitHub

2012-05-25 Thread Vinay Sajip
The single codebase port of Django to Python 3 is now available on GitHub [1]. Recent core changes have been merged, and the test results are available at [2]. Summary: 2.7.2: Ran 4734 tests in 540.793s - OK (skipped=112, expected failures=3) 3.2.2: Ran 4688 tests in 524.807s - OK (skipped=120, e