[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



On Thu, 17 Jul 2014, Raphaël Hertzog wrote:
> 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.

To make it easier to test in the various combinations that we care about,
I added a tox.ini file so that one can run "tox" after having installed
python-tox.

> 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

Except python3-django-debug-toolbar, all the others deps are also not
installable in a python3 virtualenv. This means that we should rather skip
the corresponding tests instead of failing and/or investigate
ways to replace those dependencies. And possibily disabling the feature
too.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Discover the Debian Administrator's Handbook:
→ http://debian-handbook.info/get/


Reply to: