Skip to content

Commit

Permalink
Add support for python3.8 (#867)
Browse files Browse the repository at this point in the history
* Add tests for python3.8 in CI

* Fix depedency

* Remove python3.8 in appveyor CI
  • Loading branch information
adrienball authored Jan 15, 2020
1 parent e5b6508 commit 2507b7c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
environment:
matrix:
- PYTHON: "C:\\Python27-x64"
TARGET: x86_64-pc-windows-msvc
- PYTHON: "C:\\Python36-x64"
TARGET: x86_64-pc-windows-msvc
- PYTHON: "C:\\Python37-x64"
Expand Down
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ language: python

matrix:
include:
- python: 3.8
env: TOXENV=py38
dist: xenial
sudo: true
- python: 3.7
env: TOXENV=py37
dist: xenial
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"pyaml>=17.0,<20.0",
"requests>=2.0,<3.0",
"scikit-learn>=0.20,<0.21; python_version<'3.5'",
"scikit-learn>=0.21.1,<0.22; python_version>='3.5'",
"scikit-learn>=0.21.1,<0.23; python_version>='3.5'",
"scipy>=1.0,<2.0",
"sklearn-crfsuite>=0.3.6,<0.4",
"snips-nlu-parsers>=0.3.1,<0.5",
Expand Down Expand Up @@ -75,6 +75,7 @@
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
keywords="nlu nlp language machine learning text processing intent",
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py27, py35, py36, py37, integration-test, codecov, docs-html
envlist = py27, py35, py36, py37, py38, integration-test, codecov, docs-html

[testenv]
skip_install = true
Expand Down

0 comments on commit 2507b7c

Please sign in to comment.