-
Notifications
You must be signed in to change notification settings - Fork 287
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
CI: Build docs outside of container #1606
Conversation
447bf0d
to
16960f6
Compare
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.
I suspect we also want to update the Makefile to treat warnings as errors.
This is an incredible optimization 👍
Locally I'm getting this failure:
|
smriprep version? |
|
It's very unclear to me what |
@@ -0,0 +1,2 @@ | |||
[build-system] | |||
requires = ["pip>=18.1", "setuptools>=40.8", "wheel", "numpy"] |
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.
@oesteban This should allow us to install purely with pip install .
, as pip
will parse this first to make sure it has the build dependencies.
pip 18.1 allows us to use a dependency that looks like "package @ URL"
, so we can handle all dependencies directly in install_requires
.
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.
Relevant discussion: https://stackoverflow.com/a/53412651
Possibly the reason this is failing for me is that pip removed dependency_links in version 19.
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.
Hmm. Looks like you can't actually set a minimum version on pip in this way. pypa/pip#4145
So this would mean we need to prepare for users with old pip, which is likely on most HPCs.
smriprep 0.2.0 has just posted. I would not spend a lot of time fighting pip. |
fmriprep/__about__.py
Outdated
'numpy', | ||
'pandas', | ||
'psutil>=5.4', | ||
'pybids<0.8.0a0,>=0.7.1', | ||
'pyyaml', | ||
'scikit-image', | ||
'smriprep @ git+https://github.com/poldracklab/smriprep.git@f1cfc37bcdc346549dbf1d037cdade3a3b32d5de', | ||
'smriprep @ ', |
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.
this was potentially working. please note that comma breaking up the string concatenation.
Changes proposed in this pull request
This should speed up builds somewhat by avoiding using the container in the documentation build and avoiding the container build in
doc(s)/*
branches.Documentation that should be reviewed