Skip to content

COMP: Remove make_tarballs.sh and make_windows_zip.ps1 (#310 tier 1) - #316

Merged
hjmjohnson merged 1 commit into
InsightSoftwareConsortium:mainfrom
BRAINSia:retire-tier1
Nov 26, 2026
Merged

hjmjohnson merged 1 commit into
InsightSoftwareConsortium:mainfrom
BRAINSia:retire-tier1

Conversation

@hjmjohnson

Copy link
Copy Markdown
Member

Remove scripts/make_tarballs.sh and scripts/make_windows_zip.ps1
(tier 1 of #310); pixi run release-wheels already builds the ITK cache
for every target. The cache docs now point at it.
Merge danger: two-way door; blast radius: anyone running the two scripts
by hand (no test, pixi task, workflow, or remote-module consumer).

Shape of the change
 scripts/
-  make_tarballs.sh       -> build_wheels.py --build-itk-tarball-cache
-  make_windows_zip.ps1   -> build_wheels.py --build-itk-tarball-cache
 README.md                       cache section: release-wheels, build roots
 docs/Build_ITK_Python_packages.rst   same
 .gitignore                      install-pixi.ps1 comment names its remaining user

release_wheels.py passes --build-itk-tarball-cache to every target;
wheel_packaging.py writes dist/ITKPythonBuilds-<platform>-<arch>.tar.zst
and the Windows builder writes ITKPythonBuilds-windows.zip. The docs
note that on macOS the build root must be
/Users/svc-dashboard/D/P/ITKPythonPackage-build (clone location or
--build-root), which make_tarballs.sh used to enforce.

docs/make.bat, listed in #310 tier 1, is already gone at main.

Evidence
  • git grep -E 'make_tarballs|make_windows_zip|make\.bat' at d1e7d0d: only
    the two scripts, README.md, the .rst, and a .gitignore comment; empty
    after this change.
  • pixi run -e dev python -m pytest tests/ -q: 489 passed.
  • pre-commit run --all-files: passed.
  • release-wheels built the ITK cache tarballs at d1e7d0d on
    2026-11-24 (macOS arm64 and manylinux aarch64 on Apple silicon,
    manylinux x86_64, Windows x64); this change does not touch that code.

Part of #310 (tier 1 only; tiers 2 and 3 stay open).

…reConsortium#310 tier 1)

Both wrap build_wheels.py --build-itk-tarball-cache, which
`pixi run release-wheels` now passes for every target. At d1e7d0d they
were referenced only by each other, README.md,
docs/Build_ITK_Python_packages.rst, and a .gitignore comment; no test,
pixi task, or workflow calls them.

The docs now point at release-wheels and say where it places caches,
including the macOS build root needed to match the CI path.
install-pixi.ps1 stays ignored for
windows-download-cache-and-build-module-wheels.ps1.

pytest tests/: 489 passed.

@dzenanz dzenanz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good on a glance. I have not tested this.

@hjmjohnson
hjmjohnson marked this pull request as ready for review November 26, 2026 02:01
@hjmjohnson
hjmjohnson merged commit 7fdcc06 into InsightSoftwareConsortium:main Nov 26, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants