Skip to content

Commit

Permalink
BUG: Update Python requirements for notebook tests
Browse files Browse the repository at this point in the history
Update GitHub Actions workflow to pick up `requirements.txt` for
notebook testing. Also updates `requirements.txt` with missing packages.
  • Loading branch information
tbirdso committed Nov 3, 2023
1 parent c4a181a commit 1d742f0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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@e9e1722ad37a862ade4cf5b01cec4dda792089c9

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@e9e1722ad37a862ade4cf5b01cec4dda792089c9
with:
python3-minor-versions: '["8","11"]'
manylinux-platforms: '["_2_28-x64","2014-x64"]'
Expand All @@ -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@e9e1722ad37a862ade4cf5b01cec4dda792089c9
with:
python3-minor-versions: '["8","9","10","11"]'
manylinux-platforms: '["_2_28-x64","2014-x64"]'
Expand Down
13 changes: 10 additions & 3 deletions examples/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
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.2.0
matplotlib==3.3.1
PyQt5==5.15.0
PyQt5-sip==12.8.0
QtPy==1.9.0
voila
tqdm

0 comments on commit 1d742f0

Please sign in to comment.