Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ci-requirements-py2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
astroid==1.6.5
pylint==1.9.3
2 changes: 2 additions & 0 deletions ci-requirements-py3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
astroid==2.2.5
pylint==2.3.1

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can the version consider Python 2?

I wonder if pylint 2 claims errors which might break Python 2, but good for Python 3.

@ki4070ma ki4070ma May 2, 2019

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if pylint 2 claims errors which might break Python 2, but good for Python 3.

I can't say it won't happen.
Your point is that we should have the same pylint version for python2/3, right?

Since exception log is no impact to the results, we can upgrade those version when we drop python2 support in the future.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.
We support both of them by one codebase.


btw, we have https://github.com/appium/python-client/blob/master/development.txt .
It refers to ci-requirements.txt. we should update here, too.

2 changes: 0 additions & 2 deletions ci-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
selenium==3.141.0
astroid==1.6.5
isort==4.3.4
pylint==1.9.3
autopep8==1.4.3
httpretty==0.9.6
pytest==4.0.2
Expand Down
8 changes: 8 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,16 @@ envlist =
py36,
py37

[testenv:py27]
deps =
-r ci-requirements.txt
-r ci-requirements-py2.txt
commands =
./ci.sh

[testenv]
deps =
-r ci-requirements.txt
-r ci-requirements-py3.txt
commands =
./ci.sh