Add settings.MAILMAN_REST_API_VERSION

Bump default api version to 3.1
5 jobs from api-version in 3 minutes and 3 seconds (queued for 28 seconds)
Status Job ID Name Coverage
  Test
passed #10747794
django-1.10

02:40

passed #10747789
django-1.8

02:58

passed #10747793
django-1.9

03:00

failed #10747802
allowed to fail
django-latest

02:28

failed #10747798
lint

02:53

 
Name Stage Failure
failed
django-latest Test There is an unknown failure, please try again
    AttributeError: 'module' object has no attribute 'lru_cache'

----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-WAYTvE-build/

ERROR: could not install deps [mock, git+https://gitlab.com/mailman/mailmanclient.git, https://github.com/django/django/archive/master.tar.gz]; v = InvocationError('/builds/flux/django-mailman3/.tox/py27-django-latest-head/bin/pip install mock git+https://gitlab.com/mailman/mailmanclient.git https://github.com/django/django/archive/master.tar.gz (see /builds/flux/django-mailman3/.tox/py27-django-latest-head/log/py27-django-latest-head-1.log)', 1)
___________________________________ summary ____________________________________
ERROR: py27-django-latest-head: could not install deps [mock, git+https://gitlab.com/mailman/mailmanclient.git, https://github.com/django/django/archive/master.tar.gz]; v = InvocationError('/builds/flux/django-mailman3/.tox/py27-django-latest-head/bin/pip install mock git+https://gitlab.com/mailman/mailmanclient.git https://github.com/django/django/archive/master.tar.gz (see /builds/flux/django-mailman3/.tox/py27-django-latest-head/log/py27-django-latest-head-1.log)', 1)
ERROR: Build failed: exit code 1
failed
lint Test There is an unknown failure, please try again
                if isinstance(t, basestring):
^
./django_mailman3/lib/scrub.py:221:34: F821 undefined name 'unicode'
if not isinstance(ctype, unicode):
^
ERROR: InvocationError: '/builds/flux/django-mailman3/.tox/lint/bin/flake8'
___________________________________ summary ____________________________________
ERROR: lint: commands failed
ERROR: Build failed: exit code 1