Skip to content

Commit

Permalink
[SPARK-49075][BUILD] Upgrade JUnit5 related to the latest version
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?
The pr aims to upgrade `JUnit5` related to the latest version, includes:
- `junit-jupiter` from `5.9.3` to `5.11.0`.
- `junit-platform` from `1.9.3` to `1.11.0`.
- `sbt-jupiter-interface` from `0.11.1` to `0.13.0`.

### Why are the changes needed?
- `junit-jupiter` & `junit-platform`
  https://github.com/junit-team/junit5/releases/tag/r5.11.0 (JUnit 5.11.0 = Platform 1.11.0 + Jupiter 5.11.0 + Vintage 5.11.0)
  https://junit.org/junit5/docs/5.10.3/release-notes/
  https://junit.org/junit5/docs/5.10.2/release-notes/
  https://junit.org/junit5/docs/5.10.1/release-notes/
  https://junit.org/junit5/docs/5.10.0/release-notes/

- `sbt-jupiter-interface`
  Note: `sbt-jupiter-interface` 0.11.3 is published under `com.github.sbt.junit`.
  https://github.com/sbt/sbt-jupiter-interface/releases/tag/v0.13.0 (Update JUnit to 5.11.0 by panbingkun in sbt/sbt-jupiter-interface#98)
  https://github.com/sbt/sbt-jupiter-interface/releases/tag/v0.12.0
  https://github.com/sbt/sbt-jupiter-interface/releases/tag/v0.11.4
  https://github.com/sbt/sbt-jupiter-interface/releases/tag/v0.11.3
  <img width="819" alt="image" src="https://github.com/user-attachments/assets/11d8fd83-58a0-45f7-b51f-1ff6efae8367">

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

### How was this patch tested?
Pass GA.

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

Closes apache#47560 from panbingkun/SPARK-49075.

Authored-by: panbingkun <[email protected]>
Signed-off-by: yangjie01 <[email protected]>
  • Loading branch information
panbingkun authored and IvanK-db committed Sep 19, 2024
1 parent 8680fb4 commit 2baa35c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,9 @@
<netty.version>4.1.110.Final</netty.version>
<netty-tcnative.version>2.0.65.Final</netty-tcnative.version>
<icu4j.version>75.1</icu4j.version>
<junit-jupiter.version>5.9.3</junit-jupiter.version>
<junit-platform.version>1.9.3</junit-platform.version>
<sbt-jupiter-interface.version>0.11.1</sbt-jupiter-interface.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>
<!--
If you are changing Arrow version specification, please check
./python/pyspark/sql/pandas/utils.py, ./python/packaging/classic/setup.py
Expand Down Expand Up @@ -437,7 +437,7 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.aichler</groupId>
<groupId>com.github.sbt.junit</groupId>
<artifactId>jupiter-interface</artifactId>
<scope>test</scope>
</dependency>
Expand Down Expand Up @@ -1266,7 +1266,7 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.aichler</groupId>
<groupId>com.github.sbt.junit</groupId>
<artifactId>jupiter-interface</artifactId>
<version>${sbt-jupiter-interface.version}</version>
<scope>test</scope>
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("net.aichler" % "sbt-jupiter-interface" % "0.11.1")
addSbtPlugin("com.github.sbt.junit" % "sbt-jupiter-interface" % "0.13.0")

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

0 comments on commit 2baa35c

Please sign in to comment.