Skip to content

Commit 117345a

Browse files
authored
Merge pull request #148 from chicago-justice-project/pin_reqs
pin packages
2 parents 2e62689 + 8fa21c1 commit 117345a

File tree

2 files changed

+16
-14
lines changed

2 files changed

+16
-14
lines changed

.travis.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@ matrix:
1818
sudo: false
1919

2020
install:
21-
- pip install numpy>=1.13
22-
- pip install nltk
21+
- pip install numpy==1.14
22+
- pip install nltk==3.2.5
2323
- pip install scikit-learn==0.19.0
24-
- pip install pandas
25-
- pip install scipy
26-
- pip install tensorflow>=1.4
27-
- pip install h5py
28-
- pip install keras
29-
- pip install shapely
30-
- pip install pytest
31-
- pip install pytest-cov
32-
- pip install requests
33-
- pip install google-cloud-language
24+
- pip install pandas==0.22.0
25+
- pip install scipy==1.0.0
26+
- pip install tensorflow==1.5
27+
- pip install h5py==2.7.1
28+
- pip install keras==2.1.4
29+
- pip install shapely==1.6.4.post2
30+
- pip install pytest==6.2.2
31+
- pip install pytest-cov==2.11.1
32+
- pip install requests==2.18.4
33+
- pip install google-cloud-language==1.3.0
3434
- |
3535
if [[ $FLAKE8 ]]; then
3636
pip install flake8

setup.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,10 @@
3939
'tagnews.geoloc.models.lstm',
4040
'tagnews.senteval',
4141
'tagnews.tests'],
42-
install_requires=['nltk', 'numpy>=1.13', 'scikit-learn==0.19.0', 'pandas', 'scipy',
43-
'tensorflow>=1.4', 'h5py', 'keras', 'shapely', 'requests'],
42+
install_requires=['nltk==3.2.5', 'numpy==1.14', 'scikit-learn==0.19.0',
43+
'pandas==0.22.0', 'scipy==1.0.0', 'tensorflow==1.5',
44+
'h5py==2.7.1', 'keras==2.1.4', 'shapely==1.6.4.post2',
45+
'requests==2.18.4', 'google-cloud-language==1.3.0'],
4446
package_data={'tagnews': ['crimetype/models/binary_stemmed_logistic/*.pkl',
4547
'geoloc/models/lstm/saved/*.hdf5',
4648
'data/glove.6B.50d.txt',

0 commit comments

Comments
 (0)