Commit 4bbcb87
* docs: build against released (registry) OrdinaryDiffEq/StochasticDiffEq
Drop the `Pkg.develop` of OrdinaryDiffEq and StochasticDiffEq in the docs build
(and the env-setup re-clone dance), resolving them — and all the solver
subpackages — from the registry at their released versions instead of master.
Why:
- StochasticDiffEq is a subpackage of the OrdinaryDiffEq.jl monorepo as of v7
(registry `repo = OrdinaryDiffEq.jl`, `subdir = lib/StochasticDiffEq`), so
`Pkg.develop("StochasticDiffEq")` re-cloned the same monorepo and the stale
leftover checkout of the old `SciML/StochasticDiffEq.jl` repo (6.100.0) broke
resolution against the docs `[compat] = "7"`:
ERROR: empty intersection between StochasticDiffEq@6.100.0 and compat 7
- `Pkg.develop`ing the monorepo master also risks version skew: the dev'd
master meta-package's subpackage [compat] must be satisfiable by the
*registered* subpackages (sources don't propagate to the docs project), which
breaks whenever master races ahead of the registry.
- The released packages already ship their `docs/` (OrdinaryDiffEq 7.0.0's
tarball includes `docs/` with pages.jl + src + common_*_steps.jl), so the API
docs can be copied from the installed stable packages with no dev checkout.
Net effect: the stable docs reflect released versions, the stale-checkout failure
mode and the monorepo skew are both gone, and env-setup is just instantiate.
(StochasticDiffEq's registered tarball does not yet ship `docs/` — its docs/ needs
to be migrated into lib/StochasticDiffEq in the monorepo; until then the
"StochasticDiffEq.jl API" section stays dropped, as added in #869.)
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* docs: source EnsembleProblem from SciMLBase in the low_dep example
Building against the stable release (previous commit) surfaced that
OrdinaryDiffEq 7.0.0 does not re-export `EnsembleProblem` (master does), so the
low-dependency example's `ODE.EnsembleProblem` was an `UndefVarError`. Source it
from SciMLBase, which defines it — consistent with this page's own point that
"you will always need SciMLBase.jl, since it defines all of the fundamental
types." This is the only docs `@example` affected: across all of docs/src the
only OrdinaryDiffEq-exported-on-master-but-not-7.0.0 symbol used via the alias is
`EnsembleProblem`, here.
Verified locally on the released stack (OrdinaryDiffEq 7.0.0 + OrdinaryDiffEqLowOrderRK
+ DiffEqCallbacks + SciMLBase): the example's ensemble solve runs successfully.
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: ChrisRackauckas-Claude <accounts@chrisrackauckas.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 94ae41b commit 4bbcb87
3 files changed
Lines changed: 7 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | 34 | | |
43 | 35 | | |
44 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
124 | 125 | | |
125 | 126 | | |
126 | 127 | | |
| |||
132 | 133 | | |
133 | 134 | | |
134 | 135 | | |
135 | | - | |
| 136 | + | |
136 | 137 | | |
137 | 138 | | |
138 | 139 | | |
| |||
0 commit comments