Skip to content

Commit f186b60

Browse files
committed
Dependencies fix
1 parent 50a5ec2 commit f186b60

File tree

3 files changed

+56
-46
lines changed

3 files changed

+56
-46
lines changed

Makefile

+9-9
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,6 @@ lint:
5959
types:
6060
poetry run pytype --keep-going rasa -j 16
6161

62-
prepare-tests-macos: prepare-wget-macos prepare-tests-files
63-
brew install graphviz || true
64-
65-
prepare-wget-macos:
66-
brew install wget || true
67-
68-
prepare-tests-ubuntu: prepare-tests-files
69-
sudo apt-get -y install graphviz graphviz-dev python-tk
70-
7162
prepare-tests-files:
7263
poetry install --extras spacy
7364
poetry run python -m spacy download en_core_web_md
@@ -76,6 +67,15 @@ prepare-tests-files:
7667
poetry run python -m spacy link de_core_news_sm de --force
7768
wget --progress=dot:giga -N -P data/ https://s3-eu-west-1.amazonaws.com/mitie/total_word_feature_extractor.dat
7869

70+
prepare-wget-macos:
71+
brew install wget || true
72+
73+
prepare-tests-macos: prepare-wget-macos prepare-tests-files
74+
brew install graphviz || true
75+
76+
prepare-tests-ubuntu: prepare-tests-files
77+
sudo apt-get -y install graphviz graphviz-dev python-tk
78+
7979
test: clean
8080
# OMP_NUM_THREADS can improve overral performance using one thread by process (on tensorflow), avoiding overload
8181
OMP_NUM_THREADS=1 poetry run pytest tests -n $(JOBS) --cov rasa

poetry.lock

+45-35
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ sanic-jwt = "==1.3.2"
9696
sanic-plugins-framework = "==0.8.2"
9797
cloudpickle = "~1.2.0"
9898
multidict = "^4.6"
99-
aiohttp = "~3.6"
99+
aiohttp = "~3.5"
100100
questionary = "==1.1.1"
101101
prompt-toolkit = "^2.0"
102102
python-socketio = "~4.4"
@@ -118,7 +118,7 @@ setuptools = ">=41.0.0"
118118
[tool.poetry.dev-dependencies]
119119
pytest-cov = "^2.8.1"
120120
pytest-localserver = "^0.5.0"
121-
pytest-sanic = "^1.1.2"
121+
pytest-sanic = "~1.0"
122122
pytest-asyncio = "^0.10.0"
123123
pytest-xdist = "^1.31.0"
124124
pytest = "^5.3.4"

0 commit comments

Comments
 (0)