Skip to content

Commit

Permalink
fix(spark): lock package version, to ensure they match plugins.
Browse files Browse the repository at this point in the history
  • Loading branch information
shahinism committed Sep 11, 2024
1 parent 09eb0f5 commit 28f9013
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 14 deletions.
25 changes: 12 additions & 13 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ packages = [

[tool.poetry.dependencies]
python = ">=3.10.14"
pyspark = ">=3.3.2"
# FIXME we need to lock this for now, given the plugins we install are
# tightly coupled with the versions. Unless we require users to add
# these plugins on runtime, we can't change this.
pyspark = "3.3.2"

[tool.poetry.group.dev.dependencies]
commitizen = "^3.29.0"
Expand Down
1 change: 1 addition & 0 deletions src/sparkle/application/spark.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
_SPARK_EXTENSIONS = [
"org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions",
]

_SPARK_PACKAGES = [
"org.apache.iceberg:iceberg-spark-runtime-3.3_2.12:1.3.1",
"org.apache.spark:spark-sql-kafka-0-10_2.12:3.3.0",
Expand Down

0 comments on commit 28f9013

Please sign in to comment.