Skip to content

Commit a96e886

Browse files
committed
Fixes for Python version and wheel-stub
Signed-off-by: Eric Kerfoot <17726042+ericspod@users.noreply.github.com>
1 parent 7bb64f3 commit a96e886

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/copyright.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
- name: Set up Python 3.10
1616
uses: actions/setup-python@v6
1717
with:
18-
python-version: 3.10
18+
python-version: '3.10'
1919
cache: 'pip'
2020
- name: Install dependencies
2121
run: |
2222
find /opt/hostedtoolcache/* -maxdepth 0 ! -name 'Python' -exec rm -rf {} \;
23-
python -m pip install --upgrade pip wheel
23+
python -m pip install --upgrade pip wheel wheel-stub
2424
pip install --no-build-isolation -r https://raw.githubusercontent.com/Project-MONAI/MONAI/dev/requirements-dev.txt
2525
pip install -r requirements.txt
2626
- name: Copyright check

.github/workflows/guidelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
- name: Set up Python 3.10
1616
uses: actions/setup-python@v6
1717
with:
18-
python-version: 3.10
18+
python-version: '3.10'
1919
cache: 'pip'
2020
- name: Install dependencies
2121
run: |
2222
find /opt/hostedtoolcache/* -maxdepth 0 ! -name 'Python' -exec rm -rf {} \;
23-
python -m pip install --upgrade pip wheel
23+
python -m pip install --upgrade pip wheel wheel-stub
2424
pip install --no-build-isolation -r https://raw.githubusercontent.com/Project-MONAI/MONAI/dev/requirements-dev.txt
2525
pip install -r requirements.txt
2626
- name: Guidelines notebook format check

.github/workflows/pep8.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
- name: Set up Python 3.10
1616
uses: actions/setup-python@v6
1717
with:
18-
python-version: 3.10
18+
python-version: '3.10'
1919
cache: 'pip'
2020
- name: Install dependencies
2121
run: |
2222
find /opt/hostedtoolcache/* -maxdepth 0 ! -name 'Python' -exec rm -rf {} \;
23-
python -m pip install --upgrade pip wheel
23+
python -m pip install --upgrade pip wheel wheel-stub
2424
pip install --no-build-isolation -r https://raw.githubusercontent.com/Project-MONAI/MONAI/dev/requirements-dev.txt
2525
pip install -r requirements.txt
2626
- name: PEP8 check

.github/workflows/test-modified.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
find /opt/hostedtoolcache/* -maxdepth 0 ! -name 'Python' -exec rm -rf {} \;
3232
df -h
3333
which python
34-
python -m pip install -U pip wheel
34+
python -m pip install -U pip wheel wheel-stub
3535
# Force CPU-only PyTorch wheels so we don't download huge CUDA/nvidia-* wheels in CI.
3636
# Keep PyPI available for torch's dependencies.
3737
pip install --index-url https://download.pytorch.org/whl/cpu --extra-index-url https://pypi.org/simple torch torchvision torchaudio

0 commit comments

Comments
 (0)