Skip to content

Commit

Permalink
Release 0.8.4 checks and updates (#1757)
Browse files Browse the repository at this point in the history
* Release 0.8.4 checks and updates

Signed-off-by: tangy5 <[email protected]>

* Trigger monai container update

Signed-off-by: tangy5 <[email protected]>

* Drop python 3.8

Signed-off-by: tangy5 <[email protected]>

* Drop python 3.8

Signed-off-by: tangy5 <[email protected]>

---------

Signed-off-by: tangy5 <[email protected]>
Co-authored-by: tangy5 <[email protected]>
  • Loading branch information
tangy5 and tangy5 authored Oct 17, 2024
1 parent 6535453 commit 8a00912
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 15 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand All @@ -50,7 +50,7 @@ jobs:
MONAI_ZOO_AUTH_TOKEN: ${{ github.token }}
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
MONAI_ZOO_AUTH_TOKEN: ${{ github.token }}
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
MONAI_ZOO_AUTH_TOKEN: ${{ github.token }}
strategy:
matrix:
python-version: ["3.8", "3.9"]
python-version: ["3.9"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:
with:
fetch-depth: 0
- uses: actions/setup-node@v4
- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.9
- name: Cache for pip
uses: actions/cache@v4
id: cache
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
# please run `./runtests.sh --clean && DOCKER_BUILDKIT=1 docker build -t projectmonai/monailabel:latest .`
# to use different version of MONAI pass `--build-arg MONAI_IMAGE=...`

ARG MONAI_IMAGE=projectmonai/monai:1.3.1
ARG MONAI_IMAGE=projectmonai/monai:1.4.0

ARG NODE_IMAGE=node:slim

FROM ${NODE_IMAGE} as ohifbuild
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

monai[nibabel, skimage, pillow, tensorboard, gdown, ignite, torchvision, itk, tqdm, lmdb, psutil, openslide, fire, mlflow]>=1.3.1
monai[nibabel, skimage, pillow, tensorboard, gdown, ignite, torchvision, itk, tqdm, lmdb, psutil, openslide, fire, mlflow]>=1.4.0
uvicorn==0.29.0
pydantic==2.7.0
pydantic-settings==2.2.1
Expand Down
2 changes: 1 addition & 1 deletion sample-apps/endoscopy/lib/configs/inbody.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def init(self, name: str, model_dir: str, conf: Dict[str, str], planner: Any, **
super().init(name, model_dir, conf, planner, **kwargs)

bundle_name = "endoscopic_inbody_classification"
version = conf.get("inbody", "0.4.8")
version = conf.get("inbody", "0.4.9")
zoo_source = conf.get("zoo_source", settings.MONAI_ZOO_SOURCE)

self.bundle_path = os.path.join(self.model_dir, bundle_name)
Expand Down
2 changes: 1 addition & 1 deletion sample-apps/endoscopy/lib/configs/tooltracking.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def init(self, name: str, model_dir: str, conf: Dict[str, str], planner: Any, **
super().init(name, model_dir, conf, planner, **kwargs)

bundle_name = "endoscopic_tool_segmentation"
version = conf.get("tooltracking", "0.5.9")
version = conf.get("tooltracking", "0.6.0")
zoo_source = conf.get("zoo_source", settings.MONAI_ZOO_SOURCE)

self.bundle_path = os.path.join(self.model_dir, bundle_name)
Expand Down
2 changes: 1 addition & 1 deletion sample-apps/pathology/lib/configs/classification_nuclei.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def init(self, name: str, model_dir: str, conf: Dict[str, str], planner: Any, **

bundle_name = "pathology_nuclei_classification"
zoo_source = conf.get("zoo_source", settings.MONAI_ZOO_SOURCE)
version = conf.get("classification_nuclei", "0.1.7")
version = conf.get("classification_nuclei", "0.2.0")

self.bundle_path = os.path.join(self.model_dir, bundle_name)
if not os.path.exists(self.bundle_path):
Expand Down
2 changes: 1 addition & 1 deletion sample-apps/pathology/lib/configs/hovernet_nuclei.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def init(self, name: str, model_dir: str, conf: Dict[str, str], planner: Any, **

bundle_name = "pathology_nuclei_segmentation_classification"
zoo_source = conf.get("zoo_source", settings.MONAI_ZOO_SOURCE)
version = conf.get("hovernet_nuclei", "0.2.4")
version = conf.get("hovernet_nuclei", "0.2.6")

self.bundle_path = os.path.join(self.model_dir, bundle_name)
if not os.path.exists(self.bundle_path):
Expand Down
2 changes: 1 addition & 1 deletion sample-apps/pathology/lib/configs/nuclick.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def init(self, name: str, model_dir: str, conf: Dict[str, str], planner: Any, **

bundle_name = "pathology_nuclick_annotation"
zoo_source = conf.get("zoo_source", settings.MONAI_ZOO_SOURCE)
version = conf.get("nuclick", "0.1.9")
version = conf.get("nuclick", "0.2.1")

self.bundle_path = os.path.join(self.model_dir, bundle_name)
if not os.path.exists(self.bundle_path):
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ project_urls =
Source Code=https://github.com/Project-MONAI/MONAILabel

[options]
python_requires = >= 3.8
python_requires = >= 3.9
# for compiling and develop setup only
# no need to specify the versions so that we could
# compile for multiple targeted versions.
setup_requires =
torch
ninja
install_requires =
monai[nibabel, skimage, pillow, tensorboard, gdown, ignite, torchvision, itk, tqdm, lmdb, psutil, openslide, fire, mlflow]>=1.3.1
monai[nibabel, skimage, pillow, tensorboard, gdown, ignite, torchvision, itk, tqdm, lmdb, psutil, openslide, fire, mlflow]>=1.4.0
uvicorn>=0.29.0
pydantic>=2.7.0
pydantic-settings>=2.2.1
Expand Down

0 comments on commit 8a00912

Please sign in to comment.