Skip to content

Commit f1bae28

Browse files
aregmAreg Melik-Adamyancursoragent
authored
Update remaining Python 3.9 references to 3.12 (#52)
- Dask image: ghcr.io/dask/dask:2022.8.1-py3.9 -> 2026.1.2-py3.12. - Prefect default image in defaults.py: update to 3.6.17-py3.12-icl0.0.4. - Integration test: update conda environment name from python-3.9 to python-3.12. Co-authored-by: Areg Melik-Adamyan <areg@sphynx.local> Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 6b33f7f commit f1bae28

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/infractl/defaults.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""ICL defaults."""
22

3-
PREFECT_IMAGE = 'pbchekin/icl-prefect:2.20.16-py3.9-icl0.0.4'
3+
PREFECT_IMAGE = 'pbchekin/icl-prefect:3.6.17-py3.12-icl0.0.4'

terraform/modules/dask/dask-cluster.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ spec:
2222
topologyKey: kubernetes.io/hostname
2323
containers:
2424
- name: worker
25-
image: "ghcr.io/dask/dask:2022.8.1-py3.9"
25+
image: "ghcr.io/dask/dask:2026.1.2-py3.12"
2626
imagePullPolicy: "IfNotPresent"
2727
args:
2828
- dask-worker
@@ -32,7 +32,7 @@ spec:
3232
spec: # PodSpec, standard k8s pod - https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.21/#podspec-v1-core
3333
containers:
3434
- name: scheduler
35-
image: "ghcr.io/dask/dask:2022.8.1-py3.9"
35+
image: "ghcr.io/dask/dask:2026.1.2-py3.12"
3636
imagePullPolicy: "IfNotPresent"
3737
args:
3838
- dask-scheduler

tests/integration/test_jupyterhub.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def test_jupyterhub_notebook(jupyterhub_namespace, jupyterhub_session_pod_name):
1717
"/tmp/test_notebook.ipynb",
1818
)
1919

20-
# In order to execute NB inside the python-3.9 conda environment, we install nbconvert to this "user" environment.
20+
# In order to execute NB inside the python-3.12 conda environment, we install nbconvert to this "user" environment.
2121
# There is a better way to do this.
2222
exec_in_pod(
2323
core_v1,
@@ -26,8 +26,8 @@ def test_jupyterhub_notebook(jupyterhub_namespace, jupyterhub_session_pod_name):
2626
[
2727
"/bin/bash",
2828
"-c",
29-
"{ ~/.conda/bin/conda install -n python-3.9 -y nbconvert && \
30-
~/.conda/bin/conda run -n python-3.9 \
29+
"{ ~/.conda/bin/conda install -n python-3.12 -y nbconvert && \
30+
~/.conda/bin/conda run -n python-3.12 \
3131
jupyter nbconvert /tmp/test_notebook.ipynb --execute --to notebook; } > /tmp/nbconvert.log 2>&1",
3232
],
3333
)

0 commit comments

Comments
 (0)