patchwork:pyup-update-jinja2-2.11.1-to-2.11.2

Last commit made on 2020-04-13
Get this branch:
git clone -b pyup-update-jinja2-2.11.1-to-2.11.2 https://git.launchpad.net/patchwork

Branch merges

Branch information

Name:
pyup-update-jinja2-2.11.1-to-2.11.2
Repository:
lp:patchwork

Recent commits

6a367cf... by pyup-bot <email address hidden> on 2020-04-13

Update jinja2 from 2.11.1 to 2.11.2

e15fc9f... by Stephen Finucane <email address hidden> on 2020-04-09

Additional Python 2.7 cleanups

Signed-off-by: Stephen Finucane <email address hidden>

f71f5ee... by Stephen Finucane <email address hidden> on 2020-04-09

tox: Remove quotes around posargs

This was preventing us from doing e.g.:

  tox -e py36-django30 -- patchwork -v 2

Signed-off-by: Stephen Finucane <email address hidden>

a2b0850... by Stephen Finucane <email address hidden> on 2020-04-09

tests: Close XML-RPC client when done

This resolves the following irritating warnings that were popping up on
Python 3.7 and 3.8 and were silenced on 3.6:

  /usr/lib/python3.7/unittest/suite.py:107: ResourceWarning: unclosed <socket.socket ...>

Note that we need to use a subclass because the 'ServerProxy' class,
rather annoyingly, does not expose a 'close()' method. Instead, you're
expected to use a context manager, which isn't useful from the context
of a 'setUp' call. We could call '__enter__' and '__exit__' manually but
this seems cleaner. Also note that 'Server' was an alias of
'ServerProxy' [1], and we're taking the opportunity to switch here.

[1] https://docs.python.org/3/library/xmlrpc.client.html#xmlrpc.client.ServerProxy

Signed-off-by: Stephen Finucane <email address hidden>

abfd2df... by Stephen Finucane <email address hidden> on 2020-04-08

Remove __future__ imports

All of these are defaults in Python 3 [1].

[1] https://docs.python.org/3.6/library/__future__.html

Signed-off-by: Stephen Finucane <email address hidden>

feefa47... by Stephen Finucane <email address hidden> on 2020-04-09

Temporarily disable django-dbbackup

This does not support Django 3.0 yet [1].

[1] https://github.com/django-dbbackup/django-dbbackup/issues/314

Signed-off-by: Stephen Finucane <email address hidden>

4ad87ed... by Stephen Finucane <email address hidden> on 2020-04-08

migrations: Add the Python 3 patch

Django has wanted this for a long time. It doesn't seem to do anything
but it keeps Django happy so...

Signed-off-by: Stephen Finucane <email address hidden>

7d7313a... by Stephen Finucane <email address hidden> on 2020-04-08

requirements: Bump django-debug-toolbar to 2.2

This version formally includes support for Django 3.0 [1].

The default installed version of Django is bumped to 3.0.

[1] https://django-debug-toolbar.readthedocs.io/en/latest/changes.html

Signed-off-by: Stephen Finucane <email address hidden>

600f54b... by Stephen Finucane <email address hidden> on 2020-04-08

REST: Resolve warnings with DRF >= 3.11

Signed-off-by: Stephen Finucane <email address hidden>

d3d4f9f... by Andrew Donnellan <email address hidden> on 2020-04-08

Add Django 3.0 support

Add the latest version of Django.

Signed-off-by: Andrew Donnellan <email address hidden>
Signed-off-by: Stephen Finucane <email address hidden>
Closes: #311