Skip to content

Commit

Permalink
Update snips-nlu-parsers dependency upper bound to 0.5 (#850)
Browse files Browse the repository at this point in the history
* Update snips-nlu-parsers dependency upper bound to 0.5

* Update CI scripts
  • Loading branch information
adrienball authored Sep 3, 2019
1 parent 910b1ff commit 0b4a558
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ branches:

install:
- "%PYTHON%\\python.exe -m pip install wheel"
- "%PYTHON%\\python.exe -m pip install -e .[test]"
- "%PYTHON%\\python.exe -m pip install -e .[test] --upgrade --upgrade-strategy eager"

build: false

Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ All notable changes to this project will be documented in this file.
- Document metrics CLI [#839](https://github.com/snipsco/snips-nlu/pull/839)
- Allow to fit SnipsNLUEngine with a `Dataset` object [#840](https://github.com/snipsco/snips-nlu/pull/840)

### Changed
- Update `snips-nlu-parsers` dependency upper bound to 0.5 [#850](https://github.com/snipsco/snips-nlu/pull/850)

### Fixed
- Invalidate importlib caches after dynamically installing module [#838](https://github.com/snipsco/snips-nlu/pull/838)
- Automatically generate documentation for supported languages and builtin entities [#841](https://github.com/snipsco/snips-nlu/pull/841)
Expand Down
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"scikit-learn>=0.21.1,<0.22; python_version>='3.5'",
"scipy>=1.0,<2.0",
"sklearn-crfsuite>=0.3.6,<0.4",
"snips-nlu-parsers>=0.3.1,<0.4",
"snips_nlu_utils>=0.9,<0.10",
"snips-nlu-parsers>=0.3.1,<0.5",
"snips-nlu-utils>=0.9,<0.10",
]

extras_require = {
Expand All @@ -42,11 +42,11 @@
"sphinx-tabs>=1.1,<1.2"
],
"metrics": [
"snips_nlu_metrics>=0.14.1,<0.15",
"snips-nlu-metrics>=0.14.1,<0.15",
],
"test": [
"mock>=2.0,<3.0",
"snips_nlu_metrics>=0.14.1,<0.15",
"snips-nlu-metrics>=0.14.1,<0.15",
"pylint<2",
"coverage>=4.4.2,<5.0",
"checksumdir~=1.1.6",
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ envlist = py27, py35, py36, py37, integration-test, codecov, docs-html
[testenv]
skip_install = true
commands =
pip install -e ".[test]"
pip install -e ".[test]" --upgrade --upgrade-strategy eager

snips-nlu download-all-languages
snips-nlu download-language-entities fr
Expand All @@ -19,7 +19,7 @@ setenv=
basepython = python3.6
skip_install = true
commands =
pip install -e ".[test]"
pip install -e ".[test]" --upgrade --upgrade-strategy eager

snips-nlu download-all-languages

Expand All @@ -32,7 +32,7 @@ deps = sphinx
whitelist_externals = sh
commands =
sh docs/check_doc.sh
pip install -e ".[test,doc]"
pip install -e ".[test,doc]" --upgrade --upgrade-strategy eager
python -m unittest discover -p 'doctests.py'
python -m doctest README.rst
sphinx-build -W -b html -d {envtmpdir}/doctrees docs/source {envtmpdir}/html
Expand Down

0 comments on commit 0b4a558

Please sign in to comment.