mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 03:41:05 -05:00
Drop Python 2 and Django 1.11 support
Minimum supported versions are now Django 2.0, Python 3.5. This touches a lot of code, to: * Remove obsolete portability code and workarounds (six, backports of email parsers, test utils, etc.) * Use Python 3 syntax (class defs, raise ... from, etc.) * Correct inheritance for mixin classes * Fix outdated docs content and links * Suppress Python 3 "unclosed SSLSocket" ResourceWarnings that are beyond our control (in integration tests due to boto3, python-sparkpost)
This commit is contained in:
15
tox.ini
15
tox.ini
@@ -3,27 +3,24 @@ envlist =
|
||||
# Factors: django-python-extras
|
||||
# Test these environments first, to catch most errors early...
|
||||
lint
|
||||
django30-py37-all
|
||||
django111-py27-all
|
||||
django31-py38-all
|
||||
django20-py35-all
|
||||
docs
|
||||
# ... then test all the other supported combinations:
|
||||
django30-py{36,38,py3}-all
|
||||
django31-py{36,37,py3}-all
|
||||
django30-py{36,37,38,py3}-all
|
||||
django22-py{35,36,37,py3}-all
|
||||
django21-py{35,36,37,py3}-all
|
||||
django20-py{35,36,py3}-all
|
||||
django111-py{34,35,36,py}-all
|
||||
django20-py{36,py3}-all
|
||||
# ... then prereleases (if available):
|
||||
django31-py{36,37,38,py3}-all
|
||||
djangoDev-py{36,37,38}-all
|
||||
# ... then partial installation (limit extras):
|
||||
django22-py37-{none,amazon_ses,sparkpost}
|
||||
django31-py37-{none,amazon_ses,sparkpost}
|
||||
# ... then older versions of some dependencies:
|
||||
django111-py27-all-old_urllib3
|
||||
django22-py37-all-old_urllib3
|
||||
|
||||
[testenv]
|
||||
deps =
|
||||
django111: django~=1.11.0
|
||||
django20: django~=2.0.0
|
||||
django21: django~=2.1.0
|
||||
django22: django~=2.2.0
|
||||
|
||||
Reference in New Issue
Block a user