Skip to content

Commit 59de650

Browse files
committed
doc: force readthedocs to use numpy<v2
1 parent 28cc528 commit 59de650

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ sphinx:
1818
# Declare the Python requirements required to build your docs
1919
python:
2020
install:
21-
- requirements: requirements-dev.txt
21+
- requirements: requirements-doc.txt
2222
- method: pip
2323
path: .

requirements-doc.txt

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Currently we force rdt to use numpy<2.0.0 to build the documentation
2+
# since the dtcwt and spgl1 are not yet compatible with numpy=2.0.0
3+
numpy>=1.21.0,<2.0.0
4+
scipy>=1.11.0
5+
--extra-index-url https://download.pytorch.org/whl/cpu
6+
torch>=1.2.0
7+
numba
8+
pyfftw
9+
PyWavelets
10+
spgl1
11+
scikit-fmm
12+
sympy
13+
devito
14+
dtcwt
15+
matplotlib
16+
ipython
17+
pytest
18+
pytest-runner
19+
setuptools_scm
20+
docutils<0.18
21+
Sphinx
22+
pydata-sphinx-theme
23+
sphinx-gallery
24+
numpydoc
25+
nbsphinx
26+
image
27+
pre-commit
28+
autopep8
29+
isort
30+
black
31+
flake8
32+
mypy

0 commit comments

Comments
 (0)