Skip to content

Commit c42a8a2

Browse files
committed
Merge tag '0.17.0'
0.17.0 (December 19, 2024) New feature release in the 0.17.x series. This release improves handling of datasets where T1w images are not the primary modality. It also supports the generation of fsLR meshes on the subject surface with the names: sub-<label>/anat/sub-<label>_hemi-<L|R>_space-fsLR_den-<label>_<surface>.surf.gii These are useful for plotting CIFTI results on subject anatomy. * FIX: Stop excluding FS minc_modify_header used during fallback registration (#453) * ENH: Output fsLR meshes on subject surfaces (#460) * ENH: Support spatial normalization to alternative modalities (#459) * ENH: Add `t2w_file` output to `TemplateFlowSelect` (#457) * MNT: Enable pre-release tests (#461) * MNT: Complete transition from flake8/black to ruff (#435) * MNT: Adopt src/ layout and tox (#458)
2 parents 7f2863a + 9636db4 commit c42a8a2

File tree

4 files changed

+40
-3
lines changed

4 files changed

+40
-3
lines changed

.github/workflows/build_test_deploy.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ jobs:
131131
matrix:
132132
os: ["ubuntu-latest"]
133133
python-version: ["3.12"]
134+
dependencies: ["latest"]
134135

135136
env:
136137
DEPENDS: ${{ matrix.dependencies }}
@@ -193,11 +194,18 @@ jobs:
193194
- name: Download packages built by build-and-inspect-python-package
194195
uses: actions/download-artifact@v4
195196
with:
196-
name: Packages
197+
pattern: Packages-*
197198
path: dist
198199

199200
- name: Upload package to PyPI
200201
uses: pypa/gh-action-pypi-publish@release/v1
202+
with:
203+
packages-dir: dist/Packages-main/
204+
205+
- name: Upload package to PyPI
206+
uses: pypa/gh-action-pypi-publish@release/v1
207+
with:
208+
packages-dir: dist/Packages-wrapper/
201209

202210
checks:
203211
runs-on: "ubuntu-latest"

CHANGES.rst

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
0.17.0 (December 19, 2024)
2+
==========================
3+
New feature release in the 0.17.x series.
4+
5+
This release improves handling of datasets where T1w images are not
6+
the primary modality. It also supports the generation of fsLR meshes
7+
on the subject surface with the names:
8+
9+
```
10+
sub-<label>/anat/sub-<label>_hemi-<L|R>_space-fsLR_den-<label>_<surface>.surf.gii
11+
```
12+
13+
These are useful for plotting CIFTI results on subject anatomy.
14+
15+
* FIX: Stop excluding FS minc_modify_header used during fallback registration (#453)
16+
* ENH: Output fsLR meshes on subject surfaces (#460)
17+
* ENH: Support spatial normalization to alternative modalities (#459)
18+
* ENH: Add `t2w_file` output to `TemplateFlowSelect` (#457)
19+
* MNT: Enable pre-release tests (#461)
20+
* MNT: Complete transition from flake8/black to ruff (#435)
21+
* MNT: Adopt src/ layout and tox (#458)
22+
123
0.16.1 (August 26, 2024)
224
========================
325
A bug-fix release that reworks selection within the

pyproject.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
[build-system]
2-
requires = ["hatchling", "hatch-vcs"]
2+
# Pin hatchling 1.26 to keep metadata 2.3
3+
# The hynek/build-and-inspect-python-package action is pinned at 2.8,
4+
# which in turn pins a twine that rejects 2.4.
5+
# Until uv build fixes a problem with its tar library, we're stuck here.
6+
# https://github.com/hynek/build-and-inspect-python-package/issues/155
7+
# https://github.com/astral-sh/uv/issues/5450
8+
requires = ["hatchling~=1.26.3", "hatch-vcs"]
39
build-backend = "hatchling.build"
410

511
[project]

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ deps =
6060
extras = tests
6161
setenv =
6262
pre: PIP_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
63-
pre: UV_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
63+
pre: UV_INDEX=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
64+
pre: UV_INDEX_STRATEGY=unsafe-best-match
6465
FSLOUTPUTTYPE=NIFTI_GZ
6566
uv_resolution =
6667
min: lowest-direct

0 commit comments

Comments
 (0)