Remove Python 2.7 support, add Python 3.8 support

This commit is contained in:
Fabian Weisshaar 2019-12-27 14:44:55 +01:00
parent bf2a06353d
commit 58fcd4785c
2 changed files with 9 additions and 10 deletions

View File

@ -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

View File

@ -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)',
],
)