Repository navigation
Remove QPRK blanket SciMLBase reexport - #4124
ChrisRackauckas merged 2 commits into
Conversation
Co-Authored-By: Chris Rackauckas <[email protected]>
The QPRK test file relied on the removed blanket SciMLBase reexport for ODEProblem, ODEFunction, and solve. Co-Authored-By: Chris Rackauckas <[email protected]>
|
Fixed the
Fix (b0a2e0a): import those names from their owner in the test file: using SciMLBase: SciMLBase, ODEProblem, ODEFunction, solve
Ran locally in
Runic 1.7 check on the edited file is clean. Not addressed here, and not caused by this PR: the |
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
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
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
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
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
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
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
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
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
…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]>
Removes the QPRK leaf package blanket
SciMLBasereexport and its matching QA waiver. The publicQPRK98docstring now lives at its definition and follows the SciMLStyle structure, including an executable usage example. The umbrella manual importsODEProblemandsolvefrom their owner.Tests run locally:
Runic1.7 check on the edited Julia filesQuality Assurance | 20 / 20with SciMLTesting 2.6.1The 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.