Skip to content

Commit 17f5818

Browse files
authored
Merge pull request #698 from gliptak/travis2
Make requirements more specific
2 parents b74b1e8 + 0724f99 commit 17f5818

File tree

4 files changed

+16
-19
lines changed

4 files changed

+16
-19
lines changed

ci/pypi-install.sh

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
#!/usr/bin/env bash
22

33
pip install pip --upgrade
4-
pip install numpy=="$NUMPY" pytz python-dateutil coverage setuptools html5lib lxml pytest pytest-cov wrapt codecov coveralls beautifulsoup4 isort flake8
5-
6-
if (( $(echo "$TRAVIS_PYTHON_VERSION > 3.5" | bc -l) )); then
7-
pip install black flake8-bugbear
8-
fi
4+
pip install numpy=="$NUMPY" lxml
5+
pip install -r requirements-dev.txt
96

107
if [[ "$PANDAS" == "MASTER" ]]; then
118
PRE_WHEELS="https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com"
@@ -15,5 +12,6 @@ else
1512
fi
1613

1714
if [[ "$DOCBUILD" ]]; then
18-
pip install sphinx ipython matplotlib sphinx_rtd_theme doctr requests_cache
15+
pip install doctr
16+
pip install -r docs/requirements.txt
1917
fi

docs/requirements.txt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
lxml
2-
pandas>=0.21
3-
requests>=2.3.0
4-
wrapt
1+
sphinx
52
ipython
3+
matplotlib
4+
sphinx_rtd_theme
65
requests_cache
7-
sphinx

requirements-dev.txt

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
ipython
2-
requests_cache
3-
sphinx
4-
sphinx_rtd_theme
5-
black
6-
isort
1+
black; python_version > '3.5'
2+
flake8-bugbear; python_version > '3.5'
3+
coverage
4+
codecov
5+
coveralls
6+
flake8
7+
pytest
8+
pytest-cov
9+
wrapt

requirements.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
lxml
22
pandas>=0.21
3-
pytest>=4.0.2
43
requests>=2.3.0
5-
wrapt

0 commit comments

Comments
 (0)