There was a change in unittest autoloader in Python 3.5. It now tries to
import the package even if it has no tests. I do not know if it is an
intended change, or a side-effect of fixing some bug ([1]?). Maybe Robert
can enlighten us here.
Right. I think somebody else said the same thing, however I didn't understand how it could be related.
My (unproven) theory is it is importing ajax_select/__init__.py, which in turn loads Django files, which in turn fail because Django is not initialized.
This has caused some my packages to FTBFS too, for example see bugs
#800671 and #800139. So if it not an intended change, it should be fixed
upstream.
[1] http://bugs.python.org/issue22457
I just noticed #800137 - I think I have seen this exact same problem here too.