Skip to content

Commit

Permalink
[SPARK-50299][BUILD] Upgrade jupiter-interface to 0.13.1 and Junit5 t…
Browse files Browse the repository at this point in the history
…o 5.11.3

### What changes were proposed in this pull request?
This pr aims to upgrade `jupiter-interface` from 0.13.0 to 0.13.1 and Junit5 to the latest version(Platform 1.11.3 + Jupiter 5.11.3).

### Why are the changes needed?
The new version of `jupiter-interface` brings two fixes:

- sbt/sbt-jupiter-interface#122
- sbt/sbt-jupiter-interface#116

Simultaneously upgraded Junit dependencies to Platform 1.11.3 + Jupiter 5.11.3:

- sbt/sbt-jupiter-interface#119

The full release notes of `jupiter-interface` as follows:

- https://github.com/sbt/sbt-jupiter-interface/releases/tag/v0.13.1

and the full release notes between Junit 5.11.0 to 5.11.3 as follows:

- https://junit.org/junit5/docs/5.11.3/release-notes/#release-notes-5.11.3
- https://junit.org/junit5/docs/5.11.3/release-notes/#release-notes-5.11.2
- https://junit.org/junit5/docs/5.11.3/release-notes/#release-notes-5.11.1

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
Pass GitHub Actions

### Was this patch authored or co-authored using generative AI tooling?
No

Closes #48834 from LuciferYang/junit5-5.11.3.

Authored-by: yangjie01 <yangjie01@baidu.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
  • Loading branch information
LuciferYang authored and dongjoon-hyun committed Nov 14, 2024
1 parent 2fd4702 commit 6bee268
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
10 changes: 7 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,13 @@
<netty.version>4.1.114.Final</netty.version>
<netty-tcnative.version>2.0.69.Final</netty-tcnative.version>
<icu4j.version>76.1</icu4j.version>
<junit-jupiter.version>5.11.0</junit-jupiter.version>
<junit-platform.version>1.11.0</junit-platform.version>
<sbt-jupiter-interface.version>0.13.0</sbt-jupiter-interface.version>
<junit-jupiter.version>5.11.3</junit-jupiter.version>
<junit-platform.version>1.11.3</junit-platform.version>
<!--
SPARK-50299: When updating `sbt-jupiter-interface.version`,
also need to update the version in `SparkBuild.scala` and `plugins.sbt`.
-->
<sbt-jupiter-interface.version>0.13.1</sbt-jupiter-interface.version>
<!--
If you are changing Arrow version specification, please check
./python/pyspark/sql/pandas/utils.py, ./python/packaging/classic/setup.py
Expand Down
2 changes: 1 addition & 1 deletion project/SparkBuild.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1714,7 +1714,7 @@ object TestSettings {
(Test / testOptions) += Tests.Argument(TestFrameworks.ScalaTest, "-W", "120", "300"),
(Test / testOptions) += Tests.Argument(TestFrameworks.JUnit, "-v", "-a"),
// Enable Junit testing.
libraryDependencies += "net.aichler" % "jupiter-interface" % "0.11.1" % "test",
libraryDependencies += "com.github.sbt.junit" % "jupiter-interface" % "0.13.1" % "test",
// `parallelExecutionInTest` controls whether test suites belonging to the same SBT project
// can run in parallel with one another. It does NOT control whether tests execute in parallel
// within the same JVM (which is controlled by `testForkedParallel`) or whether test cases
Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ addSbtPlugin("com.simplytyped" % "sbt-antlr4" % "0.8.3")

addSbtPlugin("com.github.sbt" % "sbt-pom-reader" % "2.4.0")

addSbtPlugin("com.github.sbt.junit" % "sbt-jupiter-interface" % "0.13.0")
addSbtPlugin("com.github.sbt.junit" % "sbt-jupiter-interface" % "0.13.1")

addSbtPlugin("com.thesamet" % "sbt-protoc" % "1.0.7")

0 comments on commit 6bee268

Please sign in to comment.