#!/usr/bin/env bash # NiFreeze venv at main 3bcfb00, Python 3.12. set -euo pipefail export TMPDIR=/var/tmp/dwi-tmp export UV_CACHE_DIR=/var/tmp/dwi-hmc/uv-cache V=/var/tmp/dwi-hmc/nifreeze-venv uv venv --python 3.12 "$V" uv pip install --python "$V/bin/python" "nifreeze @ git+https://github.com/nipreps/nifreeze.git@3bcfb00" uv pip freeze --python "$V/bin/python" > /var/tmp/dwi-hmc/nifreeze-pip-freeze.txt "$V/bin/python" -I -c "import sys, nifreeze; print(sys.version); print(nifreeze.__version__, nifreeze.__file__)"