Skip to content

Commit 5f2dc27

Browse files
committed
Merge remote-tracking branch 'upstream/maint/1.5.x'
2 parents 33713a5 + 914bc3a commit 5f2dc27

File tree

3 files changed

+38
-35
lines changed

3 files changed

+38
-35
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 17 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
schedule:
1313
- cron: '0 0 * * *'
1414

15+
concurrency:
16+
group: python-${{ github.ref }}
17+
cancel-in-progress: true
1518

1619
jobs:
1720
check_if_skip:
@@ -38,17 +41,14 @@ jobs:
3841
needs: check_if_skip
3942
if: "!contains(needs.check_if_skip.outputs.commit_message, '[skip ci]')"
4043
runs-on: ubuntu-latest
41-
strategy:
42-
matrix:
43-
python-version: ["3.10"]
4444
steps:
4545
- uses: actions/checkout@v3
4646
with:
4747
fetch-depth: 0
48-
- name: Set up Python ${{ matrix.python-version }}
49-
uses: actions/setup-python@v3
48+
- name: Set up Python 3
49+
uses: actions/setup-python@v4
5050
with:
51-
python-version: ${{ matrix.python-version }}
51+
python-version: 3
5252
- name: Display Python version
5353
run: python -c "import sys; print(sys.version)"
5454
- name: Check python version and install build
@@ -73,7 +73,7 @@ jobs:
7373
- name: Create test data directory
7474
run: mkdir -p $HOME/.cache/stanford-crn
7575
- name: Load test data cache
76-
uses: actions/cache@v2
76+
uses: actions/cache@v3
7777
id: stanford-crn
7878
with:
7979
path: ~/.cache/stanford-crn/
@@ -132,17 +132,17 @@ jobs:
132132
with:
133133
fetch-depth: 0
134134
- name: Set up Python ${{ matrix.python-version }}
135-
uses: actions/setup-python@v3
135+
uses: actions/setup-python@v4
136136
with:
137137
python-version: ${{ matrix.python-version }}
138138
- name: Load test data cache
139-
uses: actions/cache@v2
139+
uses: actions/cache@v3
140140
id: stanford-crn
141141
with:
142142
path: ~/.cache/stanford-crn/
143143
key: data-v0-${{ github.ref_name }}-${{ github.sha }}
144144
- name: Load TemplateFlow cache
145-
uses: actions/cache@v2
145+
uses: actions/cache@v3
146146
id: templateflow
147147
with:
148148
path: ~/.cache/templateflow
@@ -191,7 +191,7 @@ jobs:
191191
name: Submit to CodeCov
192192

193193
test-pre:
194-
needs: [build, get_data, check_if_skip]
194+
needs: [get_data, check_if_skip]
195195
if: ${{ !contains(needs.check_if_skip.outputs.commit_message, '[skip pre]') }}
196196
runs-on: ubuntu-latest
197197
strategy:
@@ -217,43 +217,26 @@ jobs:
217217
with:
218218
fetch-depth: 0
219219
- name: Set up Python ${{ matrix.python-version }}
220-
uses: actions/setup-python@v3
220+
uses: actions/setup-python@v4
221221
with:
222222
python-version: ${{ matrix.python-version }}
223223
- name: Load test data cache
224-
uses: actions/cache@v2
224+
uses: actions/cache@v3
225225
id: stanford-crn
226226
with:
227227
path: ~/.cache/stanford-crn/
228228
key: data-v0-${{ github.ref_name }}-${{ github.sha }}
229229
- name: Load TemplateFlow cache
230-
uses: actions/cache@v2
230+
uses: actions/cache@v3
231231
id: templateflow
232232
with:
233233
path: ~/.cache/templateflow
234234
key: templateflow-v0-${{ github.ref_name }}-${{ strategy.job-index }}-${{ github.sha }}
235235
restore-keys: |
236236
templateflow-v0-${{ github.ref_name }}-
237237
templateflow-v0-
238-
- name: Fetch packages
239-
uses: actions/download-artifact@v3
240-
with:
241-
name: dist
242-
path: dist/
243-
- name: Select archive
244-
run: |
245-
if [ "$INSTALL_TYPE" = "sdist" ]; then
246-
ARCHIVE=$( ls dist/*.tar.gz )
247-
elif [ "$INSTALL_TYPE" = "wheel" ]; then
248-
ARCHIVE=$( ls dist/*.whl )
249-
elif [ "$INSTALL_TYPE" = "repo" ]; then
250-
ARCHIVE="."
251-
elif [ "$INSTALL_TYPE" = "editable" ]; then
252-
ARCHIVE="-e ."
253-
fi
254-
echo "ARCHIVE=$ARCHIVE" >> $GITHUB_ENV
255238
- name: Install package
256-
run: python -m pip install $PIP_FLAGS $ARCHIVE
239+
run: python -m pip install $PIP_FLAGS .
257240
- name: Check version
258241
run: |
259242
# Interpolate version
@@ -272,7 +255,7 @@ jobs:
272255
uses: GabrielBB/xvfb-action@v1
273256
with:
274257
run: pytest -sv --no-xvfb --doctest-modules --cov niworkflows niworkflows
275-
- uses: codecov/codecov-action@v2
258+
- uses: codecov/codecov-action@v3
276259
name: Submit to CodeCov
277260

278261
flake8:
@@ -282,7 +265,7 @@ jobs:
282265
steps:
283266
- uses: actions/checkout@v3
284267
- name: Set up Python 3.7
285-
uses: actions/setup-python@v3
268+
uses: actions/setup-python@v4
286269
with:
287270
python-version: 3.7
288271
- run: pip install flake8

CHANGES.rst

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ This release includes a fix that resolves an issue with empty TSV files.
66

77
* FIX: TSV2JSON should convert empty TSV files to empty JSON files (#746)
88

9-
109
1.6.3 (September 08, 2022)
1110
==========================
1211
Patch release in the 1.6.x series.
@@ -110,6 +109,16 @@ This release upgrades the Dockerfile to use FSL6, and includes some new interfac
110109
* FIX: Scipy docs path (#681)
111110
* TEST: Drop excessively long interface equivalence tests (#674)
112111

112+
1.4.10 (September 14, 2022)
113+
===========================
114+
Bug-fix release in the 1.4.x series
115+
116+
Backports and minor maintenance.
117+
118+
* FIX: TSV2JSON should convert empty TSV files to empty JSON files (#747)
119+
* FIX: Stop relying on deprecated indexing behavior (#730)
120+
* MNT: Update docs and GitHub actions config from master in LTS branch (#748)
121+
113122
1.4.9 (April 21, 2022)
114123
======================
115124
Bug-fix release in the 1.4.x series.
@@ -296,6 +305,16 @@ A list of prominent changes can be found below. (With thanks to Lea Waller for t
296305
* ``NormalizeMotionParams`` now under ``confounds``.
297306
* ``FMRISummary``, ``CompCorVariancePlot``, ``ConfoundsCorrelationPlot`` from ``plotting``
298307

308+
1.3.8 (September 14, 2022)
309+
==========================
310+
Bug-fix release in the 1.3.x series
311+
312+
Backports and minor maintenance.
313+
314+
* FIX: TSV2JSON should convert empty TSV files to empty JSON files (#747)
315+
* FIX: Stop relying on deprecated indexing behavior (#730)
316+
* MNT: Update docs and GitHub actions config from master in LTS branch (#748)
317+
299318
1.3.7 (March 31, 2022)
300319
======================
301320
Bug-fix release in the 1.3.x series

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ tests =
9292
pytest-cov
9393
pytest-xdist >= 1.28
9494
pytest-xvfb
95+
pytest-env
9596
all =
9697
%(doc)s
9798
%(pointclouds)s

0 commit comments

Comments
 (0)