Skip to content

Commit 8c413fa

Browse files
committed
Split requirements into runtime and development
check_setup.py was written to test runtime dependencies. Testing development or even build dependencies is not very useful when running check_setup.py as a user as recommended by preparation.md. Solution is to split these "optional" deps into a new file.
1 parent 10fecd1 commit 8c413fa

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
-screen 0 1920x1200x24 -ac +extension GLX
5151
# Install Python dependencies
5252
pip install --upgrade pip
53-
pip install -r requirements.txt
53+
pip install -r requirements.txt -r requirements_dev.txt
5454
# Install Node.js dependencies
5555
# TODO Uncomment when skimage theme is ready
5656
# npm install -g npm

requirements.txt

-9
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,3 @@ scipy >= 1.0
44
matplotlib >= 2.1
55
notebook >= 4.0
66
scikit-learn >= 0.18
7-
jupyter-book >= 0.10.2
8-
napari[all]
9-
jupytext >=1.10.3
10-
sphinx_autodoc_typehints>=1.11.0
11-
ghp-import
12-
pytest
13-
pytest-qt
14-
pooch
15-
furo

requirements_dev.txt

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
jupyter-book >= 0.10.2
2+
napari[all]
3+
jupytext >=1.10.3
4+
sphinx_autodoc_typehints>=1.11.0
5+
ghp-import
6+
pytest
7+
pytest-qt
8+
pooch
9+
furo

0 commit comments

Comments
 (0)