Upgrade to JUnit Jupiter 5.12.0.
Comment From: snicoll
This breaks the build as we're using code that's now deprecated but the migration path is not obvious, I've asked the JUnit team: https://github.com/junit-team/junit5/issues/4131#issuecomment-2704162688