Skip to content

chore(deps): Update LinearSolve requirement from 2.36.2, 3, 4.2 to 2.36.2, 3, 4.2, 5.0 in /docs in the all-julia-packages group across 1 directory - #561

Merged
ChrisRackauckas merged 1 commit into
masterfrom
dependabot/julia/docs/all-julia-packages-fce81199da
Jul 15, 2026
Merged

chore(deps): Update LinearSolve requirement from 2.36.2, 3, 4.2 to 2.36.2, 3, 4.2, 5.0 in /docs in the all-julia-packages group across 1 directory#561
ChrisRackauckas merged 1 commit into
masterfrom
dependabot/julia/docs/all-julia-packages-fce81199da

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 13, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on LinearSolve to permit the latest version.
Updates LinearSolve to 5.0.0

Release notes

Sourced from LinearSolve's releases.

v5.0.0

LinearSolve v5.0.0

Diff since v3.86.1

Breaking changes

  1. Reading .cache off the return of solve!/solve no longer works — it is always nothing.
    • Affected downstream: OrdinaryDiffEq (threads linres.cache through chained solves in 6 files) — a parallel PR migrates it off the pattern and must merge before 5.0 releases. NonlinearSolve reads only .u/.retcode and is unaffected (verified below). LinearSolve internals never read sol.cache.
    • Migration: keep the LinearCache you called solve! on:
      # before                                   # after
      sol = solve!(cache)                        sol = solve!(cache)
      linsolve = sol.cache                       linsolve = cache
      For one-shot solve(prob, alg) where you previously continued via sol.cache, switch to cache = init(prob, alg); sol = solve!(cache).
  2. cleanup_petsc_cache!(sol::LinearSolution), cleanup_mumps_cache!(sol::LinearSolution), cleanup_superludist_cache!(sol::LinearSolution) methods are removed (they read sol.cache.cacheval). Use the LinearCache methods from an init/solve! cycle: cleanup_*_cache!(cache). GC finalizers remain as the safety net for one-shot solve(prob, alg). Docstrings, docs pages, and the extension test suites are migrated accordingly.
  3. Sublibrary/test compat bumps: LinearSolve = "5" in lib/LinearSolveAutotune (→ 1.13.0), lib/LinearSolvePyAMG (→ 1.3.0), docs/, and all test/*/Project.toml.

Merged pull requests:

Closed issues:

  • Batch mode (#552)
  • ForwardDiff autodiff with PureKLUFactorization is very slow through implicit ODE solver (#1064)
  • LinearSolve v3.85.2+ broke dense implicit ODE solves with ComponentArray u0 (#1075)
  • Static LU path returns retcode Success with Inf/NaN solution on singular SMatrix (#1084)
Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

…36.2, 3, 4.2, 5.0

Updates the requirements on [LinearSolve](https://github.com/SciML/LinearSolve.jl) to permit the latest version.

Updates `LinearSolve` to 5.0.0
- [Release notes](https://github.com/SciML/LinearSolve.jl/releases)
- [Commits](https://github.com/SciML/LinearSolve.jl/commits/v5.0.0)

---
updated-dependencies:
- dependency-name: LinearSolve
  dependency-version: 5.0.0
  dependency-type: direct:production
  dependency-group: all-julia-packages
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file julia Pull requests that update julia code labels Jul 13, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Benchmark Results (Julia v1.11)

Time benchmarks
master 9e7d2ee... master / 9e7d2ee...
Simple Pendulum/IIP/BoundaryValueDiffEqMIRK.MIRK2() 0.519 ± 0.0098 s 0.539 ± 0.011 s 0.963 ± 0.027
Simple Pendulum/IIP/BoundaryValueDiffEqMIRK.MIRK3() 10.9 ± 0.32 ms 11.1 ± 0.41 ms 0.986 ± 0.047
Simple Pendulum/IIP/BoundaryValueDiffEqMIRK.MIRK4() 2.39 ± 0.069 ms 2.4 ± 0.064 ms 0.998 ± 0.039
Simple Pendulum/IIP/BoundaryValueDiffEqMIRK.MIRK5() 2.85 ± 0.086 ms 2.85 ± 0.084 ms 0.997 ± 0.042
Simple Pendulum/IIP/BoundaryValueDiffEqMIRK.MIRK6() 1.38 ± 0.044 ms 1.38 ± 0.039 ms 1 ± 0.043
Simple Pendulum/IIP/MultipleShooting(10, Tsit5; grid_coarsening = false) 1.36 ± 0.04 ms 1.35 ± 0.045 ms 1.01 ± 0.045
Simple Pendulum/IIP/MultipleShooting(10, Tsit5; grid_coarsening = true) 2.81 ± 0.1 ms 2.79 ± 0.086 ms 1.01 ± 0.049
Simple Pendulum/IIP/MultipleShooting(100, Tsit5; grid_coarsening = false) 0.0345 ± 0.0019 s 0.0349 ± 0.0021 s 0.99 ± 0.08
Simple Pendulum/IIP/MultipleShooting(100, Tsit5; grid_coarsening = true) 0.0525 ± 0.00073 s 0.053 ± 0.00086 s 0.991 ± 0.021
Simple Pendulum/IIP/Shooting(Tsit5()) 0.159 ± 0.079 ms 0.158 ± 0.078 ms 1 ± 0.7
Simple Pendulum/OOP/BoundaryValueDiffEqMIRK.MIRK2() 0.641 ± 0.0047 s 0.661 ± 0.031 s 0.97 ± 0.046
Simple Pendulum/OOP/BoundaryValueDiffEqMIRK.MIRK3() 16.2 ± 3.4 ms 16.5 ± 3.3 ms 0.979 ± 0.28
Simple Pendulum/OOP/BoundaryValueDiffEqMIRK.MIRK4() 2.88 ± 0.11 ms 2.85 ± 0.099 ms 1.01 ± 0.053
Simple Pendulum/OOP/BoundaryValueDiffEqMIRK.MIRK5() 3.44 ± 0.14 ms 3.45 ± 0.13 ms 0.995 ± 0.056
Simple Pendulum/OOP/BoundaryValueDiffEqMIRK.MIRK6() 1.65 ± 0.097 ms 1.67 ± 0.075 ms 0.986 ± 0.073
Simple Pendulum/OOP/MultipleShooting(10, Tsit5; grid_coarsening = false) 2.87 ± 0.28 ms 2.9 ± 0.35 ms 0.99 ± 0.16
Simple Pendulum/OOP/MultipleShooting(10, Tsit5; grid_coarsening = true) 5.64 ± 4.5 ms 5.68 ± 4.7 ms 0.992 ± 1.1
Simple Pendulum/OOP/MultipleShooting(100, Tsit5; grid_coarsening = false) 0.0729 ± 0.0028 s 0.0733 ± 0.0018 s 0.995 ± 0.045
Simple Pendulum/OOP/MultipleShooting(100, Tsit5; grid_coarsening = true) 0.111 ± 0.0026 s 0.111 ± 0.0025 s 1 ± 0.032
Simple Pendulum/OOP/Shooting(Tsit5()) 0.531 ± 0.028 ms 0.532 ± 0.024 ms 0.997 ± 0.07
time_to_load 6.85 ± 0.086 s 6.81 ± 0.01 s 1.01 ± 0.013
Memory benchmarks
master 9e7d2ee... master / 9e7d2ee...
Simple Pendulum/IIP/BoundaryValueDiffEqMIRK.MIRK2() 0.389 M allocs: 0.0443 GB 0.389 M allocs: 0.0443 GB 1
Simple Pendulum/IIP/BoundaryValueDiffEqMIRK.MIRK3() 0.0436 M allocs: 4.88 MB 0.0436 M allocs: 4.88 MB 1
Simple Pendulum/IIP/BoundaryValueDiffEqMIRK.MIRK4() 15.7 k allocs: 1.65 MB 15.7 k allocs: 1.65 MB 1
Simple Pendulum/IIP/BoundaryValueDiffEqMIRK.MIRK5() 22.1 k allocs: 2.03 MB 22.1 k allocs: 2.03 MB 1
Simple Pendulum/IIP/BoundaryValueDiffEqMIRK.MIRK6() 12.8 k allocs: 1.05 MB 12.8 k allocs: 1.05 MB 1
Simple Pendulum/IIP/MultipleShooting(10, Tsit5; grid_coarsening = false) 25.5 k allocs: 1.82 MB 25.5 k allocs: 1.82 MB 1
Simple Pendulum/IIP/MultipleShooting(10, Tsit5; grid_coarsening = true) 0.049 M allocs: 3.39 MB 0.049 M allocs: 3.39 MB 1
Simple Pendulum/IIP/MultipleShooting(100, Tsit5; grid_coarsening = false) 0.553 M allocs: 0.0535 GB 0.553 M allocs: 0.0535 GB 1
Simple Pendulum/IIP/MultipleShooting(100, Tsit5; grid_coarsening = true) 0.833 M allocs: 0.0778 GB 0.833 M allocs: 0.0778 GB 1
Simple Pendulum/IIP/Shooting(Tsit5()) 4.64 k allocs: 0.224 MB 4.64 k allocs: 0.224 MB 1
Simple Pendulum/OOP/BoundaryValueDiffEqMIRK.MIRK2() 0.89 M allocs: 0.984 GB 0.89 M allocs: 0.984 GB 1
Simple Pendulum/OOP/BoundaryValueDiffEqMIRK.MIRK3() 0.0932 M allocs: 24.8 MB 0.0932 M allocs: 24.8 MB 1
Simple Pendulum/OOP/BoundaryValueDiffEqMIRK.MIRK4() 0.0324 M allocs: 3.96 MB 0.0324 M allocs: 3.96 MB 1
Simple Pendulum/OOP/BoundaryValueDiffEqMIRK.MIRK5() 0.045 M allocs: 4.99 MB 0.045 M allocs: 4.99 MB 1
Simple Pendulum/OOP/BoundaryValueDiffEqMIRK.MIRK6() 25.3 k allocs: 2.17 MB 25.3 k allocs: 2.17 MB 1
Simple Pendulum/OOP/MultipleShooting(10, Tsit5; grid_coarsening = false) 0.142 M allocs: 10.2 MB 0.142 M allocs: 10.2 MB 1
Simple Pendulum/OOP/MultipleShooting(10, Tsit5; grid_coarsening = true) 0.266 M allocs: 18.7 MB 0.266 M allocs: 18.7 MB 1
Simple Pendulum/OOP/MultipleShooting(100, Tsit5; grid_coarsening = false) 2.52 M allocs: 0.279 GB 2.52 M allocs: 0.279 GB 1
Simple Pendulum/OOP/MultipleShooting(100, Tsit5; grid_coarsening = true) 3.82 M allocs: 0.404 GB 3.82 M allocs: 0.404 GB 1
Simple Pendulum/OOP/Shooting(Tsit5()) 0.0373 M allocs: 1.69 MB 0.0373 M allocs: 1.69 MB 1
time_to_load 0.161 k allocs: 11.4 kB 0.161 k allocs: 11.4 kB 1

@ChrisRackauckas
ChrisRackauckas merged commit d31a88a into master Jul 15, 2026
14 of 15 checks passed
@dependabot
dependabot Bot deleted the dependabot/julia/docs/all-julia-packages-fce81199da branch July 15, 2026 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file julia Pull requests that update julia code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant