From 34223f4b6ce80989ab84bdf0a058d0edec776fe9 Mon Sep 17 00:00:00 2001 From: Yiheng Wang Date: Fri, 2 Aug 2024 11:40:03 +0800 Subject: [PATCH 1/2] fix issue Signed-off-by: Yiheng Wang --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index ced783443e..72ba210093 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -21,7 +21,7 @@ black>=22.12 isort>=5.1 ruff pytype>=2020.6.1; platform_system != "Windows" -types-pkg_resources +types-setuptools mypy>=1.5.0 ninja torchvision From 9324069df787119071efc1b44c69a73f60e1adcf Mon Sep 17 00:00:00 2001 From: YunLiu <55491388+KumoLiu@users.noreply.github.com> Date: Fri, 2 Aug 2024 11:55:19 +0800 Subject: [PATCH 2/2] free cache space Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com> --- .github/workflows/pythonapp.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index cd6b6ccede..fe04f96a80 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -149,6 +149,7 @@ jobs: key: ${{ runner.os }}-pip-${{ steps.pip-cache.outputs.datew }} - name: Install dependencies run: | + find /opt/hostedtoolcache/* -maxdepth 0 ! -name 'Python' -exec rm -rf {} \; python -m pip install --user --upgrade pip setuptools wheel twine # install the latest pytorch for testing # however, "pip install monai*.tar.gz" will build cpp/cuda with an isolated