Repository navigation
Drop removed JET option target_defined_modules from sublibrary QA tests - #4561
Merged
ChrisRackauckas merged 1 commit intoSep 22, 2026
Conversation
…ests JET 0.12 removed the `target_defined_modules` configuration, and the QA environments allow `JET = "0.9, 0.10, 0.11, 0.12"`, so every QA group that passed `jet_kwargs = (; target_defined_modules = true)` now fails with `JETConfigError: Given unexpected configuration: target_defined_modules = true` before any analysis runs. SciMLTesting's default `jet_kwargs` is already `(; target_modules = (pkg,), mode = :typo)`, the same scoping the other sublibraries spell out explicitly, so the kwarg is deleted rather than replaced. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_011zATW7VHYDA8rNUr5JR73e
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed and why
JET 0.12 removed the
target_defined_modulesconfiguration option (present through JET 0.11.6, gone in 0.12.0/0.12.1). Twelve sublibrary QA tests still passedjet_kwargs = (; target_defined_modules = true)toSciMLTesting.run_qa, SciMLTesting 2.13.1 forwardsjet_kwargsverbatim toJET.test_package, and the QA environments allowJET = "0.9, 0.10, 0.11, 0.12". So on a fresh resolve every one of these QA groups now dies withJETConfigErrorbefore any analysis runs. This is a pre-existing failure onmaster(reproduced on2a3a2d17c), independent of any open PR.This PR deletes that kwarg from the twelve
lib/*/test/qa/qa.jlfiles. No replacement is needed: SciMLTesting's defaultjet_kwargsis(; target_modules = (pkg,), mode = :typo), which is the same package-scoped:typoanalysis the other sublibraries (e.g.StochasticDiffEqImplicit,StochasticDiffEqLeaping) already spell out explicitly, and it is valid on every JET version the compat allows. Twelve files, twelve deleted lines, nothing else.Affected: OrdinaryDiffEqExplicitTableaus, OrdinaryDiffEqImplicitTableaus, OrdinaryDiffEqRosenbrockTableaus, StochasticDiffEqCore, StochasticDiffEqHighOrder, StochasticDiffEqIIF, StochasticDiffEqLevyArea, StochasticDiffEqLowOrder, StochasticDiffEqMilstein, StochasticDiffEqROCK, StochasticDiffEqRODE, StochasticDiffEqWeak.
Failing before (unmodified
master@2a3a2d17c, Julia 1.13.0)GROUP=StochasticDiffEqCore_QA julia +1.13.0 --startup-file=no --project -e 'using Pkg; Pkg.test()':Passing after (this branch, Julia 1.13.0, same command per group)
GROUP=StochasticDiffEqCore_QA:All twelve affected QA groups run locally (
GROUP=<Sublib>_QA, exit 0, zeroError During Test/Test Failedlines):The
brokencounts are the pre-existingei_brokenExplicitImports entries in those fiveqa.jlfiles, untouched here.Also run before pushing:
julia +1.12 --project=@runic -m Runic --check <12 files>(clean) andtypos <12 files>(clean).Not verified
runtests.jlskips QA on pre-release Julia anyway).StochasticDiffEqImplicitandStochasticDiffEqLeapingare unchanged (they already usetarget_modules); their QA groups were not re-run.🤖 Generated with Claude Code
https://claude.ai/code/session_011zATW7VHYDA8rNUr5JR73e