Skip to content

Commit 82fa656

Browse files
kryanbeanechipspeak
authored andcommitted
chore: remove python 3.9 support
1 parent ba4f631 commit 82fa656

31 files changed

+46
-368
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/notebook-ex-outputs/interactivetest.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ spec:
8181
value: /home/ray/workspace/tls/server.key
8282
- name: RAY_TLS_CA_CERT
8383
value: /home/ray/workspace/tls/ca.crt
84-
image: quay.io/modh/ray:2.35.0-py39-cu121
84+
image: quay.io/modh/ray:2.44.1-py311-cu121
8585
imagePullPolicy: Always
8686
lifecycle:
8787
preStop:
@@ -147,7 +147,7 @@ spec:
147147
value: /home/ray/workspace/tls/server.key
148148
- name: RAY_TLS_CA_CERT
149149
value: /home/ray/workspace/tls/ca.crt
150-
image: quay.io/modh/ray:2.35.0-py39-cu121
150+
image: quay.io/modh/ray:2.44.1-py311-cu121
151151
lifecycle:
152152
preStop:
153153
exec:

demo-notebooks/guided-demos/notebook-ex-outputs/jobtest.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ spec:
7070
value: /home/ray/workspace/tls/server.key
7171
- name: RAY_TLS_CA_CERT
7272
value: /home/ray/workspace/tls/ca.crt
73-
image: quay.io/modh/ray:2.35.0-py39-cu121
73+
image: quay.io/modh/ray:2.44.1-py311-cu121
7474
imagePullPolicy: Always
7575
lifecycle:
7676
preStop:
@@ -127,7 +127,7 @@ spec:
127127
value: /home/ray/workspace/tls/server.key
128128
- name: RAY_TLS_CA_CERT
129129
value: /home/ray/workspace/tls/ca.crt
130-
image: quay.io/modh/ray:2.35.0-py39-cu121
130+
image: quay.io/modh/ray:2.44.1-py311-cu121
131131
lifecycle:
132132
preStop:
133133
exec:

demo-notebooks/guided-demos/notebook-ex-outputs/raytest.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ spec:
7070
value: /home/ray/workspace/tls/server.key
7171
- name: RAY_TLS_CA_CERT
7272
value: /home/ray/workspace/tls/ca.crt
73-
image: quay.io/modh/ray:2.35.0-py39-cu121
73+
image: quay.io/modh/ray:2.44.1-py311-cu121
7474
imagePullPolicy: Always
7575
lifecycle:
7676
preStop:
@@ -127,7 +127,7 @@ spec:
127127
value: /home/ray/workspace/tls/server.key
128128
- name: RAY_TLS_CA_CERT
129129
value: /home/ray/workspace/tls/ca.crt
130-
image: quay.io/modh/ray:2.35.0-py39-cu121
130+
image: quay.io/modh/ray:2.44.1-py311-cu121
131131
lifecycle:
132132
preStop:
133133
exec:

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

+2-3
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,12 @@ 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.
4342
If you are using ROCm compatible GPUs you
44-
can use `quay.io/modh/ray:2.35.0-py311-rocm62` or `quay.io/modh/ray:2.35.0-py39-rocm62`. You can also find
43+
can use `quay.io/modh/ray:2.35.0-py311-rocm62`. You can also find
4544
documentation on building a custom image
4645
`here <https://github.com/opendatahub-io/distributed-workloads/tree/main/images/runtime/examples>`__.
4746

0 commit comments

Comments
 (0)