Skip to content

Commit c11b0d4

Browse files
authored
Merge pull request #93 from hjmjohnson/update-build-to-main-branch
2 parents 5d0e471 + 46c767c commit c11b0d4

3 files changed

Lines changed: 31 additions & 12 deletions

File tree

.github/workflows/build-test-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ on: [push,pull_request]
44

55
jobs:
66
cxx-build-workflow:
7-
uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-cxx.yml@v5.4.4
7+
uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-cxx.yml@v5.4.6
88
with:
99
itk-module-deps: 'BoneEnhancement@e6935aa760c3fa4e247ca0f4924a4fe3e420bf91:IOScanco@10a73c1ab2de044c4dd73608f91cf52012aff5e4'
1010

1111
python-build-workflow:
12-
uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-package-python.yml@v5.4.4
12+
uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-package-python.yml@v5.4.6
1313
with:
1414
itk-module-deps: 'InsightSoftwareConsortium/ITKBoneEnhancement@e6935aa760c3fa4e247ca0f4924a4fe3e420bf91'
1515
secrets:

.github/workflows/test-python-hasi.yml

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,29 @@
11
name: Test Python HASI
22

3-
on: [push,pull_request]
3+
# NOTE (2026-04): This workflow is temporarily disabled on push / PR
4+
# events because every element of its toolchain has bit-rotted:
5+
#
6+
# * Runner images `ubuntu-18.04`, `windows-2019`, and `macos-10.15`
7+
# have all been retired by GitHub Actions, so the jobs sit in
8+
# `queued` indefinitely and never start.
9+
# * Python 3.7 is end-of-life (EOL June 2023) and is not installable
10+
# on modern runner images via `actions/setup-python@v5`.
11+
# * The pinned test dependencies `itk==5.2.0.post2` (2021),
12+
# `itk-shape==0.2.1`, and `dwd==1.0.1` are incompatible with the
13+
# `itk` 5.4.x API that the rest of HASI now targets.
14+
# * The IPFS-hosted test data workflow relies on
15+
# `ibnesayeed/setup-ipfs@master` plus an `ipfs pin add` of a CID
16+
# that is no longer reliably pinned on the public swarm, so even
17+
# on a working runner the test data step fails.
18+
#
19+
# The last successful run of this workflow predates 2025-03. Rather
20+
# than mask the failures with `continue-on-error`, trigger only on
21+
# `workflow_dispatch` so the file stays around as a scaffold for when
22+
# someone has time to modernize the Python test stack (port tests away
23+
# from IPFS, bump `itk`, pick new runner images). The `src/hasi`
24+
# pytest files themselves are unchanged and still runnable locally.
25+
26+
on: [workflow_dispatch]
427

528
env:
629
hasi-testing-data-ipfs-cid: bafybeihvca4e6ik3twyz5qdz3f33woqpzorrcfwkh47tp3wwpxuuggmbey
@@ -11,19 +34,15 @@ jobs:
1134
strategy:
1235
max-parallel: 3
1336
matrix:
14-
os: [ubuntu-18.04, windows-2019, macos-10.15]
15-
include:
16-
- os: ubuntu-18.04
17-
- os: windows-2019
18-
- os: macos-10.15
37+
os: [ubuntu-24.04, windows-2022, macos-14]
1938

2039
steps:
21-
- uses: actions/checkout@v4
40+
- uses: actions/checkout@v5
2241

23-
- name: Set up Python 3.7
42+
- name: Set up Python 3.10
2443
uses: actions/setup-python@v5
2544
with:
26-
python-version: 3.7
45+
python-version: '3.10'
2746

2847
- name: Setup ipfs
2948
uses: ibnesayeed/setup-ipfs@master

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ classifiers = [
3434
"Topic :: Scientific/Engineering :: Medical Science Apps.",
3535
"Topic :: Software Development :: Libraries",
3636
]
37-
requires-python = ">=3.9"
37+
requires-python = ">=3.10"
3838
dependencies = [
3939
"itk == 5.4.*",
4040
"itk-boneenhancement",

0 commit comments

Comments
 (0)