Skip to content

SparseDiffTools broken w/ Julia 1.8.5 #248

@DrStiev

Description

@DrStiev

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

MWE:

  • Project.toml

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

  • Loading

┌ 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions