Skip to content

Commit

Permalink
Merge pull request #148 from chicago-justice-project/pin_reqs
Browse files Browse the repository at this point in the history
pin packages
  • Loading branch information
jlherzberg authored Mar 16, 2021
2 parents 2e62689 + 8fa21c1 commit 117345a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
24 changes: 12 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@ matrix:
sudo: false

install:
- pip install numpy>=1.13
- pip install nltk
- pip install numpy==1.14
- pip install nltk==3.2.5
- pip install scikit-learn==0.19.0
- pip install pandas
- pip install scipy
- pip install tensorflow>=1.4
- pip install h5py
- pip install keras
- pip install shapely
- pip install pytest
- pip install pytest-cov
- pip install requests
- pip install google-cloud-language
- pip install pandas==0.22.0
- pip install scipy==1.0.0
- pip install tensorflow==1.5
- pip install h5py==2.7.1
- pip install keras==2.1.4
- pip install shapely==1.6.4.post2
- pip install pytest==6.2.2
- pip install pytest-cov==2.11.1
- pip install requests==2.18.4
- pip install google-cloud-language==1.3.0
- |
if [[ $FLAKE8 ]]; then
pip install flake8
Expand Down
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@
'tagnews.geoloc.models.lstm',
'tagnews.senteval',
'tagnews.tests'],
install_requires=['nltk', 'numpy>=1.13', 'scikit-learn==0.19.0', 'pandas', 'scipy',
'tensorflow>=1.4', 'h5py', 'keras', 'shapely', 'requests'],
install_requires=['nltk==3.2.5', 'numpy==1.14', 'scikit-learn==0.19.0',
'pandas==0.22.0', 'scipy==1.0.0', 'tensorflow==1.5',
'h5py==2.7.1', 'keras==2.1.4', 'shapely==1.6.4.post2',
'requests==2.18.4', 'google-cloud-language==1.3.0'],
package_data={'tagnews': ['crimetype/models/binary_stemmed_logistic/*.pkl',
'geoloc/models/lstm/saved/*.hdf5',
'data/glove.6B.50d.txt',
Expand Down

0 comments on commit 117345a

Please sign in to comment.