-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Milestone
Description
The new 3.4.0 release does not properly import in autosummary docstrings. We get lots of errors like
/home/matti/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py:docstring of numpy.bool_.rst:62: \
WARNING: autosummary: failed to import astype
To Reproduce
checkout numpy, pip install cython; pip install .; pip install -r doc_requirements.txt; cd doc; make html
<Paste your command-line here which cause the problem>
$ git clone https://github.com/numpy/numpy
$ cd numpy
$ pip install cython .; # note the "."
$ pip install -r doc_requirements.txt
$ cd doc
$ make html
Expected behavior
3.3.1 worked fine. 3.4.0 fails with many fail to import ... and then
/home/matti/miniconda3/envs/test/lib/python3.8/site-packages/numpy/__init__.py:docstring of numpy.bool_.rst:62: \
WARNING: autosummary: stub file not found 'numpy.all'. Check your autosummary_generate setting.
Here is the complete log
Reactions are currently unavailable