Skip to content

Commit ffbbee3

Browse files
authored
Merge pull request #726 from nipreps/rel/1.6.0
REL: 1.6.0
2 parents 9299e24 + c2007fa commit ffbbee3

File tree

4 files changed

+43
-12
lines changed

4 files changed

+43
-12
lines changed

CHANGES.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
1.6.0 (May 25, 2022)
2+
====================
3+
New feature release in the 1.6.x series. This series will support sMRIPrep 0.9,
4+
fMRIPrep 22.0., and nibabies 22.1.
5+
6+
* FIX: Address some reliability issues of the functional masking workflow (#714)
7+
* FIX: Improve reliability of BOLD masking workflow (#712)
8+
* FIX: Account for potential lists of lists in multi-echo cases (#719)
9+
* ENH: Added MRtrix3 gradients to derivative path patterns (#724)
10+
* ENH: Add T2starmap as a functional derivative (#720)
11+
* MAINT: Replace distutils use, upgrade versioneer (#725)
12+
* CI: Let datalad handle git-annex installation (#721)
13+
* CI: Bump environment cache version (#717)
14+
* CI: Fallback to maintenance branch first (#716)
15+
116
1.5.4 (April 08, 2022)
217
======================
318
Bug-fix release in the 1.5.x series.

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2323
# SOFTWARE.
2424

25-
FROM nipreps/miniconda:py38_1.4.2
25+
FROM nipreps/miniconda:py39_2205.0
2626

2727
ARG DEBIAN_FRONTEND=noninteractive
2828
ENV LD_LIBRARY_PATH="/usr/lib/x86_64-linux-gnu:${CONDA_PATH}/lib"

docs/conf.py

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,29 @@
1414
#
1515
import os
1616
import sys
17+
from unittest import mock
18+
import tempfile
19+
1720
from packaging.version import Version
21+
import templateflow
22+
23+
# Prevent etelemetry from loading at all
24+
# Could set NO_ET environment variable, but why?
25+
MOCKS = [
26+
"etelemetry",
27+
"matplotlib",
28+
"matplotlib.pyplot",
29+
"matplotlib.cm",
30+
"matplotlib.colors",
31+
"matplotlib.colorbar",
32+
]
33+
sys.modules.update({mod: mock.Mock() for mod in MOCKS})
34+
35+
# Keep templateflow API intact except for fetching files.
36+
# Return an existent but empty temporary file
37+
tffiledesc, tffilename = tempfile.mkstemp()
38+
os.close(tffiledesc)
39+
templateflow.api.get = mock.MagicMock(return_value=tffilename)
1840

1941
from niworkflows import __version__, __copyright__, __packagename__
2042

@@ -47,7 +69,6 @@
4769
]
4870

4971
autodoc_mock_imports = [
50-
"matplotlib",
5172
"nilearn",
5273
"nitime",
5374
"numpy",
@@ -57,6 +78,7 @@
5778
"svgutils",
5879
"templateflow",
5980
"transforms3d",
81+
"yaml",
6082
]
6183

6284
# Accept custom section names to be parsed for numpy-style docstrings
@@ -234,13 +256,13 @@
234256
# Example configuration for intersphinx: refer to the Python standard library.
235257
intersphinx_mapping = {
236258
"bids": ("https://bids-standard.github.io/pybids/", None),
237-
"matplotlib": ("https://matplotlib.org/", None),
259+
"matplotlib": ("https://matplotlib.org/stable", None),
238260
"nibabel": ("https://nipy.org/nibabel/", None),
239261
"nipype": ("https://nipype.readthedocs.io/en/latest/", None),
240262
"numpy": ("https://numpy.org/doc/stable/", None),
241263
"pandas": ("https://pandas.pydata.org/pandas-docs/dev", None),
242264
"python": ("https://docs.python.org/3/", None),
243-
"scipy": ("https://docs.scipy.org/doc/scipy-1.8.0/html-scipyorg/", None),
265+
"scipy": ("https://docs.scipy.org/doc/scipy/", None),
244266
"smriprep": ("https://www.nipreps.org/smriprep/", None),
245267
"surfplot": ("https://surfplot.readthedocs.io/en/latest/", None),
246268
"templateflow": ("https://www.templateflow.org/python-client", None),

docs/requirements.txt

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
1-
networkx != 2.8.1
2-
furo ~= 2021.10.09
3-
matplotlib >= 2.2.0
4-
nibabel
1+
attrs
2+
furo ~= 2022.4.7
53
nipype >= 1.5.1
6-
numpy
74
packaging
8-
pydot >= 1.2.3
9-
pydotplus
105
sphinx ~= 4.2
116
sphinxcontrib-apidoc
127
sphinxcontrib-napoleon
138
templateflow
14-
nitransforms >= 20.0.0rc3

0 commit comments

Comments
 (0)