Skip to content

Commit cbe4022

Browse files
committed
chore(pin): templateflow ~= 0.6 (and remove requirements.txt)
Taking advantage of the new auto-update. This commit also removes the requirements.txt file that was used exclusively by the Docker image distribution: pyntcloud now is in Pypi and we can safely pin templateflow to >=0.6.0 since the autoupdate was implemented.
1 parent 9901d38 commit cbe4022

File tree

4 files changed

+4
-9
lines changed

4 files changed

+4
-9
lines changed

Dockerfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -147,12 +147,8 @@ RUN python -c "from matplotlib import font_manager" && \
147147
sed -i 's/\(backend *: \).*$/\1Agg/g' $( python -c "import matplotlib; print(matplotlib.matplotlib_fname())" )
148148

149149
# Installing dev requirements (packages that are not in pypi)
150-
WORKDIR /src/
151-
COPY requirements.txt requirements.txt
152-
RUN pip install --no-cache-dir -r requirements.txt && \
153-
rm -rf $HOME/.cache/pip requirements.txt
154-
155150
# Precaching atlases
151+
RUN pip install --no-cache-dir "templateflow >= 0.6.0"
156152
RUN python -c "from templateflow import api as tfapi; \
157153
tfapi.get(['MNI152Lin', 'MNI152NLin2009cAsym', 'OASIS30ANTs'], suffix='T1w'); \
158154
tfapi.get(['MNI152Lin', 'MNI152NLin2009cAsym', 'OASIS30ANTs'], desc='brain', suffix='mask'); \
@@ -161,6 +157,7 @@ RUN python -c "from templateflow import api as tfapi; \
161157
tfapi.get(['OASIS30ANTs', 'NKI'], resolution=1, label='brain', suffix='probseg'); \
162158
tfapi.get(['OASIS30ANTs', 'NKI'], resolution=1, desc='BrainCerebellumRegistration', suffix='mask'); "
163159

160+
WORKDIR /src/
164161
COPY . niworkflows/
165162
WORKDIR /src/niworkflows/
166163
RUN pip install --no-cache-dir -e .[all] && \

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ sphinx-argparse
1010
sphinx>=2.1.2,<3.0
1111
sphinx_rtd_theme
1212
sphinxcontrib-apidoc ~= 0.3.0
13-
templateflow >= 0.6.0rc1
13+
templateflow

requirements.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ install_requires =
3939
seaborn
4040
svgutils
4141
transforms3d
42-
templateflow >= 0.6.0rc1
42+
templateflow >= 0.6
4343
test_requires =
4444
coverage < 5
4545
pytest >= 4.4

0 commit comments

Comments
 (0)