Closed cdeil closed 9 years ago
@cdeil - I haven't seen that exact error before, but it's similar to some that happen when there are transient problems with RTD. Did you try just re-building a second time after waiting for a few hours?
(Also, @cdeil, can you add "astropy" as a maintainer for imageutils on RTD?)
I've added astropy
as maintainer on RTD.
The build now fails like this:
...
ImportError: No module named imageutils
...
See log here.
What's wrong?
I just noticed this in the log all the way at the bottom in Environment Standard Error
:
error: [Errno 2] Could not find C file imageutils/sampling.c for Cython file
imageutils/sampling.pyx when building extension imageutils.sampling. Cython
must be installed to build from a git checkout.: 'imageutils/sampling.c'
It also looks to me like you've got RTD configured to look for a docs/rtd-pip-requirements.txt
file, but that file doesn't exist. Perhaps if you add that it will work? I think you can get away with it just being:
-e git+http://github.com/astropy/astropy-helpers.git#egg=astropy_helpers
-e git+http://github.com/astropy/astropy.git@master#egg=astropy
Cython
because astropy already requires numpy.
I'm not sure if astropy_helpers
needs to be there, but @astrofrog added it to astropy
at some point, so maybe it's necessary for some reason?
@cdeil - success! See commits 807d8e933e23a7f8f7e9ca15b11bb8c8ec65cb49 and f7250346a1c8f47d10f32d262ff7d7c3aec22b22 where I added the pip requirements file. As of right now the RTD build is succeeding so I'm going to close this, but if it crops back up feel free to re-open.
Thanks @eteq for figuring this issue out and fixing it! For some reason I forgot to add this file and couldn't see what the problem was.
After merging #11 I realised the docs for those functions don't show up here: http://imageutils.readthedocs.org/en/latest/imageutils/index.html
So I wiped the installation and the log for the fresh install shows this error that starts in
imageutils/setup.py
:@astrofrog @eteq Have you seen this before?