From caa24ca7a922ddcd2080e067c5f88c94ab402950 Mon Sep 17 00:00:00 2001 From: Tom Birdsong Date: Fri, 3 Nov 2023 10:15:14 -0400 Subject: [PATCH] BUG: Update Python requirements for notebook tests Update GitHub Actions workflow to pick up `requirements.txt` for notebook testing. Also updates `requirements.txt` with missing packages. --- .github/workflows/build-test-package.yml | 6 +++--- examples/requirements.txt | 10 +++++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-test-package.yml b/.github/workflows/build-test-package.yml index 3314f3dd..8d822599 100644 --- a/.github/workflows/build-test-package.yml +++ b/.github/workflows/build-test-package.yml @@ -4,11 +4,11 @@ on: [push,pull_request] jobs: cxx-build-workflow: - uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-cxx.yml@b91df27c6cf05342452a95be412646b23f8f03a3 + uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-cxx.yml@3f63de316255a285b0cac4c819d3d45649738999 python-build-workflow-dev: if: github.ref != 'refs/heads/master' && github.ref != 'refs/heads/main' && !startsWith(github.ref, 'refs/tags') - uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-package-python.yml@b91df27c6cf05342452a95be412646b23f8f03a3 + uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-package-python.yml@3f63de316255a285b0cac4c819d3d45649738999 with: python3-minor-versions: '["8","11"]' manylinux-platforms: '["_2_28-x64","2014-x64"]' @@ -18,7 +18,7 @@ jobs: python-build-workflow-main: if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags') - uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-package-python.yml@b91df27c6cf05342452a95be412646b23f8f03a3 + uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-package-python.yml@3f63de316255a285b0cac4c819d3d45649738999 with: python3-minor-versions: '["8","9","10","11"]' manylinux-platforms: '["_2_28-x64","2014-x64"]' diff --git a/examples/requirements.txt b/examples/requirements.txt index 264ad7ac..eee4ff18 100644 --- a/examples/requirements.txt +++ b/examples/requirements.txt @@ -1,8 +1,12 @@ -itk-elastix>=0.13.0 +itk-elastix>=0.19.1 itkwidgets>=0.32.0 jupyterlab>=2.2.0 imageio ipywidgets>=7.5.1 ipympl>=0.5.7 -voila>=0.3.4 -pyinstaller +numpy +torch>=2.0 +monai>=1.3.0 +matplotlib==3.3.1 +voila +tqdm