Skip to content

Commit b785301

Browse files
Requirements Pinned with range to insure tested versions are used. Range are used to prevent updating requirements all the time. (#510)
1 parent 657bf19 commit b785301

File tree

5 files changed

+23
-19
lines changed

5 files changed

+23
-19
lines changed

docs/requirements.txt

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
matplotlib
2-
pymongo
3-
progressbar2==3.37.0
4-
scikit-image
5-
scipy
6-
sphinx==1.7.1
7-
tensorflow==1.5.0
1+
flake8-docstrings>=1.3,<1.4
2+
matplotlib>=2.2,<2.3
3+
pymongo>=3.6,<3.7
4+
progressbar2>=3.37,<3.38
5+
scikit-image>=0.13,<0.14
6+
scipy>=1.0,<1.1
7+
sphinx>=1.7,<1.8
8+
tensorflow>=1.7,<1.8

requirements.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
numpy
2-
progressbar2==3.37.0
3-
scipy
4-
scikit-image
5-
matplotlib
1+
matplotlib>=2.2,<2.3
2+
numpy>=1.14,<1.15
3+
progressbar2>=3.37,<3.38
4+
scikit-image>=0.13,<0.14
5+
scipy>=1.0,<1.1

requirements_dev.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
autopep8>=1.3,<1.4

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ def req_file(filename):
131131
# dependencies). You can install these using the following syntax,
132132
# $ pip install -e .[test]
133133
extras_require={
134+
'dev': req_file("requirements_dev.txt"),
135+
'doc': req_file("docs/requirements.txt"),
134136
'test': req_file("tests/requirements.txt")
135137
},
136138
scripts=[

tests/requirements.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
keras==2.1.5
2-
pydocstyle==2.1.1
3-
pytest==3.4.1
4-
pytest-cache==1.0
5-
pytest-cov==2.5.1
6-
pytest-xdist==1.22.2
7-
yapf==0.20.2
1+
keras>=2.1,<2.2
2+
pydocstyle>=2.1,<2.2
3+
pytest>=3.4,<3.5
4+
pytest-cache>=1.0,<1.1
5+
pytest-cov>=2.5,<2.6
6+
pytest-xdist>=1.22,<1.23
7+
yapf>=0.20,<0.21

0 commit comments

Comments
 (0)