Skip to content

Remove QPRK blanket SciMLBase reexport - #4124

Merged
ChrisRackauckas merged 2 commits into
SciML:masterfrom
ChrisRackauckas-Claude:agent/ordinarydiffeq-qprk-no-blanket-scimlbase
Aug 5, 2026
Merged

ChrisRackauckas merged 2 commits into
SciML:masterfrom
ChrisRackauckas-Claude:agent/ordinarydiffeq-qprk-no-blanket-scimlbase

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member

Removes the QPRK leaf package blanket SciMLBase reexport and its matching QA waiver. The public QPRK98 docstring now lives at its definition and follows the SciMLStyle structure, including an executable usage example. The umbrella manual imports ODEProblem and solve from their owner.

Tests run locally:

  • Runic 1.7 check on the edited Julia files
  • Direct strict QA environment: Quality Assurance | 20 / 20 with SciMLTesting 2.6.1

The full GROUP=QA Pkg.test() harness was started but its child test process was terminated by the executor after precompilation, before outputting a result; the direct QA execution above completed.

Ignore until reviewed by @ChrisRackauckas.

@ChrisRackauckas
ChrisRackauckas marked this pull request as ready for review August 5, 2026 09:46
The QPRK test file relied on the removed blanket SciMLBase reexport for
ODEProblem, ODEFunction, and solve.

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

Copy link
Copy Markdown
Member Author

Fixed the lib/OrdinaryDiffEqQPRK sublibrary CI failure.

test/ode_quadruple_precision_tests.jl was picking up ODEProblem, ODEFunction, and solve from the blanket @reexport using SciMLBase that this PR removes, so all three sublibrary-ci / lib/OrdinaryDiffEqQPRK lanes and the downgrade-sublibraries / test (lib/OrdinaryDiffEqQPRK) lane errored with:

LoadError: UndefVarError: `ODEProblem` not defined in `Main.var"##Quadruple Precision Tests#277"`

Fix (b0a2e0a): import those names from their owner in the test file:

using SciMLBase: SciMLBase, ODEProblem, ODEFunction, solve

SciMLBase is already a [deps] entry of OrdinaryDiffEqQPRK, so no Project.toml change is needed.

Ran locally in lib/OrdinaryDiffEqQPRK, GROUP=Core julia --project -e "using Pkg; Pkg.instantiate(); Pkg.test()":

  • Julia 1.12.6: Quadruple Precision Tests | 20 20 56.3s — passed
  • Julia 1.10.11 (lts): Quadruple Precision Tests | 20 20 40.9s — passed

Runic 1.7 check on the edited file is clean.

Not addressed here, and not caused by this PR: the Runic / Runic Format Check failure flags lib/OrdinaryDiffEqCore/ext/OrdinaryDiffEqCoreSparseArraysExt.jl, lib/OrdinaryDiffEqCore/src/integrators/integrator_utils.jl, and lib/OrdinaryDiffEqCore/src/misc_utils.jl — none of which this PR touches. The ModelingToolkit/SciMLSensitivity/ProbNumDiffEq/PositiveIntegrators downstream lanes and the other downgrade-sublibraries lanes (DiffEqDevTools, OrdinaryDiffEqNonlinearSolve, StochasticDiffEq) also look independent of this change.

@ChrisRackauckas
ChrisRackauckas merged commit a1b5ad1 into SciML:master Aug 5, 2026
116 of 130 checks passed
ChrisRackauckas-Claude pushed a commit to ChrisRackauckas-Claude/OrdinaryDiffEq.jl that referenced this pull request Aug 15, 2026
The public-API hardening PRs (SciML#4123, SciML#4124, SciML#4126, SciML#4128, SciML#4131, SciML#4132,
SciML#4133, SciML#4134, SciML#4135) removed `@reexport using SciMLBase` from nine leaf
sublibraries, so `using OrdinaryDiffEqFeagin` (and the others) no longer
provides `ODEProblem`/`solve`. Re-export the names needed for ordinary
ODE usage (problem/function types, solve/init/step!, remake, ReturnCode,
callbacks) rather than the whole SciMLBase surface, add Reexport back as
a dependency, approve exactly those names in each QA config, and test
that they are exported. Patch-bump the seven sublibraries that already
shipped the regression.

Fixes SciML#4269

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WiHL8AqRSy2VQZF6j68ovM
ChrisRackauckas-Claude pushed a commit to ChrisRackauckas-Claude/OrdinaryDiffEq.jl that referenced this pull request Aug 16, 2026
The public-API hardening PRs (SciML#4123, SciML#4124, SciML#4126, SciML#4128, SciML#4131, SciML#4132,
SciML#4133, SciML#4134, SciML#4135) removed `@reexport using SciMLBase` from nine leaf
sublibraries, so `using OrdinaryDiffEqFeagin` (and the others) no longer
provides `ODEProblem`/`solve`. Re-export the names needed for ordinary
ODE usage (problem/function types, solve/init/step!, remake, ReturnCode,
callbacks) rather than the whole SciMLBase surface, add Reexport back as
a dependency, approve exactly those names in each QA config, and test
that they are exported. Patch-bump the seven sublibraries that already
shipped the regression.

Fixes SciML#4269

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WiHL8AqRSy2VQZF6j68ovM
ChrisRackauckas-Claude pushed a commit to ChrisRackauckas-Claude/OrdinaryDiffEq.jl that referenced this pull request Aug 17, 2026
The public-API hardening PRs (SciML#4123, SciML#4124, SciML#4126, SciML#4128, SciML#4131, SciML#4132,
sublibraries, so `using OrdinaryDiffEqFeagin` (and the others) no longer
provides `ODEProblem`/`solve`. Re-export the names needed for ordinary
ODE usage (problem/function types, solve/init/step!, remake, ReturnCode,
callbacks) rather than the whole SciMLBase surface, add Reexport back as
a dependency, approve exactly those names in each QA config, and test
that they are exported. Patch-bump the seven sublibraries that already
shipped the regression.

Fixes SciML#4269

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WiHL8AqRSy2VQZF6j68ovM
ChrisRackauckas-Claude pushed a commit to ChrisRackauckas-Claude/OrdinaryDiffEq.jl that referenced this pull request Aug 20, 2026
The public-API hardening PRs (SciML#4123, SciML#4124, SciML#4126, SciML#4128, SciML#4131, SciML#4132,
sublibraries, so `using OrdinaryDiffEqFeagin` (and the others) no longer
provides `ODEProblem`/`solve`. Re-export the names needed for ordinary
ODE usage (problem/function types, solve/init/step!, remake, ReturnCode,
callbacks) rather than the whole SciMLBase surface, add Reexport back as
a dependency, approve exactly those names in each QA config, and test
that they are exported. Patch-bump the seven sublibraries that already
shipped the regression.

Fixes SciML#4269

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WiHL8AqRSy2VQZF6j68ovM
ChrisRackauckas-Claude pushed a commit to ChrisRackauckas-Claude/OrdinaryDiffEq.jl that referenced this pull request Aug 20, 2026
The public-API hardening PRs (SciML#4123, SciML#4124, SciML#4126, SciML#4128, SciML#4131, SciML#4132,
sublibraries, so `using OrdinaryDiffEqFeagin` (and the others) no longer
provides `ODEProblem`/`solve`. Re-export the names needed for ordinary
ODE usage (problem/function types, solve/init/step!, remake, ReturnCode,
callbacks) rather than the whole SciMLBase surface, add Reexport back as
a dependency, approve exactly those names in each QA config, and test
that they are exported. Patch-bump the seven sublibraries that already
shipped the regression.

Fixes SciML#4269

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WiHL8AqRSy2VQZF6j68ovM
ChrisRackauckas-Claude pushed a commit to ChrisRackauckas-Claude/OrdinaryDiffEq.jl that referenced this pull request Aug 21, 2026
The public-API hardening PRs (SciML#4123, SciML#4124, SciML#4126, SciML#4128, SciML#4131, SciML#4132,
sublibraries, so `using OrdinaryDiffEqFeagin` (and the others) no longer
provides `ODEProblem`/`solve`. Re-export the names needed for ordinary
ODE usage (problem/function types, solve/init/step!, remake, ReturnCode,
callbacks) rather than the whole SciMLBase surface, add Reexport back as
a dependency, approve exactly those names in each QA config, and test
that they are exported. Patch-bump the seven sublibraries that already
shipped the regression.

Fixes SciML#4269

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WiHL8AqRSy2VQZF6j68ovM
ChrisRackauckas-Claude pushed a commit to ChrisRackauckas-Claude/OrdinaryDiffEq.jl that referenced this pull request Aug 25, 2026
The public-API hardening PRs (SciML#4123, SciML#4124, SciML#4126, SciML#4128, SciML#4131, SciML#4132,
sublibraries, so `using OrdinaryDiffEqFeagin` (and the others) no longer
provides `ODEProblem`/`solve`. Re-export the names needed for ordinary
ODE usage (problem/function types, solve/init/step!, remake, ReturnCode,
callbacks) rather than the whole SciMLBase surface, add Reexport back as
a dependency, approve exactly those names in each QA config, and test
that they are exported. Patch-bump the seven sublibraries that already
shipped the regression.

Fixes SciML#4269

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WiHL8AqRSy2VQZF6j68ovM
ChrisRackauckas-Claude pushed a commit to ChrisRackauckas-Claude/OrdinaryDiffEq.jl that referenced this pull request Aug 25, 2026
The public-API hardening PRs (SciML#4123, SciML#4124, SciML#4126, SciML#4128, SciML#4131, SciML#4132,
sublibraries, so `using OrdinaryDiffEqFeagin` (and the others) no longer
provides `ODEProblem`/`solve`. Re-export the names needed for ordinary
ODE usage (problem/function types, solve/init/step!, remake, ReturnCode,
callbacks) rather than the whole SciMLBase surface, add Reexport back as
a dependency, approve exactly those names in each QA config, and test
that they are exported. Patch-bump the seven sublibraries that already
shipped the regression.

Fixes SciML#4269

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude <[email protected]>
Claude-Session: https://claude.ai/code/session_01WiHL8AqRSy2VQZF6j68ovM
ChrisRackauckas-Claude pushed a commit to ChrisRackauckas-Claude/OrdinaryDiffEq.jl that referenced this pull request Aug 26, 2026
The public-API hardening PRs (SciML#4123, SciML#4124, SciML#4126, SciML#4128, SciML#4131, SciML#4132,
sublibraries, so `using OrdinaryDiffEqFeagin` (and the others) no longer
provides `ODEProblem`/`solve`. Re-export the names needed for ordinary
ODE usage (problem/function types, solve/init/step!, remake, ReturnCode,
callbacks) rather than the whole SciMLBase surface, add Reexport back as
a dependency, approve exactly those names in each QA config, and test
that they are exported. Patch-bump the seven sublibraries that already
shipped the regression.

Fixes SciML#4269

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude <[email protected]>
Claude-Session: https://claude.ai/code/session_01WiHL8AqRSy2VQZF6j68ovM
ChrisRackauckas added a commit that referenced this pull request Aug 27, 2026
…s, chosen by a documented rule (#4272)

* Re-export the ordinary SciMLBase ODE API from leaf solver sublibraries

The public-API hardening PRs (#4123, #4124, #4126, #4128, #4131, #4132,
sublibraries, so `using OrdinaryDiffEqFeagin` (and the others) no longer
provides `ODEProblem`/`solve`. Re-export the names needed for ordinary
ODE usage (problem/function types, solve/init/step!, remake, ReturnCode,
callbacks) rather than the whole SciMLBase surface, add Reexport back as
a dependency, approve exactly those names in each QA config, and test
that they are exported. Patch-bump the seven sublibraries that already
shipped the regression.

Fixes #4269

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude <[email protected]>
Claude-Session: https://claude.ai/code/session_01WiHL8AqRSy2VQZF6j68ovM

* docs: constrain leaf solver SciMLBase reexports

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude <[email protected]>
Claude-Session: https://claude.ai/code/session_01WiHL8AqRSy2VQZF6j68ovM

* docs: narrow leaf solver reexports

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude <[email protected]>
Claude-Session: https://claude.ai/code/session_01WiHL8AqRSy2VQZF6j68ovM

* fix: remove stale leaf solver imports

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude <[email protected]>
Claude-Session: https://claude.ai/code/session_01WiHL8AqRSy2VQZF6j68ovM

* docs: exercise leaf solver reexports in examples

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude <[email protected]>
Claude-Session: https://claude.ai/code/session_01WiHL8AqRSy2VQZF6j68ovM

* Choose the re-exported SciMLBase names by a documented rule

Review asked two things: cover everything a user needs to set up any
problem these solvers accept, and replace the case-by-case name list with
a rule that can be stated and does not depend on what each package
happened to export in the past.

The rule: a SciMLBase name is re-exported iff it is part of the
user-facing common interface, in five closed categories -- every concrete
problem and function type, the solve and solution-inspection API,
callbacks, the integrator interface, and ensembles. Solver-author API
(traits, `build_solution`, wrappers, macros), abstract types, and
internal dispatch tags stay behind the `SciMLBase.` qualifier. That
covers the surface DifferentialEquations.jl exposes, so `SplitODEProblem`
and the callback-authoring verbs such as `u_modified!` are available from
every sublibrary rather than only from the one that solves that problem
type.

docs/src/api/reexports.md states the rule and lists the names, and the
list is now identical in all nine sublibraries. test/qa/qa_tests.jl
enforces it: it re-derives the mechanical category (concrete problem and
function types) from a live SciMLBase, and checks the sublibraries and
the docs page against each other, so a new SciMLBase problem type or a
drifting sublibrary fails CI instead of surprising a user.

Minor-bump the four sublibraries whose registered version predates these
exports; the other five already have a pending minor bump.

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude <[email protected]>
Claude-Session: https://claude.ai/code/session_01WiHL8AqRSy2VQZF6j68ovM

* Narrow SciMLBase reexports to OrdinaryDiffEq usage

Use the documented Common Interface as the exact source of problem and function reexports, and enforce the contract across all selective solver packages.

Codex-Session-ID: 01a03a11-47c2-77e0-858b-167004f0b79c

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

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

Claude-Session: https://claude.ai/code/session_01WiHL8AqRSy2VQZF6j68ovM

---------

Co-authored-by: ChrisRackauckas-Claude <[email protected]>
Co-authored-by: Claude <[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