Skip to content

Commit 506bf14

Browse files
committed
Merge remote-tracking branch 'upstream/maint/1.4.x' into maint/1.5.x
2 parents 914bc3a + 6a9d0e6 commit 506bf14

File tree

4 files changed

+23
-24
lines changed

4 files changed

+23
-24
lines changed

.circleci/config.yml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
- build-v1--{{ .Revision }}
2020
- build-v1-{{ .Branch }}-
2121
- build-v1-maint/1.4.x-
22+
- build-v1-master-
2223
- build-v1-
2324
paths:
2425
- /tmp/docker
@@ -99,15 +100,16 @@ jobs:
99100
keys:
100101
- env-v2-{{ .Branch }}-
101102
- env-v2-maint/1.4.x-
103+
- env-v2-master-
102104
- env-v2-
103105
- run:
104106
name: Setup git-annex, DataLad & TemplateFlow
105107
command: |
106-
conda install -y -c anaconda -c conda-forge git-annex datalad wget
107-
python -m pip install --no-cache-dir -U datalad-osf
108+
apk update && apk add --no-cache coreutils
109+
conda install -y -c conda-forge python=*=*cpython datalad git wget
110+
python -m pip install --no-cache-dir -U datalad-osf templateflow
108111
git config --global user.name 'NiPreps Bot'
109112
git config --global user.email '[email protected]'
110-
python -m pip install --no-cache-dir -U templateflow
111113
- save_cache:
112114
key: env-v2-{{ .Branch }}-{{ .BuildNum }}
113115
paths:
@@ -118,6 +120,7 @@ jobs:
118120
- data-v3-{{ .Branch }}-{{ epoch }}
119121
- data-v3-{{ .Branch }}-
120122
- data-v3-maint/1.4.x-
123+
- data-v3-master-
121124
- data-v3-
122125
- run:
123126
name: Get test data from ds000003
@@ -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-maint/1.4.x-
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-maint/1.4.x-
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-maint/1.4.x-
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:
@@ -255,8 +254,6 @@ jobs:
255254
name: Submit to CodeCov
256255

257256
flake8:
258-
needs: check_if_skip
259-
if: "!contains(needs.check_if_skip.outputs.commit_message, '[skip ci]')"
260257
runs-on: ubuntu-latest
261258
steps:
262259
- uses: actions/checkout@v3

CHANGES.rst

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

253+
1.3.9 (December 21, 2022)
254+
=========================
255+
Bug-fix release in the 1.3.x series.
256+
257+
Minor maintenance.
258+
259+
* FIX: Remove deprecated uses of ``np.bool`` for numpy 1.24 compatibility (#764)
260+
* CI: Update GitHub actions from master (#766)
261+
* CI: Update CircleCI from master (#765)
262+
253263
1.3.8 (September 14, 2022)
254264
==========================
255265
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)