Skip to content

Remove unused EnzymeCore strong dependency#1262

Merged
ChrisRackauckas merged 1 commit intoSciML:masterfrom
ChrisRackauckas-Claude:remove-enzymecore-strong-dep
Feb 2, 2026
Merged

Remove unused EnzymeCore strong dependency#1262
ChrisRackauckas merged 1 commit intoSciML:masterfrom
ChrisRackauckas-Claude:remove-enzymecore-strong-dep

Conversation

@ChrisRackauckas-Claude
Copy link
Contributor

Summary

  • Remove EnzymeCore from [deps] — it was never imported or used in any source file
  • Remove the now-dangling [compat] entry for EnzymeCore
  • Bump version to 6.200.0

Motivation

EnzymeCore as a strong dependency forces it to be installed for all DiffEqBase users. This causes OrdinaryDiffEqCore's EnzymeCoreExt extension to trigger unconditionally. Combined with the always-available SparseArrays stdlib triggering SparseArraysExt, Julia 1.10's precompilation system detects a circular dependency between the two extensions, preventing precompilation and causing errors when loading with EnzymeCore.

See SciML/OrdinaryDiffEq.jl#3025

Fixes SciML/OrdinaryDiffEq.jl#3025

Test plan

  • Pkg.test() passes locally
  • using DiffEqBase loads without errors

🤖 Generated with Claude Code

EnzymeCore was listed in [deps] but never imported or used in any source
file. Having it as a strong dependency forces it to be installed transitively
for all DiffEqBase users, which triggers the OrdinaryDiffEqCoreEnzymeCoreExt
extension unconditionally. Combined with the always-available SparseArrays
stdlib triggering OrdinaryDiffEqCoreSparseArraysExt, this causes a circular
dependency error during precompilation on Julia 1.10.

Fixes SciML/OrdinaryDiffEq.jl#3025

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@ChrisRackauckas ChrisRackauckas merged commit 31c0c46 into SciML:master Feb 2, 2026
38 of 46 checks passed
@oscardssmith
Copy link
Member

Do we know why this was added in the first place?

@ChrisRackauckas
Copy link
Member

rules

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.

Circular dependency in OrdinaryDiffEqCore.jl on Julia v1.10

4 participants