Final port to Python 3 only.
Changelog:
- All
__future__imports have been removed since we are porting everything to Python 3 only - Django-mailman3 only scrubs the new
EmailMessagebut themailbox.Messageis still a subclass of oldMessageAPI. For this to work with Hyperkitty, we export the email contents and import them using the new constructor. The default class used inside Hyperkitty now isEmailMessage. - Emails exported from Hyperkitty don't have a
cteofquoted-printableanymore and the standard library handles that -
TopThreadsTestCasesometimes fails due to high number of file descriptors open, this happens because we force allasyncjobs fromdjango-qto run insyncmode (with a configuration flag) and so it reaches the max limit of file descriptors open on some system. Increasing the value ofulimit -ntounlimitedusually fixes this. This wasn't changed as no one should be running insyncmode outside of testing. - There is partial support for Django 2.0, some methods have been changed, for example:
- All
foreignkeyfields in models now have a mandatoryon_deleteargument -
django.core.urlresolverhas been replaced bydjango.urlsat several places - Django 2.0 isn't fully supported as one of the dependencies doesn't support it yet.
- All
Thanks to @llohse @thelinuxguy @globin for most of the work on this branch.
Edited by Abhilash Raj