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 <module>
>     from django.utils.itercompat import izip_longest
> ImportError: cannot import name izip_longest

I will investigate this.

> I get the following error when running the tests on any database on my
> setup (Ubuntu 12.04, Python 3.2):
> Traceback (most recent call last):
>   File "/home/akaariai/Programming/django/tests/regressiontests/
> test_runner/tests.py", line 197, in
> test_option_name_and_value_separated
>     self.assertNoOutput(err)
>   File "/home/akaariai/Programming/django/tests/regressiontests/
> admin_scripts/tests.py", line 164, in assertNoOutput
>     self.assertEqual(len(stream), 0, "Stream should be empty: actually
> contains '%s'" % stream)
> AssertionError: 335 != 0 : Stream should be empty: actually contains
> 'b'\'import warnings\' failed; traceback:\nTraceback (most recent call
> last):\n  File "/home/akaariai/Programming/python3/lib/python3.2/
> warnings.py", line 6, in <module>\n    import linecache\n  File "/home/
> akaariai/Programming/python3/lib/python3.2/linecache.py", line 10, in
> <module>\n    import tokenize\nImportError: No module named tokenize
> \n''
>
> I used this to install my setup:
> # sudo apt-get install python3 python3-dev virtualenv
> # virtualenv -p python3 --distribute python3
> # source python3/bin/activate
> # pip install psycopg2
> # run tests...
>
> Am I missing some dependency?

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.

> PostgreSQL seems fine on 2.7 for the reduced test set ran
> (introspection transactions inspectdb fixtures queries extra_regress
> prefetch_related test_runner aggregation_regress). On 3.2 I get this
> additional error:
> Traceback (most recent call last):
>   File "/home/akaariai/Programming/django/tests/django/test/utils.py",
> line 203, in inner
>     return test_func(*args, **kwargs)
>   File "/home/akaariai/Programming/django/tests/modeltests/
> prefetch_related/tests.py", line 378, in test_child_link_prefetch
>     self.assertIn('authorwithage', connection.queries[-1]
> ['sql'].lower())
>   File "/usr/lib/python3.2/unittest/case.py", line 889, in assertIn
>     if member not in container:
> TypeError: Type str doesn't support the buffer API

I'll investigate this too.

I've enabled the issue tracker in the port's GitHub repo [1]
- feel free to add any further findings there.

Regards,

Vinay Sajip

[1] https://github.com/vsajip/django

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to