I’m working on a codebase I’ve inherited. It runs completely fine in Julia 1.7
However, if I run identical code in Julia 1.8, I get the following error message
ERROR: LoadError: ArgumentError: Package ChainRules does not have Adapt 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 ChainRules checked out for development and have
added Adapt 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 ChainRules
Stacktrace:
[1] macro expansion
@ ./loading.jl:1167 [inlined]
[2] macro expansion
@ ./lock.jl:223 [inlined]
[3] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1144
[4] include
@ ./Base.jl:419 [inlined]
[5] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::String)
@ Base ./loading.jl:1554
[6] top-level scope
@ stdin:1
in expression starting at /Users/user/.julia/packages/ChainRules/kZnzE/src/ChainRules.jl:1
in expression starting at stdin:1
I’m not finding anything super helpful online (I think because version 1.8 just came out), and so any pointers in the right direction would be very appreciated!