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
EmailMessage
but themailbox.Message
is still a subclass of oldMessage
API. 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
cte
ofquoted-printable
anymore and the standard library handles that -
TopThreadsTestCase
sometimes fails due to high number of file descriptors open, this happens because we force allasync
jobs fromdjango-q
to run insync
mode (with a configuration flag) and so it reaches the max limit of file descriptors open on some system. Increasing the value ofulimit -n
tounlimited
usually fixes this. This wasn't changed as no one should be running insync
mode outside of testing. - There is partial support for Django 2.0, some methods have been changed, for example:
- All
foreignkey
fields in models now have a mandatoryon_delete
argument -
django.core.urlresolver
has been replaced bydjango.urls
at 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