-
Notifications
You must be signed in to change notification settings - Fork 13
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
Read the Docs builds failing #117
Comments
Read the Docs confoguration was introduced to require higher then default version of python. This worked then, but apparently now we also need to explicitly state that this package needs to be installed in order to build its docs. Fixes datalad#117
Read the Docs configuration was introduced to require a higher then default version of Python. This worked then, but apparently now we also need to explicitly state that our package needs to be installed in order to build its docs. Fixes datalad#117
Still not solved, unfortunately - but with a different error now: https://readthedocs.org/projects/datalad-neuroimaging/builds/19483011/ |
This is the RtD dependency installation for this project:
versus the same step for a fork created today:
I'm sure 1.8 might be made to work, but there's a potential mess of transitive dependencies lurking when capping sphinx alone. Option 1: introduce docs requirements fileWe could use what seems to be recommended by RtD, and tightly pin dependencies - this should work based on
# .readthedocs.yaml
python:
install:
- requirements: docs/requirements.txt
- method: pip
path: . Option 2: use existing .[devel-docs]Or we could use the # .readthedocs.yaml
python:
install:
- method: pip
path: .
extra_requirements:
- devel-docs Option 3: bothOr we could do everything and the kitchen sink, though that would probably mean re-installing in practice: # .readthedocs.yaml
python:
install:
- requirements: docs/requirements.txt
- method: pip
path: .
extra_requirements:
- devel-docs |
Note: Option 2 would probably still install the default dependencies ( |
The Read the Docs build history is a long list of failures.
#100 introduced
readthedocs.yaml
to bump Python version used on RtD and then it worked. Apparently something changed and now if we usereadthedocs.yaml
we also need to specify explicitly that we need to install this extension (needed by our build process) to build the docs - discovered in datalad/datalad-redcap#17The text was updated successfully, but these errors were encountered: