8000 use pip to install packages on read the docs (as recommended by them)… · larray-project/larray@725a2b2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 725a2b2

Browse files
committed
use pip to install packages on read the docs (as recommended by them) to fix the memory issues
1 parent 89ac207 commit 725a2b2

File tree

2 files changed

+21
-4
lines changed

2 files changed

+21
-4
lines changed

doc/requirements.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
numpy
2+
pandas
3+
matplotlib
4+
tables # ==pytables
5+
xlrd
6+
openpyxl
7+
sphinx
8+
numpydoc
9+
pandoc
10+
ipython
11+
ipykernel
12+
nbsphinx

readthedocs.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,17 @@ sphinx:
1313
formats:
1414
- pdf
1515

16-
conda:
17-
environment: doc/environment.yml
16+
# we do not use conda anymore because it consumes too much memory and thus crashes our builds
17+
# see:
18+
# - https://docs.readthedocs.io/en/stable/guides/build-using-too-many-resources.html#use-pip-when-possible
19+
# - https://github.com/readthedocs/readthedocs.org/issues/6692
20+
#conda:
21+
# environment: doc/environment.yml
1822

1923
# Optionally set the version of Python and requirements required to build your docs
2024
python:
21-
version: 3.6
25+
version: 3.7
2226
install:
23-
- method: setuptools
27+
- requirements: doc/requirements.txt
28+
- method: pip
2429
path: .

0 commit comments

Comments
 (0)
0