Skip to content

Commit e0df028

Browse files
committed
chore: split and update test and docs dependencies
1 parent 3b61254 commit e0df028

File tree

5 files changed

+30
-28
lines changed

5 files changed

+30
-28
lines changed

.circleci/config.yml

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
steps:
1111
- checkout
1212
- python/install-packages:
13+
pip-dependency-file: requirements-test.txt
1314
pkg-manager: pip
1415
- run:
1516
name: Run tests

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ To learn how to include an SCT in a DataCamp course, visit https://instructor-su
5454

5555
```bash
5656
pyenv local 3.9.6
57-
pip3.9 install -r requirements.txt
57+
pip3.9 install -r requirements-test.txt
5858
pip3.9 install -e .
5959
pytest
6060
```

requirements-docs.txt

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
-r requirements.txt
2+
3+
sphinx~=4.1.2
4+
sphinx_rtd_theme~=0.5.2
5+
sphinx-jinja~=1.1.1

requirements-test.txt

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
-r requirements.txt
2+
3+
# test deps
4+
scipy~=1.13.1
5+
bs4~=0.0.1
6+
html5lib~=1.1
7+
# h5py~=3.1.0
8+
requests~=2.26.0
9+
seaborn~=0.11.2
10+
sqlalchemy~=1.4.23
11+
xlrd~=2.0.1
12+
openpyxl~=3.0.7
13+
14+
# test-utils deps
15+
pytest~=6.2.5
16+
pytest-cov~=2.12.1

requirements.txt

+7-27
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,12 @@
11
# pythonwhat deps
2-
protowhat~=2.1.3
3-
asttokens~=2.0.5
2+
protowhat~=2.2.0
3+
asttokens~=2.4.1
44
dill~=0.3.4
5-
markdown2~=2.4.6
6-
jinja2~=2.11.3
7-
markupsafe==2.0.1
5+
markdown2~=2.4.13
6+
jinja2~=3.1.3
7+
markupsafe==2.1.5
88
black==19.10b0
99
Pygments==2.13.0
1010

11-
numpy~=1.19.5
12-
pandas~=1.3.2
13-
14-
# test deps
15-
scipy~=1.7.1
16-
bs4~=0.0.1
17-
html5lib~=1.1
18-
h5py~=3.1.0
19-
requests~=2.26.0
20-
seaborn~=0.11.2
21-
sqlalchemy~=1.4.23
22-
xlrd~=2.0.1
23-
openpyxl~=3.0.7
24-
25-
# test-utils deps
26-
pytest~=6.2.5
27-
pytest-cov~=2.12.1
28-
29-
# building documentation
30-
sphinx~=4.1.2
31-
sphinx_rtd_theme~=0.5.2
32-
sphinx-jinja~=1.1.1
11+
numpy~=1.26.0
12+
pandas~=1.5.3

0 commit comments

Comments
 (0)