Skip to content

Commit 07cd981

Browse files
authored
Merge pull request #248 from Project-MONAI/gbae/drop_py36
Drop Python 3.6 support
2 parents 50b4cb9 + 15136e9 commit 07cd981

File tree

7 files changed

+13
-10
lines changed

7 files changed

+13
-10
lines changed

.github/workflows/pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v2
17-
- name: Set up Python 3.6
17+
- name: Set up Python 3.7
1818
uses: actions/setup-python@v2
1919
with:
20-
python-version: 3.6
20+
python-version: 3.7
2121
- name: Setup Dev Environment
2222
run: |
2323
pip install virtualenv

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ sphinx:
1818

1919
# Optionally set the version of Python and requirements required to build your docs
2020
python:
21-
version: 3.6
21+
version: 3.7
2222
install:
2323
- requirements: docs/requirements.txt
2424
# system_packages: true

docs/source/getting_started/installing_app_sdk.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
MONAI Deploy App SDK is available as a Python package through [Python Package Index (PyPI)](https://pypi.org/project/monai-deploy-app-sdk/).
44

5-
MONAI Deploy App SDK's core functionality is written in Python 3 (>= 3.6) for Linux.
5+
MONAI Deploy App SDK's core functionality is written in Python 3 (>= 3.7) for Linux.
66

77
```bash
88
pip install monai-deploy-app-sdk

docs/source/getting_started/tutorials/01_simple_app.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
## Setup
44

55
```bash
6-
# Create a virtual environment. Skip if you are already in a virtual environment. (Jupyterlab dropped its support for Python 3.6 since 2021-12-23. See https://github.com/jupyterlab/jupyterlab/pull/11740)
6+
# Create a virtual environment with Python 3.7.
7+
# Skip if you are already in a virtual environment.
8+
# (JupyterLab dropped its support for Python 3.6 since 2021-12-23.
9+
# See https://github.com/jupyterlab/jupyterlab/pull/11740)
710
conda create -n monai python=3.7 pytorch torchvision jupyterlab cudatoolkit=11.1 -c pytorch -c conda-forge
811
conda activate monai
912

docs/srs.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ The SDK shall support the following system configurations for a given target rel
698698
| Docker CE | 19.03.13+ ([2020-09-16](https://docs.docker.com/engine/release-notes/19.03/#190313)) |
699699
| NVIDIA Docker | [v2.5.0+](https://github.com/NVIDIA/nvidia-docker/) |
700700
| CUDA Compute Capability | 6.0 or larger (Pascal or newer, including Pascal, Volta, Turing and Ampere families) |
701-
| Python | Python 3.6+ |
701+
| Python | Python 3.7+ |
702702

703703

704704
### System Config #2 (Desktop ARM64)
@@ -714,7 +714,7 @@ The SDK shall support the following system configurations for a given target rel
714714
| Docker CE | 19.03.13+ ([2020-09-16](https://docs.docker.com/engine/release-notes/19.03/#190313)) |
715715
| NVIDIA Docker | [v2.5.0+](https://github.com/NVIDIA/nvidia-docker/) |
716716
| CUDA Compute Capability | 6.0 or larger (Pascal or newer, including Pascal, Volta, Turing and Ampere families) |
717-
| Python | Python 3.6+ |
717+
| Python | Python 3.7+ |
718718

719719

720720
### System Config #3 (DGX-1)
@@ -730,4 +730,4 @@ The SDK shall support the following system configurations for a given target rel
730730
| Docker CE | 19.03.13+ ([2020-09-16](https://docs.docker.com/engine/release-notes/19.03/#190313)) |
731731
| NVIDIA Docker | [v2.5.0+](https://github.com/NVIDIA/nvidia-docker/) |
732732
| CUDA Compute Capability | 7.0 or larger (Volta or newer, including Volta, Turing and Ampere families) |
733-
| Python | Python 3.6+ |
733+
| Python | Python 3.7+ |

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ build-backend = "setuptools.build_meta"
88

99
[tool.black]
1010
line-length = 120
11-
target-version = ['py36', 'py37', 'py38']
11+
target-version = ['py37', 'py38', 'py39']
1212
include = '\.pyi?$'
1313
exclude = '''
1414
(

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ project_urls =
1616
Source Code=https://github.com/Project-MONAI/monai-deploy-app-sdk
1717

1818
[options]
19-
python_requires = >= 3.6
19+
python_requires = >= 3.7
2020
# for compiling and develop setup only
2121
# no need to specify the versions so that we could
2222
# compile for multiple targeted versions.

0 commit comments

Comments
 (0)