Skip to content

Commit

Permalink
Set python version to 3.9 in spark examples (#1725)
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Apolinario <[email protected]>
Co-authored-by: Eduardo Apolinario <[email protected]>
  • Loading branch information
eapolinario and eapolinario authored Aug 28, 2024
1 parent a8fbfea commit 5289896
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# %% [markdown]
# Create an `ImageSpec` to automate the retrieval of a prebuilt Spark image.
# %%
custom_image = ImageSpec(registry="ghcr.io/flyteorg", packages=["flytekitplugins-spark"])
custom_image = ImageSpec(python_version="3.9", registry="ghcr.io/flyteorg", packages=["flytekitplugins-spark"])

# %% [markdown]
# :::{important}
Expand Down
2 changes: 1 addition & 1 deletion examples/k8s_spark_plugin/k8s_spark_plugin/pyspark_pi.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# %% [markdown]
# Create an `ImageSpec` to automate the retrieval of a prebuilt Spark image.
# %%
custom_image = ImageSpec(registry="ghcr.io/flyteorg", packages=["flytekitplugins-spark"])
custom_image = ImageSpec(python_version="3.9", registry="ghcr.io/flyteorg", packages=["flytekitplugins-spark"])


# %% [markdown]
Expand Down

0 comments on commit 5289896

Please sign in to comment.