[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#755066: Restore Python 3 compatibility and ensure we keep it in the future



Package: tracker.debian.org
Severity: normal

In its initial development phase, we ensured that the codebase would work
well with Python 3. Unfortunately nobody cared since then and now we have
a lot of failing tests when we run it with Python 3.

There are also a couple of dependencies that are still missing (at least in Debian):
- python3-beautifulsoup
- python3-soappy
- python3-django-debug-toolbar
- python3-django-south (but this will be replaced by Django's native migration in Django 1.7)
- there's no python3-ldap, but there's a python3-ldap3 so maybe we should switch
  to that module as dependency

$ python3 ./manage.py test
Creating test database for alias 'default'...
.........E........EE..........................................F.EEEFE.............................................................................FFFFFFF.FFFF.................................................F........................................................................................................F..F....E.....FF.......E...........................F..F....E......F..F....E.....EEE...........................................................................EE

We should really try to setup tox so that everybody can easily run the tests in
all supported environments. And idealy we should configure jenkins.debian.net
to run the tests for us.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


Reply to: