Skip to content

docs CI: re-clone StochasticDiffEq fresh in env setup (complete #870 fix)#872

Merged
ChrisRackauckas merged 2 commits into
SciML:masterfrom
ChrisRackauckas-Claude:fix-stochasticdiffeq-dev-checkout
Jun 16, 2026
Merged

docs CI: re-clone StochasticDiffEq fresh in env setup (complete #870 fix)#872
ChrisRackauckas merged 2 commits into
SciML:masterfrom
ChrisRackauckas-Claude:fix-stochasticdiffeq-dev-checkout

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Contributor

Note

Please ignore until reviewed by @ChrisRackauckas.

#870 fixed the Documentation build failing on a stale ~/.julia/dev/OrdinaryDiffEq checkout, but only handled OrdinaryDiffEq. docs/make.jl also Pkg.develops StochasticDiffEq, which hits the identical failure on any runner carrying a stale checkout — observed just now on demeter4-3:

ERROR: LoadError: empty intersection between StochasticDiffEq@6.100.0 and project compatibility 7
  [13] top-level scope @ docs/make.jl:31

This generalizes the env-setup re-clone to refresh both OrdinaryDiffEq and StochasticDiffEq before developing them, completing the #870 fix. After this, make.jl's own Pkg.develop calls for the two are no-ops on the freshly-cloned checkouts.

This is a prerequisite for #871 (the AMG default-coarse-solver docs cleanup), whose Documentation build currently fails here before reaching any @example.

🤖 Generated with Claude Code

@ChrisRackauckas-Claude ChrisRackauckas-Claude force-pushed the fix-stochasticdiffeq-dev-checkout branch from 654cd0f to bc302e9 Compare June 16, 2026 12:00
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 SciML#869.)

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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>
@ChrisRackauckas ChrisRackauckas merged commit 4bbcb87 into SciML:master Jun 16, 2026
7 checks passed
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