-
Notifications
You must be signed in to change notification settings - Fork 28.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPARK-50299][BUILD] Upgrade jupiter-interface to 0.13.1 and Junit5 to 5.11.3 #48834
Conversation
@@ -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", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This part was missed during the previous upgrade
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, nice catch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much for helping to fix it!
Additionally, can we replace this hard coded version parameter
with SbtPomKeys.effectivePom.value.getProperties.get("sbt-jupiter-interface.version").asInstanceOf[String]
? So next time if we only upgrade the version (without involving groupId
or artifactId
changes), we only need to update one place.
cc @dongjoon-hyun and @panbingkun |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, LGTM. Thank you, @LuciferYang .
Thanks @dongjoon-hyun ~ |
+1, late LGTM |
Thanks @panbingkun |
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:definedTests
in terms of the task itself sbt/sbt-jupiter-interface#116Simultaneously upgraded Junit dependencies to Platform 1.11.3 + Jupiter 5.11.3:
The full release notes of
jupiter-interface
as follows:and the full release notes between Junit 5.11.0 to 5.11.3 as follows:
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