JuliaDiff / SparseDiffTools.jl

Fast jacobian computation through sparsity exploitation and matrix coloring
MIT License
237 stars 41 forks source link

SparseDiffTools broken w/ Julia 1.8.5 #248

Closed DrStiev closed 1 year ago

DrStiev commented 1 year ago

The Zygote extension in the current version of SparseDiffTools (v2.4.0) cause LoadError when used with Julia 1.8.5:

MWE:

[deps] Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f" SparseDiffTools = "47a9eef4-7e08-11e9-0b38-333d64bd3804"

┌ Warning: Error requiring Zygote from SparseDiffTools │ exception = │ LoadError: ArgumentError: Package SparseDiffTools does not have Zygote in its dependencies: │ - You may have a partially installed environment. Try Pkg.instantiate() │ to ensure all packages in the environment are installed. │ - Or, if you have SparseDiffTools checked out for development and have │ added Zygote as a dependency but haven't updated your primary │ environment's manifest file, try Pkg.resolve(). │ - Otherwise you may need to report an issue with SparseDiffTools │ Stacktrace: ... │ in expression starting at C:\Users\mstie.julia\packages\SparseDiffTools\exnrN\ext\SparseDiffToolsZygote.jl:1 └ @ Requires C:\Users\mstie.julia\packages\Requires\Z8rfN\src\require.jl:51

Seems the error is caused by the import statement