Skip to content

Commit

Permalink
chore: split and update test and docs dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
rikbw committed Sep 9, 2024
1 parent 3b61254 commit e0df028
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 28 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
steps:
- checkout
- python/install-packages:
pip-dependency-file: requirements-test.txt
pkg-manager: pip
- run:
name: Run tests
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ To learn how to include an SCT in a DataCamp course, visit https://instructor-su

```bash
pyenv local 3.9.6
pip3.9 install -r requirements.txt
pip3.9 install -r requirements-test.txt
pip3.9 install -e .
pytest
```
Expand Down
5 changes: 5 additions & 0 deletions requirements-docs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-r requirements.txt

sphinx~=4.1.2
sphinx_rtd_theme~=0.5.2
sphinx-jinja~=1.1.1
16 changes: 16 additions & 0 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
-r requirements.txt

# test deps
scipy~=1.13.1
bs4~=0.0.1
html5lib~=1.1
# h5py~=3.1.0
requests~=2.26.0
seaborn~=0.11.2
sqlalchemy~=1.4.23
xlrd~=2.0.1
openpyxl~=3.0.7

# test-utils deps
pytest~=6.2.5
pytest-cov~=2.12.1
34 changes: 7 additions & 27 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,32 +1,12 @@
# pythonwhat deps
protowhat~=2.1.3
asttokens~=2.0.5
protowhat~=2.2.0
asttokens~=2.4.1
dill~=0.3.4
markdown2~=2.4.6
jinja2~=2.11.3
markupsafe==2.0.1
markdown2~=2.4.13
jinja2~=3.1.3
markupsafe==2.1.5
black==19.10b0
Pygments==2.13.0

numpy~=1.19.5
pandas~=1.3.2

# test deps
scipy~=1.7.1
bs4~=0.0.1
html5lib~=1.1
h5py~=3.1.0
requests~=2.26.0
seaborn~=0.11.2
sqlalchemy~=1.4.23
xlrd~=2.0.1
openpyxl~=3.0.7

# test-utils deps
pytest~=6.2.5
pytest-cov~=2.12.1

# building documentation
sphinx~=4.1.2
sphinx_rtd_theme~=0.5.2
sphinx-jinja~=1.1.1
numpy~=1.26.0
pandas~=1.5.3

0 comments on commit e0df028

Please sign in to comment.