From 58fcd4785ccea990d9c9a42da7d97bc4cccc35f6 Mon Sep 17 00:00:00 2001 From: Fabian Weisshaar Date: Fri, 27 Dec 2019 14:44:55 +0100 Subject: [PATCH] Remove Python 2.7 support, add Python 3.8 support --- .travis.yml | 14 +++++++------- setup.py | 5 ++--- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index e938af6..4a4b5a9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,18 +15,18 @@ env: matrix: include: - - python: "2.7" - dist: trusty - env: DJANGO=1.11 COVERAGE="coverage run -m" TEST_K="not ddns_client" TEST_OPTS="--pep8" - python: "3.5" - dist: trusty - env: DJANGO=1.11 + dist: xenial + env: DJANGO=2.2 - python: "3.6" - dist: trusty - env: DJANGO=1.11 + dist: xenial + env: DJANGO=2.2 - python: "3.7" dist: xenial env: DJANGO=2.2 + - python: "3.8" + dist: xenial + env: DJANGO=2.2 COVERAGE="coverage run -m" TEST_K="not ddns_client" TEST_OPTS="--pep8" install: - ./scripts/travis/install.sh diff --git a/setup.py b/setup.py index 898a92f..0f1e28c 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ setup( platforms='any', setup_requires=['setuptools_scm'], install_requires=[ - 'dnspython<1.17.0', # 1.16 is last with py27 support + 'dnspython', 'netaddr', 'django>=2.2.0', 'django-bootstrap-form', @@ -46,12 +46,11 @@ setup( 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', 'Topic :: Internet :: Name Service (DNS)', ], )