Skip to content

Commit 5289896

Browse files
authored
Set python version to 3.9 in spark examples (#1725)
Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com> Co-authored-by: Eduardo Apolinario <eapolinario@users.noreply.github.com>
1 parent a8fbfea commit 5289896

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

examples/k8s_spark_plugin/k8s_spark_plugin/dataframe_passing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# %% [markdown]
2020
# Create an `ImageSpec` to automate the retrieval of a prebuilt Spark image.
2121
# %%
22-
custom_image = ImageSpec(registry="ghcr.io/flyteorg", packages=["flytekitplugins-spark"])
22+
custom_image = ImageSpec(python_version="3.9", registry="ghcr.io/flyteorg", packages=["flytekitplugins-spark"])
2323

2424
# %% [markdown]
2525
# :::{important}

examples/k8s_spark_plugin/k8s_spark_plugin/pyspark_pi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# %% [markdown]
1717
# Create an `ImageSpec` to automate the retrieval of a prebuilt Spark image.
1818
# %%
19-
custom_image = ImageSpec(registry="ghcr.io/flyteorg", packages=["flytekitplugins-spark"])
19+
custom_image = ImageSpec(python_version="3.9", registry="ghcr.io/flyteorg", packages=["flytekitplugins-spark"])
2020

2121

2222
# %% [markdown]

0 commit comments

Comments
 (0)