Skip to content

Commit 0a3329e

Browse files
committed
Merge remote-tracking branch 'upstream/maint/1.5.x' into maint/1.6.x
2 parents e0512a7 + 506bf14 commit 0a3329e

File tree

4 files changed

+21
-22
lines changed

4 files changed

+21
-22
lines changed

.circleci/config.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
- build-v1-{{ .Branch }}-{{ .Revision }}
1919
- build-v1--{{ .Revision }}
2020
- build-v1-{{ .Branch }}-
21+
- build-v1-maint/1.6.x-
2122
- build-v1-master-
2223
- build-v1-
2324
paths:
@@ -98,13 +99,14 @@ jobs:
9899
- restore_cache:
99100
keys:
100101
- env-v2-{{ .Branch }}-
102+
- env-v2-maint/1.6.x-
101103
- env-v2-master-
102104
- env-v2-
103105
- run:
104106
name: Setup git-annex, DataLad & TemplateFlow
105107
command: |
106108
apk update && apk add --no-cache coreutils
107-
conda install -y -c conda-forge datalad git wget
109+
conda install -y -c conda-forge python=*=*cpython datalad git wget
108110
python -m pip install --no-cache-dir -U datalad-osf templateflow
109111
git config --global user.name 'NiPreps Bot'
110112
git config --global user.email '[email protected]'
@@ -117,6 +119,7 @@ jobs:
117119
keys:
118120
- data-v3-{{ .Branch }}-{{ epoch }}
119121
- data-v3-{{ .Branch }}-
122+
- data-v3-maint/1.6.x-
120123
- data-v3-master-
121124
- data-v3-
122125
- run:
@@ -183,10 +186,6 @@ jobs:
183186
- restore_cache:
184187
keys:
185188
- build-v1-{{ .Branch }}-{{ .Revision }}
186-
- build-v1--{{ .Revision }}
187-
- build-v1-{{ .Branch }}-
188-
- build-v1-master-
189-
- build-v1-
190189
- run:
191190
name: Docker authentication
192191
command: |
@@ -214,9 +213,6 @@ jobs:
214213
- restore_cache:
215214
keys:
216215
- data-v3-{{ .Branch }}-{{ epoch }}
217-
- data-v3-{{ .Branch }}-
218-
- data-v3-master-
219-
- data-v3-
220216

221217
- run:
222218
name: Run unit tests
@@ -335,10 +331,6 @@ jobs:
335331
- restore_cache:
336332
keys:
337333
- build-v1-{{ .Branch }}-{{ .Revision }}
338-
- build-v1--{{ .Revision }}
339-
- build-v1-{{ .Branch }}-
340-
- build-v1-master-
341-
- build-v1-
342334
paths:
343335
- /tmp/docker
344336
- /tmp/images

.github/workflows/pythonpackage.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Python package
55

66
on:
77
push:
8-
branches: [ '*' ]
8+
branches: [ '**' ]
99
tags: [ '*' ]
1010
pull_request:
1111
branches: [ master, 'maint/*' ]
@@ -32,8 +32,7 @@ jobs:
3232
if [[ -z "$COMMIT_MSG" ]]; then
3333
COMMIT_MSG=$(git show -s --format=%s)
3434
fi
35-
echo $COMMIT_MSG
36-
echo "::set-output name=commit_message::$COMMIT_MSG"
35+
echo commit_message=$COMMIT_MSG | tee -a $GITHUB_OUTPUT
3736
env:
3837
COMMIT_MSG: ${{ github.event.head_commit.message }}
3938

@@ -114,14 +113,14 @@ jobs:
114113
runs-on: ubuntu-latest
115114
strategy:
116115
matrix:
117-
python-version: [3.7, 3.8, 3.9]
116+
python-version: [3.7, 3.8, 3.9, "3.10"]
118117
install: [repo]
119118
include:
120-
- python-version: 3.9
119+
- python-version: "3.10"
121120
install: sdist
122-
- python-version: 3.9
121+
- python-version: "3.10"
123122
install: wheel
124-
- python-version: 3.9
123+
- python-version: "3.10"
125124
install: editable
126125

127126
env:
@@ -259,8 +258,6 @@ jobs:
259258
name: Submit to CodeCov
260259

261260
flake8:
262-
needs: check_if_skip
263-
if: "!contains(needs.check_if_skip.outputs.commit_message, '[skip ci]')"
264261
runs-on: ubuntu-latest
265262
steps:
266263
- uses: actions/checkout@v3

CHANGES.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,16 @@ A list of prominent changes can be found below. (With thanks to Lea Waller for t
305305
* ``NormalizeMotionParams`` now under ``confounds``.
306306
* ``FMRISummary``, ``CompCorVariancePlot``, ``ConfoundsCorrelationPlot`` from ``plotting``
307307

308+
1.3.9 (December 21, 2022)
309+
=========================
310+
Bug-fix release in the 1.3.x series.
311+
312+
Minor maintenance.
313+
314+
* FIX: Remove deprecated uses of ``np.bool`` for numpy 1.24 compatibility (#764)
315+
* CI: Update GitHub actions from master (#766)
316+
* CI: Update CircleCI from master (#765)
317+
308318
1.3.8 (September 14, 2022)
309319
==========================
310320
Bug-fix release in the 1.3.x series

niworkflows/viz/plots.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,7 @@ def confounds_correlation_plot(
927927
ax0 = plt.subplot(gs[0, :10])
928928
ax1 = plt.subplot(gs[0, 11:])
929929

930-
mask = np.zeros_like(corr, dtype=np.bool_)
930+
mask = np.zeros_like(corr, dtype=bool)
931931
mask[np.triu_indices_from(mask)] = True
932932
sns.heatmap(corr, linewidths=0.5, cmap="coolwarm", center=0, square=True, ax=ax0)
933933
ax0.tick_params(axis="both", which="both", width=0)

0 commit comments

Comments
 (0)