Skip to content

Bump compat for OrdinaryDiffEq v7 / SciMLBase v3 ecosystem#334

Merged
ChrisRackauckas merged 1 commit into
SciML:mainfrom
ChrisRackauckas-Claude:bump-ordinarydiffeq-v7-ecosystem
Apr 27, 2026
Merged

Bump compat for OrdinaryDiffEq v7 / SciMLBase v3 ecosystem#334
ChrisRackauckas merged 1 commit into
SciML:mainfrom
ChrisRackauckas-Claude:bump-ordinarydiffeq-v7-ecosystem

Conversation

@ChrisRackauckas-Claude
Copy link
Copy Markdown

Summary

Widens compat bounds and applies breaking-change migrations for the OrdinaryDiffEq v7 / SciMLBase v3 ecosystem release (SciML/OrdinaryDiffEq.jl#3562, cascade revert SciML/OrdinaryDiffEq.jl#3565).

See also: OrdinaryDiffEq NEWS.md

Compat bumps (docs/Project.toml)

Package Old compat New compat
OrdinaryDiffEq "6" "6, 7"
OrdinaryDiffEqRosenbrock "1" "1, 2"

Note: OrdinaryDiffEqCore was NOT bumped to v5 (that was reverted in #3565; v4 is current). DifferentialEquations compat remains at "7" (no new major there).

Source migrations applied

These are the only usages of breaking APIs found in the docs source:

  • docs/src/showcase/optimization_under_uncertainty.md: Migrate ensemble prob_func(prob, i, repeat)prob_func(prob, ctx) (new EnsembleProblem API in OrdinaryDiffEq v7 / SciMLBase v3).
  • docs/src/showcase/massively_parallel_gpu.md: Same prob_func signature migration.
  • docs/src/showcase/ode_types.md: Migrate sol[11]sol.u[11] (RAT v4 element-first integer indexing change: sol[i] is now element-first, use sol.u[i] to access the state at the i-th saved timestep).

No destats/has_destats, DEAlgorithm, chunk_size/standardtag/diff_type/autodiff=Bool, or u_modified! usages were found in the docs source.

Test plan

  • Confirm Pkg.instantiate() resolves with OrdinaryDiffEq v7 and OrdinaryDiffEqRosenbrock v2 in the docs environment
  • CI docs build passes (primary signal)
  • Check that tutorial examples using prob_func and sol[i] are syntactically valid with the new API

🤖 Generated with Claude Code

Widen compat bounds in docs/Project.toml:
- OrdinaryDiffEq: "6" → "6, 7"
- OrdinaryDiffEqRosenbrock: "1" → "1, 2"

Apply breaking-change migrations from OrdinaryDiffEq v7 NEWS:
- docs/src/showcase/optimization_under_uncertainty.md: migrate
  prob_func(prob, i, repeat) → prob_func(prob, ctx) (ensemble API)
- docs/src/showcase/massively_parallel_gpu.md: same prob_func migration
- docs/src/showcase/ode_types.md: migrate sol[11] → sol.u[11]
  (RAT v4 element-first indexing change)

References: SciML/OrdinaryDiffEq.jl#3562, #3565

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
@ChrisRackauckas-Claude
Copy link
Copy Markdown
Author

CI Notes

The `Build and Deploy Aggregate Documentation` job failed with:

ERROR: expected package `AdvancedHMC [0bf59076]` to be registered

This failure is unrelated to the compat changes in this PR. The error occurs in the `Pkg.develop` step on the self-hosted runner `demeter4-3`, which appears to have a stale Julia registry cache that doesn't contain `AdvancedHMC`. The previous run (at 00:34 UTC today) succeeded on runner `demeter4-1` with the same `AdvancedHMC = "0.8"` compat entry already in the `docs/Project.toml` prior to this PR.

The `AdvancedHMC` package IS present in the General registry (UUID 0bf59076) — this is a runner-infrastructure cache issue. Triggering a re-run should use a healthy runner.

@ChrisRackauckas ChrisRackauckas merged commit 56408b8 into SciML:main Apr 27, 2026
1 of 4 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