Skip to content

Commit 5b99758

Browse files
committed
chore: remove python 3.9 support
1 parent b233641 commit 5b99758

20 files changed

+21
-171
lines changed

.github/workflows/odh-notebooks-sync.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ env:
3333
REPO_OWNER: ${{ github.event.inputs.codeflare-repository-organization }}
3434
REPO_NAME: notebooks
3535
GITHUB_TOKEN: ${{ secrets.CODEFLARE_MACHINE_ACCOUNT_TOKEN }}
36-
MINIMUM_SUPPORTED_PYTHON_VERSION: 3.9
36+
MINIMUM_SUPPORTED_PYTHON_VERSION: 3.11
3737

3838
jobs:
3939
build:

.github/workflows/publish-documentation.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Install Python
2020
uses: actions/setup-python@v5
2121
with:
22-
python-version: 3.9
22+
python-version: 3.11
2323
- name: Install Sphinx
2424
run: |
2525
sudo apt-get update

demo-notebooks/additional-demos/hf_interactive.ipynb

-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@
7070
"\n",
7171
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
7272
"\n",
73-
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
7473
"- For Python 3.11: 'quay.io/modh/ray:2.35.0-py311-cu121'\n",
7574
"\n",
7675
"If you prefer to use a custom Ray image that better suits your needs, you can specify it in the image field to override the default."

demo-notebooks/additional-demos/local_interactive.ipynb

+1-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@
3737
"\n",
3838
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
3939
"\n",
40-
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
41-
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121 '\n",
40+
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121'\n",
4241
"\n",
4342
"If you prefer to use a custom Ray image that better suits your needs, you can specify it in the image field to override the default."
4443
]

demo-notebooks/additional-demos/ray_job_client.ipynb

+1-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@
4343
"\n",
4444
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
4545
"\n",
46-
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
47-
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121 '\n",
46+
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121'\n",
4847
"\n",
4948
"If you prefer to use a custom Ray image that better suits your needs, you can specify it in the image field to override the default."
5049
]

demo-notebooks/guided-demos/0_basic_ray.ipynb

+1-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@
4949
"\n",
5050
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
5151
"\n",
52-
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
53-
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121 '\n",
52+
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121'\n",
5453
"\n",
5554
"If you prefer to use a custom Ray image that better suits your needs, you can specify it in the image field to override the default."
5655
]

demo-notebooks/guided-demos/1_cluster_job_client.ipynb

+1-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@
4343
"\n",
4444
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
4545
"\n",
46-
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
47-
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121 '\n",
46+
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121'\n",
4847
"\n",
4948
"If you prefer to use a custom Ray image that better suits your needs, you can specify it in the image field to override the default."
5049
]

demo-notebooks/guided-demos/2_basic_interactive.ipynb

+1-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@
4646
"\n",
4747
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
4848
"\n",
49-
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
50-
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121 '\n",
49+
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121'\n",
5150
"\n",
5251
"If you prefer to use a custom Ray image that better suits your needs, you can specify it in the image field to override the default."
5352
]

demo-notebooks/guided-demos/3_widget_example.ipynb

+1-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@
4949
"\n",
5050
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
5151
"\n",
52-
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
53-
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121 '\n",
52+
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121'\n",
5453
"\n",
5554
"If you prefer to use a custom Ray image that better suits your needs, you can specify it in the image field to override the default."
5655
]

demo-notebooks/guided-demos/notebook-ex-outputs/0_basic_ray.ipynb

+1-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@
4949
"\n",
5050
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
5151
"\n",
52-
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
53-
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121 '\n",
52+
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121'\n",
5453
"\n",
5554
"If you prefer to use a custom Ray image that better suits your needs, you can specify it in the image field to override the default."
5655
]

demo-notebooks/guided-demos/notebook-ex-outputs/1_cluster_job_client.ipynb

+1-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@
4343
"\n",
4444
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
4545
"\n",
46-
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
47-
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121 '\n",
46+
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121'\n",
4847
"\n",
4948
"If you prefer to use a custom Ray image that better suits your needs, you can specify it in the image field to override the default."
5049
]

demo-notebooks/guided-demos/notebook-ex-outputs/2_basic_interactive.ipynb

+1-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@
4646
"\n",
4747
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
4848
"\n",
49-
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
50-
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121 '\n",
49+
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121'\n",
5150
"\n",
5251
"If you prefer to use a custom Ray image that better suits your needs, you can specify it in the image field to override the default."
5352
]

demo-notebooks/guided-demos/preview_nbs/0_basic_ray.ipynb

+1-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@
4949
"\n",
5050
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
5151
"\n",
52-
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
53-
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121 '\n",
52+
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121'\n",
5453
"\n",
5554
"If you prefer to use a custom Ray image that better suits your needs, you can specify it in the image field to override the default."
5655
]

demo-notebooks/guided-demos/preview_nbs/1_cluster_job_client.ipynb

+1-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@
4343
"\n",
4444
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
4545
"\n",
46-
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
47-
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121 '\n",
46+
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121'\n",
4847
"\n",
4948
"If you prefer to use a custom Ray image that better suits your needs, you can specify it in the image field to override the default."
5049
]

demo-notebooks/guided-demos/preview_nbs/2_basic_interactive.ipynb

+1-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@
4646
"\n",
4747
"NOTE: The default images used by the CodeFlare SDK for creating a RayCluster resource depend on the installed Python version:\n",
4848
"\n",
49-
"- For Python 3.9: 'quay.io/modh/ray:2.35.0-py39-cu121'\n",
50-
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121 '\n",
49+
"- For Python 3.11: 'quay.io/modh/ray:2.44.1-py311-cu121'\n",
5150
"\n",
5251
"If you prefer to use a custom Ray image that better suits your needs, you can specify it in the image field to override the default."
5352
]

docs/sphinx/user-docs/cluster-configuration.rst

+1-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ requirements for creating the Ray Cluster.
3535
The default images used by the CodeFlare SDK for creating
3636
a RayCluster resource depend on the installed Python version:
3737

38-
- For Python 3.9: `quay.io/modh/ray:2.35.0-py39-cu121`
39-
- For Python 3.11: `quay.io/modh/ray:2.44.1-py311-cu121 `
38+
- For Python 3.11: `quay.io/modh/ray:2.44.1-py311-cu121`
4039

4140
If you prefer to use a custom Ray image that better suits your
4241
needs, you can specify it in the image field to override the default.

0 commit comments

Comments
 (0)