Skip to content

deps(deps): bump org.junit.jupiter:junit-jupiter from 5.10.2 to 6.0.3#623

Open
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/gradle/org.junit.jupiter-junit-jupiter-6.0.3
Open

deps(deps): bump org.junit.jupiter:junit-jupiter from 5.10.2 to 6.0.3#623
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/gradle/org.junit.jupiter-junit-jupiter-6.0.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 13, 2026

Copy link
Copy Markdown
Contributor

Bumps org.junit.jupiter:junit-jupiter from 5.10.2 to 6.0.3.

Release notes

Sourced from org.junit.jupiter:junit-jupiter's releases.

JUnit 6.0.3 = Platform 6.0.3 + Jupiter 6.0.3 + Vintage 6.0.3

See Release Notes.

Full Changelog: junit-team/junit-framework@r6.0.2...r6.0.3

JUnit 6.0.2 = Platform 6.0.2 + Jupiter 6.0.2 + Vintage 6.0.2

See Release Notes.

Full Changelog: junit-team/junit-framework@r6.0.1...r6.0.2

JUnit 6.0.1 = Platform 6.0.1 + Jupiter 6.0.1 + Vintage 6.0.1

See Release Notes.

Full Changelog: junit-team/junit-framework@r6.0.0...r6.0.1

JUnit 6.0.0 = Platform 6.0.0 + Jupiter 6.0.0 + Vintage 6.0.0

See Release Notes.

New Contributors

Full Changelog: junit-team/junit-framework@r5.14.0...r6.0.0

JUnit 6.0.0-RC3 = Platform 6.0.0-RC3 + Jupiter 6.0.0-RC3 + Vintage 6.0.0-RC3

See Release Notes.

New Contributors

Full Changelog: junit-team/junit-framework@r6.0.0-RC2...r6.0.0-RC3

JUnit 6.0.0-RC2 = Platform 6.0.0-RC2 + Jupiter 6.0.0-RC2 + Vintage 6.0.0-RC2

See Release Notes.

Full Changelog: junit-team/junit-framework@r6.0.0-RC1...r6.0.0-RC2

JUnit 6.0.0-RC1 = Platform 6.0.0-RC1 + Jupiter 6.0.0-RC1 + Vintage 6.0.0-RC1

... (truncated)

Commits
  • 36e3253 Release 6.0.3
  • 295561f Finalize 6.0.3 release notes
  • ea18076 Fix deadlock in NamespacedHierarchicalStore.computeIfAbsent() (#5348)
  • 869e232 Add 5.14.3 release notes
  • d4b34c4 Fix links to User Guide
  • 5c8fb0f Reliably support JRE.OTHER with @⁠EnabledOnJre and @⁠DisabledOnJre
  • febb13f Check out entire repo so switching to main branch works in last step
  • 71fba90 Install poppler-utils for pdfinfo
  • 740e9e0 Update API baseline
  • 2ba535f Use release branch of examples repo
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [org.junit.jupiter:junit-jupiter](https://github.com/junit-team/junit-framework) from 5.10.2 to 6.0.3.
- [Release notes](https://github.com/junit-team/junit-framework/releases)
- [Commits](junit-team/junit-framework@r5.10.2...r6.0.3)

---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter
  dependency-version: 6.0.3
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@claude

claude Bot commented Apr 13, 2026

Copy link
Copy Markdown

PR Review: bump org.junit.jupiter:junit-jupiter 5.10.2 → 6.0.3

This is a Dependabot PR but it warrants careful review before merging — it's a major version jump (JUnit 5 → JUnit 6) with several concerns.

⚠️ Version inconsistency across the project

The rest of the project is pinned to JUnit 5 via the version catalog (gradle/libs.versions.toml line 26: jupiter = "5.5.2"). Merging this PR creates a situation where:

  • spark/bulk-writer-s3 and spark/common → JUnit 6.0.3
  • Everything else (main module, other Spark modules, koin-test-junit5, etc.) → JUnit 5.5.2

This inconsistency will likely cause classpath conflicts or subtle test behavior differences and should be avoided.

⚠️ TestContainers compatibility risk

Both affected modules use testcontainers-junit-jupiter integration (@Testcontainers, @Container from org.testcontainers.junit.jupiter.*). The TestContainers JUnit 5 extension is not guaranteed to be compatible with JUnit 6, and there is no indication in this PR that compatibility was verified. If the extension doesn't work with JUnit 6, containers may fail to start/stop correctly, breaking the integration tests.

⚠️ Not using the version catalog

These modules bypass the version catalog and hardcode the JUnit version as a string literal. The right approach is to use libs.junit.jupiter from the catalog (or add a new catalog entry) so the version is managed consistently across all modules. Even if bumping is desired, the bump should go through the catalog.

⚠️ junit-platform-launcher version mismatch

testRuntimeOnly(libs.junit.platform.launcher) pulls the launcher version that was resolved for JUnit 5. The JUnit Platform Launcher version needs to be compatible with the JUnit Jupiter engine version. Mixing a JUnit 6 engine with a JUnit 5-era launcher (or vice versa) is not supported.


Recommendation

Do not merge as-is. This Dependabot PR should be closed in favor of one of:

  1. If a JUnit 6 upgrade is wanted — do it as a deliberate, project-wide migration: update jupiter in gradle/libs.versions.toml, verify compatibility with TestContainers, Koin (koin-test-junit5), and any other JUnit 5 integrations, and upgrade all modules together.

  2. If only these two modules need a patch/minor bump — update the version catalog entry to a JUnit 5.x version (e.g. 5.12.x) and switch these modules to use libs.junit.jupiter from the catalog rather than hardcoded strings.

@rustyrazorblade

Copy link
Copy Markdown
Owner

@claude fix all the issues you found

@claude

claude Bot commented Apr 13, 2026

Copy link
Copy Markdown

Claude finished @rustyrazorblade's task in 3m 42s —— View job


Fixing JUnit version issues

Tasks

  • Gather context and analyze current state
  • Read version catalog and spark build files
  • Update jupiter version in catalog to latest JUnit 5.x (5.14.3)
  • Fix catalog junit-jupiter entry to use the aggregator artifact instead of engine-only
  • Update spark/bulk-writer-s3 to use catalog instead of hardcoded version
  • Update spark/common to use catalog instead of hardcoded version
  • Commit and push changes

What was changed

gradle/libs.versions.toml

  • jupiter version: 5.5.25.14.3 (latest JUnit 5.x, the last series before JUnit 6)
  • junit-jupiter library entry: changed artifact from junit-jupiter-engine (engine-only) to junit-jupiter (aggregator — includes API + engine + params). This is the standard artifact to depend on and is what the spark modules were already using by name.

spark/bulk-writer-s3/build.gradle.kts and spark/common/build.gradle.kts

  • Replaced testImplementation("org.junit.jupiter:junit-jupiter:6.0.3") with testImplementation(libs.junit.jupiter) — now managed through the version catalog consistently with all other modules.

Issues resolved

  1. ✅ Version inconsistency — all modules now use JUnit 5.14.3 via the catalog
  2. ✅ Not using version catalog — spark modules now use libs.junit.jupiter
  3. ✅ TestContainers compatibility — staying on JUnit 5 maintains compatibility with testcontainers-junit-jupiter
  4. junit-platform-launcher mismatch — launcher version will resolve compatibly with JUnit Platform 1.14.3 (transitively required by junit-jupiter:5.14.3)
    |

- Bump jupiter version in catalog from stale 5.5.2 to 5.14.3
- Switch catalog junit-jupiter entry from engine-only artifact to
  the aggregator (org.junit.jupiter:junit-jupiter) so the full
  API + engine + params are available consistently
- Replace hardcoded junit-jupiter:6.0.3 strings in spark/common and
  spark/bulk-writer-s3 with libs.junit.jupiter from the catalog

This keeps all modules on the same JUnit 5 minor stream and ensures
TestContainers compatibility is maintained.

Co-authored-by: Jon Haddad <rustyrazorblade@users.noreply.github.com>
@dependabot @github

dependabot Bot commented on behalf of github Jun 8, 2026

Copy link
Copy Markdown
Contributor Author

A newer version of org.junit.jupiter:junit-jupiter exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant