From 0a941443804385766eb165142acc6fff45eabaff Mon Sep 17 00:00:00 2001 From: Atsushi Mori Date: Sun, 22 Dec 2019 14:12:38 +0900 Subject: [PATCH 1/2] Drop py2 support --- .travis.yml | 3 +-- Pipfile | 5 ++--- setup.py | 3 +-- tox.ini | 3 +-- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4e51e993..bf026eea 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,12 +2,11 @@ language: python dist: xenial python: - - "2.7" - "3.4" - "3.5" - "3.6" - "3.7" -# - "3.8-dev" # TODO Remove comment-out when pylint and astroid upgraded to the latest and py2 support dropped + - "3.8" install: - pip install tox-travis diff --git a/Pipfile b/Pipfile index 793690c1..aca7dc7f 100644 --- a/Pipfile +++ b/Pipfile @@ -21,7 +21,6 @@ httpretty = "~=0.9" python-dateutil = "~=2.8" mock = "~=3.0" -# TODO Update to the latest ver when py2 support dropped -pylint = "~=1.9" -astroid = "~=1.6" +pylint = "~=2.4" +astroid = "~=2.3" isort = "~=4.3" diff --git a/setup.py b/setup.py index 9912e7eb..6c9b8b33 100644 --- a/setup.py +++ b/setup.py @@ -39,11 +39,10 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2.7', - 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', 'Environment :: Console', 'Environment :: MacOS X', 'Environment :: Win32 (MS Windows)', diff --git a/tox.ini b/tox.ini index c059a95e..d9b5e1e3 100644 --- a/tox.ini +++ b/tox.ini @@ -1,12 +1,11 @@ [tox] skipsdist = True envlist = - py27, py34, py35, py36, py37, -# py38 # TODO Remove comment-out when pylint and astroid upgraded to the latest and py2 support dropped + py38 [testenv] deps = From ce82ebf85d62e0c0dc4170cea160918a88b9f886 Mon Sep 17 00:00:00 2001 From: Atsushi Mori Date: Sun, 22 Dec 2019 14:26:50 +0900 Subject: [PATCH 2/2] Support 3.7+ --- .travis.yml | 3 --- setup.py | 4 +--- tox.ini | 3 --- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index bf026eea..84e0a624 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,9 +2,6 @@ language: python dist: xenial python: - - "3.4" - - "3.5" - - "3.6" - "3.7" - "3.8" diff --git a/setup.py b/setup.py index 6c9b8b33..774b06c2 100644 --- a/setup.py +++ b/setup.py @@ -37,10 +37,8 @@ packages=find_packages(include=['appium*']), license='Apache 2.0', classifiers=[ - 'Development Status :: 4 - Beta', + 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python', - 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Environment :: Console', diff --git a/tox.ini b/tox.ini index d9b5e1e3..85ce3975 100644 --- a/tox.ini +++ b/tox.ini @@ -1,9 +1,6 @@ [tox] skipsdist = True envlist = - py34, - py35, - py36, py37, py38