Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build timeout due to autodoc requirements #4443

Closed
eendebakpt opened this issue Jul 29, 2018 · 6 comments
Closed

Build timeout due to autodoc requirements #4443

eendebakpt opened this issue Jul 29, 2018 · 6 comments
Labels
Support Support question

Comments

@eendebakpt
Copy link

Details

To get autodoc to work I added setup_py_install: true to the .readthedocs.yml (as described in #3634). A side effect is that my project must now be compiled by readthedocs, before it can be installed. Since my projects compiles code using swig and C++ I created a conda environment file in order to install swig in the build environment. This seems to be working, but now the build takes too long and I get a Build exited due to time out error.

Is it possible to either

  • Use autodoc, without building the project?
  • Increase the time limit for this project?

More info:

Expected Result

The build should have taken place within the amount of time allowed or autodoc should work without installing the package.

Actual Result

A timeout error was generated.

@stsewd
Copy link
Member

stsewd commented Jul 29, 2018

@stsewd stsewd added the Support Support question label Jul 29, 2018
@peendebak
Copy link

@stsewd I checked the link, but I don't see how this would help. My project does have a C extension, but I don't see hoe the mocks can prevent building the extension.

@peendebak
Copy link

@stsewd I figured out how to use the mocks to disable building my C extension. A problem is still that since the C extension is not build, also the swig wrappers are not generated and hence no documentation is generated for this.

@stsewd
Copy link
Member

stsewd commented Aug 3, 2018

Yeah, you can't use mocks in those cases :/, we need to wait for a maintainer to increase your time limit, but it seems very weird: the command says Command killed due to excessive memory consumption, but the general message says Build exited due to time out

@humitos
Copy link
Member

humitos commented Oct 15, 2018

@eendebakpt hi! you may want to subscribe to this issue about adding swig to the image container: readthedocs/readthedocs-docker-images#15

Let's handle the timeout issue for now at #4757

@eendebakpt
Copy link
Author

Fixed with #4757

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Support Support question
Projects
None yet
Development

No branches or pull requests

4 participants