Skip to content

build: scope transitive Spark dependencies explicitly - #876

Open
ahmadalguydi wants to merge 1 commit into
graphframes:mainfrom
ahmadalguydi:codex/provided-transitive-dependencies-858
Open

build: scope transitive Spark dependencies explicitly#876
ahmadalguydi wants to merge 1 commit into
graphframes:mainfrom
ahmadalguydi:codex/provided-transitive-dependencies-858

Conversation

@ahmadalguydi

Copy link
Copy Markdown

Fixes #858\n\nGraphFrames directly references libraries that currently arrive transitively through Spark: Hadoop filesystem APIs, Breeze, netlib BLAS, protobuf in the Connect API, and DataSketches in HyperANF. This declares those dependencies explicitly with provided scope so published GraphFrames artifacts do not accidentally bundle Spark-owned libraries.\n\nThe dependency versions follow the supported Spark 3.5.x, 4.0.x, and 4.1.x lines. DataSketches remains compile-scoped for Spark 3 because Spark 3.5 does not provide it, while Spark 4 uses the version supplied by Spark.\n\nValidation: git diff --check passed. The repository's bash-based sbt launcher cannot run directly in this Windows checkout because the cloned scripts use CRLF line endings; the full multi-Spark suite therefore remains for CI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: explicitly mark all the used transitive dependencies as provided

1 participant