Skip to content

Commit

Permalink
Support Python 3.8 (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
StrikerRUS committed Apr 13, 2020
1 parent ecc4f93 commit 82b2da4
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -5,6 +5,7 @@ python:
- 3.5
- 3.6
- 3.7
- 3.8

env:
- TEST=API
Expand Down
18 changes: 9 additions & 9 deletions requirements-test.txt
@@ -1,13 +1,13 @@
numpy==1.16.1
scipy==1.1.0
scikit-learn==0.20.2
numpy==1.18.2
scipy==1.4.1
scikit-learn==0.22.2.post1
xgboost==1.0.2
lightgbm==2.2.3
flake8==3.6.0
pytest==5.3.2
pytest-mock==1.13.0
coveralls==1.9.2
lightgbm==2.3.1
flake8==3.7.9
pytest==5.4.1
pytest-mock==3.0.0
coveralls==2.0.0
pytest-cov==2.8.1
py-mini-racer==0.1.18
py-mini-racer==0.2.0
statsmodels==0.11.1
git+git://github.com/scikit-learn-contrib/lightning.git@b96f9c674968496e854078163c8814049a7b9f43
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -28,6 +28,7 @@
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: Implementation :: CPython",
],
keywords="sklearn ml code-generation",
Expand Down
2 changes: 1 addition & 1 deletion tests/utils.py
Expand Up @@ -218,7 +218,7 @@ def predict_from_commandline(exec_args):
result = subprocess.Popen(exec_args, stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
stdout, stderr = result.communicate()
if result.returncode is not 0:
if result.returncode != 0:
raise Exception("bad exit code ({}) stderr: {}".format(
result.returncode, stderr.decode("utf-8")))

Expand Down

0 comments on commit 82b2da4

Please sign in to comment.