2021-02-23 10:31:26 -08:00
|
|
|
# sphinx <4 required by myst-nb v0.12.0 (Feb 2021)
|
|
|
|
# sphinx >=3 required by sphinx-autodoc-typehints v1.11.1 (Oct 2020)
|
|
|
|
sphinx >=3, <4
|
2019-10-17 08:58:25 +02:00
|
|
|
sphinx_rtd_theme
|
Pin sphinx-autodoc-typehints version to 1.11.1
Our docs build fails with 1.12.1: https://readthedocs.org/projects/jax/builds/13514541/
```
reading sources... [ 50%] _autosummary/jax.numpy.linalg.pinv
Traceback (most recent call last):
File "/home/docs/checkouts/readthedocs.org/user_builds/jax/envs/latest/lib/python3.8/site-packages/sphinx/events.py", line 111, in emit
results.append(listener.handler(self.app, *args))
File "/home/docs/checkouts/readthedocs.org/user_builds/jax/envs/latest/lib/python3.8/site-packages/sphinx_autodoc_typehints.py", line 417, in process_docstring
type_hints = get_all_type_hints(obj, name)
File "/home/docs/checkouts/readthedocs.org/user_builds/jax/envs/latest/lib/python3.8/site-packages/sphinx_autodoc_typehints.py", line 271, in get_all_type_hints
rv = backfill_type_hints(obj, name)
File "/home/docs/checkouts/readthedocs.org/user_builds/jax/envs/latest/lib/python3.8/site-packages/sphinx_autodoc_typehints.py", line 312, in backfill_type_hints
obj_ast = ast.parse(textwrap.dedent(
File "/home/docs/.pyenv/versions/3.8.6/lib/python3.8/ast.py", line 47, in parse
return compile(source, filename, mode, flags,
File "<unknown>", line 12
max_rows_cols = max(a.shape[-2:])
^
IndentationError: expected an indented block
```
This may be caused by https://github.com/agronholm/sphinx-autodoc-typehints/pull/166
2021-04-14 17:58:27 -07:00
|
|
|
sphinx-autodoc-typehints==1.11.1
|
2021-04-01 16:27:06 -07:00
|
|
|
jupyter-sphinx>=0.3.2
|
2021-02-23 10:31:26 -08:00
|
|
|
myst-nb
|
2021-10-27 09:02:24 -07:00
|
|
|
jupyter-core!=4.9.0 # https://github.com/jupyter/jupyter_core/issues/246
|
2020-08-07 11:47:05 -07:00
|
|
|
|
2021-02-23 10:31:26 -08:00
|
|
|
# Packages used for CI tests.
|
|
|
|
pytest
|
|
|
|
pytest-xdist
|
2020-08-07 11:47:05 -07:00
|
|
|
|
2021-02-23 10:31:26 -08:00
|
|
|
# Packages used for notebook execution
|
2019-10-09 13:44:13 +02:00
|
|
|
matplotlib
|
2021-06-21 12:03:44 +02:00
|
|
|
scikit-learn
|
2021-07-15 16:39:18 -04:00
|
|
|
numpy
|
2021-03-16 11:40:46 -07:00
|
|
|
.[cpu] # Install jax from the current directory; jaxlib from pypi.
|