Skip to content

Commit 21b854a

Browse files
authored
Merge pull request RasaHQ#4722 from RasaHQ/tensorflow-warning-pip
remove numpy deprecation errors when installed from pip
2 parents b477eb9 + 1b58d45 commit 21b854a

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959
- stage: test
6060
name: "Test Docs"
6161
install:
62+
- pip install -r requirements.txt
6263
- pip install -r requirements-docs.txt
6364
- pip install -e .[sql]
6465
- pip list
@@ -72,6 +73,7 @@ jobs:
7273
- RASABASTER=rasabaster-0.7.23.tar.gz
7374
- curl -sSL -o $RASABASTER "https://storage.googleapis.com/docs-theme/${RASABASTER}?q=$(date +%s%N)"
7475
- pip install $RASABASTER
76+
- pip install -r requirements.txt
7577
- pip install --no-cache-dir -r requirements-docs.txt
7678
- pip install git+https://${GITHUB_TOKEN}:[email protected]/RasaHQ/sphinxcontrib-versioning.git@version_list
7779
- pip install -e .

CHANGELOG.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,15 @@ Changed
2020
-------
2121
- Updated Mattermost connector documentation to be more clear.
2222
- Updated format strings to f-strings where appropriate.
23+
- Updated tensorflow requirement to ``1.15.0``
2324

2425
Removed
2526
-------
2627

2728
Fixed
2829
-----
2930
- Fixed exporting NLU training data in ``json`` format from ``rasa interactive``
31+
- Fixed numpy deprecation warnings
3032

3133
[1.4.3] - 2019-10-29
3234
^^^^^^^^^^^^^^^^^^^^

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ redis==3.3.5
88
pymongo[tls,srv]==3.8.0
99
numpy==1.16.3
1010
scipy==1.2.1
11-
tensorflow==1.14.0
11+
tensorflow==1.15.0
1212
absl-py>=0.8.0
1313
# setuptools comes from tensorboard requirement:
1414
# https://github.com/tensorflow/tensorboard/blob/1.14/tensorboard/pip_package/setup.py#L33

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"pymongo[tls,srv]~=3.8",
3737
"numpy~=1.16",
3838
"scipy~=1.2",
39-
"tensorflow~=1.14.0",
39+
"tensorflow~=1.15.0",
4040
# absl is a tensorflow dependency, but produces double logging before 0.8
4141
# should be removed once tensorflow requires absl > 0.8 on its own
4242
"absl-py>=0.8.0",

0 commit comments

Comments
 (0)