Skip to content

Commit

Permalink
doc: force readthedocs to use numpy<v2
Browse files Browse the repository at this point in the history
  • Loading branch information
mrava87 committed Jul 26, 2024
1 parent 28cc528 commit 59de650
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ sphinx:
# Declare the Python requirements required to build your docs
python:
install:
- requirements: requirements-dev.txt
- requirements: requirements-doc.txt
- method: pip
path: .
32 changes: 32 additions & 0 deletions requirements-doc.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Currently we force rdt to use numpy<2.0.0 to build the documentation
# since the dtcwt and spgl1 are not yet compatible with numpy=2.0.0
numpy>=1.21.0,<2.0.0
scipy>=1.11.0
--extra-index-url https://download.pytorch.org/whl/cpu
torch>=1.2.0
numba
pyfftw
PyWavelets
spgl1
scikit-fmm
sympy
devito
dtcwt
matplotlib
ipython
pytest
pytest-runner
setuptools_scm
docutils<0.18
Sphinx
pydata-sphinx-theme
sphinx-gallery
numpydoc
nbsphinx
image
pre-commit
autopep8
isort
black
flake8
mypy

0 comments on commit 59de650

Please sign in to comment.