-
Notifications
You must be signed in to change notification settings - Fork 533
FIX: corrects readthedocs build error #2723
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
FIX: corrects readthedocs build error #2723
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2723 +/- ##
==========================================
- Coverage 67.6% 64.28% -3.33%
==========================================
Files 340 338 -2
Lines 43153 43102 -51
Branches 5351 5348 -3
==========================================
- Hits 29174 27707 -1467
- Misses 13277 14314 +1037
- Partials 702 1081 +379
Continue to review full report at Codecov.
|
All the errors on circleci seem to be due to the spm version issue mentioned under ReproNim/neurodocker#227. This PR updates pybids version to 0.6.5 with 46cbed6, but I wasn't able to update neurodocker to 0.4.1 here? How do I get the new/corresponding Also, can somebody help me to understand why the tests on travis were failing? |
a33addc
to
46cbed6
Compare
The Travis tests are failing because of a coverage change in the pre-release. I think @adelavega can point to the issue, if needed. |
In any event, those pre-release checks shouldn't block merging, if that's the only thing holding you back right now. I think the solution is just to wait for a new coverage RC and Travis will fix itself. |
The main issue that I've tried to solve in this PR as well (I perhaps should rather create a new PR to do so), is to update |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From the builds:
Step 11/18 : ENV FREESURFER_HOME="/opt/freesurfer-6.0.0" PATH="/opt/freesurfer-6.0.0/bin:$PATH"
...
Step 13/18 : RUN echo "cHJpbnRmICJrcnp5c3p0b2YuZ29yZ29sZXdza2lAZ21haWwuY29tXG41MTcyXG4gKkN2dW12RVYzelRmZ1xuRlM1Si8yYzFhZ2c0RVxuIiA+IC9vcHQvZnJlZXN1cmZlci9saWNlbnNlLnR4dAo=" | base64 -d | sh
---> Running in 590ff37e749b
sh: 1: cannot create /opt/freesurfer/license.txt: Directory nonexistent
The command '/bin/sh -c echo "cHJpbnRmICJrcnp5c3p0b2YuZ29yZ29sZXdza2lAZ21haWwuY29tXG41MTcyXG4gKkN2dW12RVYzelRmZ1xuRlM1Si8yYzFhZ2c0RVxuIiA+IC9vcHQvZnJlZXN1cmZlci9saWNlbnNlLnR4dAo=" | base64 -d | sh' returned a non-zero code: 2
Let's update the B64-encoded script to target $FREESURFER_HOME/license_file.txt
. Unless the preferred method will be to require users to pass their own license file in?
docker/generate_dockerfiles.sh
Outdated
--base "$NIPYPE_BASE_IMAGE" --pkg-manager "$PKG_MANAGER" \ | ||
--label maintainer="The nipype developers https://github.com/nipy/nipype" \ | ||
--env MKL_NUM_THREADS=1 OMP_NUM_THREADS=1 \ | ||
--user neuro \ | ||
--miniconda env_name=neuro \ | ||
--miniconda create_env=neuro \ | ||
conda_install='python=${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}' \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this is being used prior to the definition of PYTHON_VERSION_*
(L102).
I will revert all the commits concerning |
Closes #2713.
Small PR that takes care of the readthedocs build error mentioned under #2713.
The problem was that
matplotlib
version 3.0.0 doesn't include thesphinxext.only_directives
anymore.