From 0b4a5581e95e9de4c714df289f77e0735a5fd85d Mon Sep 17 00:00:00 2001 From: Adrien Ball Date: Tue, 3 Sep 2019 10:49:16 +0200 Subject: [PATCH] Update snips-nlu-parsers dependency upper bound to 0.5 (#850) * Update snips-nlu-parsers dependency upper bound to 0.5 * Update CI scripts --- .appveyor.yml | 2 +- CHANGELOG.md | 3 +++ setup.py | 8 ++++---- tox.ini | 6 +++--- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index b63fd9e36..a40f147d0 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 731ff0c48..a3e66be06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/setup.py b/setup.py index 83afcdbe1..4617672e3 100644 --- a/setup.py +++ b/setup.py @@ -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 = { @@ -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", diff --git a/tox.ini b/tox.ini index e4d0ca5f0..4da9a6f33 100644 --- a/tox.ini +++ b/tox.ini @@ -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 @@ -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 @@ -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