Skip to content

Commit

Permalink
update to 3.9 and drop 3.8
Browse files Browse the repository at this point in the history
Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com>
  • Loading branch information
KumoLiu committed Oct 8, 2024
1 parent fe4a78d commit 8ced475
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 16 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 @@ -51,7 +51,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 @@ -84,7 +84,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 @@ -145,7 +145,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
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.8"
python: "3.9"

# Build documentation in the docs/ directory with Sphinx
sphinx:
Expand Down
2 changes: 1 addition & 1 deletion docs/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Prerequisites
--------------------------
MONAI Label supports both **Ubuntu** and **Windows** OS with GPU/CUDA enabled.

Make sure you have python 3.8/3.9 version environment with PyTorch and CUDA installed. MONAI Label features on other python version are not verified.
Make sure you have python 3.9/3.10 version environment with PyTorch and CUDA installed. MONAI Label features on other python version are not verified.

- Install `Python <https://www.python.org/downloads/>`_
- Install the following Python libraries
Expand Down
2 changes: 1 addition & 1 deletion plugins/cellprofiler/runvista2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
Installation:
This module has no external dependencies other than the python(>3.8) build-in dependencies.
This module has no external dependencies other than the python(>3.9) build-in dependencies.
You'll need to set up the VISTA2D based MONAI Label server based on the tutorial https://github.com/Project-MONAI/MONAILabel/tree/main/plugins/cellprofiler. After setting up the server, please
provide the server address to this plugin.s
Expand Down
2 changes: 1 addition & 1 deletion plugins/cvat/endoscopy/deepedit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ metadata:

spec:
description: A pre-trained DeepEdit model for interactive model for Endoscopy
runtime: 'python:3.8'
runtime: 'python:3.9'
handler: main:handler
eventTimeout: 30s

Expand Down
2 changes: 1 addition & 1 deletion plugins/cvat/endoscopy/inbody.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ metadata:
spec:
description: A pre-trained classification model for Endoscopy to flag if image follows InBody or OutBody
runtime: 'python:3.8'
runtime: 'python:3.9'
handler: main:handler
eventTimeout: 30s

Expand Down
2 changes: 1 addition & 1 deletion plugins/cvat/endoscopy/tooltracking.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ metadata:
spec:
description: A pre-trained tool tracking model for Endoscopy
runtime: 'python:3.8'
runtime: 'python:3.9'
handler: main:handler
eventTimeout: 30s

Expand Down
2 changes: 1 addition & 1 deletion plugins/cvat/pathology/deepedit_nuclei.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ metadata:
spec:
description: A pre-trained interaction/deepedit model for Pathology
runtime: 'python:3.8'
runtime: 'python:3.9'
handler: main:handler
eventTimeout: 30s

Expand Down
2 changes: 1 addition & 1 deletion plugins/cvat/pathology/nuclick.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ metadata:

spec:
description: A pre-trained NuClick model for interactive cell segmentation for Pathology
runtime: 'python:3.8'
runtime: 'python:3.9'
handler: main:handler
eventTimeout: 30s

Expand Down
2 changes: 1 addition & 1 deletion plugins/cvat/pathology/segmentation_nuclei.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ metadata:
spec:
description: A pre-trained semantic segmentation model for Pathology
runtime: 'python:3.8'
runtime: 'python:3.9'
handler: main:handler
eventTimeout: 30s

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ 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.
Expand Down

0 comments on commit 8ced475

Please sign in to comment.