Skip to content

Fix StochasticDiffEqImplicit explicit import order - #4408

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:fix-stochastic-implicit-explicit-import
Aug 30, 2026
Merged

ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:fix-stochastic-implicit-explicit-import

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member

Ignore this PR until it has been reviewed by @ChrisRackauckas.

What changed and why

Import StochasticDiffEqCore before reexporting it from StochasticDiffEqImplicit. On Julia 1.11, creating the binding through @reexport using first causes ExplicitImports to retain it as an implicit import even when a later import StochasticDiffEqCore appears in the same module.

The regression was bisected to 661f605, which enabled ExplicitImports for the sublibrary and added the explicit import after the reexport.

Failing before

On clean master at 468bea34e07adda8e3b6327119a65e50c7fc89c9:

GROUP=QA ~/.juliaup/bin/julia +1.11.9 --project=lib/StochasticDiffEqImplicit --startup-file=no -e 'using Pkg; Pkg.test()'
ImplicitImportsException
Module `StochasticDiffEqImplicit` is relying on the following implicit imports:
* `StochasticDiffEqCore` which is exported by `StochasticDiffEqCore`

Test Summary:     | Pass  Error  Total
QA (Aqua and JET) |   20      1     21
ERROR: Package StochasticDiffEqImplicit errored during testing

Verification

The same Julia 1.11.9 QA command on this branch:

Test Summary:     | Pass  Total     Time
QA (Aqua and JET) |   21     21  1m54.0s
Testing StochasticDiffEqImplicit tests passed

Additional checks:

GROUP=Core julia +1.11.9 ... Pkg.test()
Module loads and constructors | 8/8 passed

GROUP=QA julia +1.12 ... Pkg.test()
QA (Aqua and JET) | 21/21 passed

julia +1.12 -m Runic --check lib/StochasticDiffEqImplicit/src/StochasticDiffEqImplicit.jl
exit 0

typos lib/StochasticDiffEqImplicit/src/StochasticDiffEqImplicit.jl
exit 0

git diff --check upstream/master...HEAD
exit 0

Not verified

The root Everything, GPU, downgrade, and documentation jobs were not run. This change only reorders two existing imports, does not alter the public API or documentation, and is covered by the sublibrary's discriminating QA and Core groups.

🤖 Generated with Claude Code
https://chatgpt.com/codex/tasks/01a03caf-aae8-74c3-9a79-53b836434858

Import StochasticDiffEqCore before reexporting it so Julia 1.11 records the module binding as explicit.

Co-Authored-By: Chris Rackauckas <[email protected]>

Co-Authored-By: Claude <[email protected]>

Claude-Session: https://chatgpt.com/codex/tasks/01a03caf-aae8-74c3-9a79-53b836434858
@ChrisRackauckas
ChrisRackauckas marked this pull request as ready for review August 30, 2026 02:03
@ChrisRackauckas
ChrisRackauckas merged commit 50b131a into SciML:master Aug 30, 2026
130 of 142 checks passed
ChrisRackauckas added a commit that referenced this pull request Sep 7, 2026
- Fix StochasticDiffEqImplicit import ordering (#4408)
- Fix TauLeaping JumpProblem initialization (#4409)
- Fix dense output for the explicit multirate methods (#4233)
- Let reinit! keep the step-size controller history (#4400)
- Mark an operator Jacobian as updated when calc_W! moves it (#4354)
- Restore weighted preconditioning and tolerances for default Krylov solves (#4391)



Agent-Harness: Claude Code
Agent-Model: claude-opus-5[1m]
Claude-Session: https://claude.ai/code/session_014FEzNTLFutCmTEAZ3zBg5R

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants