Skip to content

Commit e821a31

Browse files
authored
Drop py2 support (#478)
* Drop py2 support * Support 3.7+
1 parent e16ab70 commit e821a31

File tree

4 files changed

+6
-18
lines changed

4 files changed

+6
-18
lines changed

.travis.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,8 @@ language: python
22
dist: xenial
33

44
python:
5-
- "2.7"
6-
- "3.4"
7-
- "3.5"
8-
- "3.6"
95
- "3.7"
10-
# - "3.8-dev" # TODO Remove comment-out when pylint and astroid upgraded to the latest and py2 support dropped
6+
- "3.8"
117

128
install:
139
- pip install tox-travis

Pipfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ httpretty = "~=0.9"
2121
python-dateutil = "~=2.8"
2222
mock = "~=3.0"
2323

24-
# TODO Update to the latest ver when py2 support dropped
25-
pylint = "~=1.9"
26-
astroid = "~=1.6"
24+
pylint = "~=2.4"
25+
astroid = "~=2.3"
2726
isort = "~=4.3"

setup.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,10 @@
3737
packages=find_packages(include=['appium*']),
3838
license='Apache 2.0',
3939
classifiers=[
40-
'Development Status :: 4 - Beta',
40+
'Development Status :: 5 - Production/Stable',
4141
'Programming Language :: Python',
42-
'Programming Language :: Python :: 2.7',
43-
'Programming Language :: Python :: 3.4',
44-
'Programming Language :: Python :: 3.5',
45-
'Programming Language :: Python :: 3.6',
4642
'Programming Language :: Python :: 3.7',
43+
'Programming Language :: Python :: 3.8',
4744
'Environment :: Console',
4845
'Environment :: MacOS X',
4946
'Environment :: Win32 (MS Windows)',

tox.ini

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
[tox]
22
skipsdist = True
33
envlist =
4-
py27,
5-
py34,
6-
py35,
7-
py36,
84
py37,
9-
# py38 # TODO Remove comment-out when pylint and astroid upgraded to the latest and py2 support dropped
5+
py38
106

117
[testenv]
128
deps =

0 commit comments

Comments
 (0)