Skip to content

Commit 28fab4f

Browse files
committed
use requirements to pin requirements
1 parent b1027bc commit 28fab4f

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

docs/requirements.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
numpy>=1.16.0
2+
pandas>=0.25.0
3+
pytz
4+
requests
5+
scipy>=1.4.0
6+
h5py
7+
ipython
8+
matplotlib
9+
sphinx==4.5.0
10+
pydata-sphinx-theme==0.8.1
11+
sphinx-gallery
12+
docutils==0.15.2
13+
pillow
14+
netcdf4
15+
siphon
16+
sphinx-toggleprompt>=0.0.5
17+
pvfactors==1.5.2

readthedocs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ sphinx:
2222
# Optionally declare the Python requirements required to build your docs
2323
python:
2424
install:
25-
# - requirements: docs/requirements.txt
2625
- method: pip
2726
path: .
2827
extra_requirements:
@@ -39,3 +38,6 @@ python:
3938

4039
# replaced by python.install in v2
4140
# pip_install: true
41+
42+
# pin requirements (recommended)
43+
- requirements: docs/requirements.txt

0 commit comments

Comments
 (0)