I am developing a forked package, namely ExpmV. Recently I created a new branch and add Compat in the REQUIRE. When I try to load the package in new branch, I got the error
julia> using ExpmV
ERROR: LoadError: ArgumentError: Package ExpmV does not have Compat in its dependencies:
- If you have ExpmV checked out for development and have
added Compat 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 ExpmV.
Stacktrace:
[1] require(::Module, ::Symbol) at ./loading.jl:821
[2] include at ./boot.jl:317 [inlined]
[3] include_relative(::Module, ::String) at ./loading.jl:1034
[4] macro expansion at ./logging.jl:312 [inlined]
[5] _require(::Base.PkgId) at ./loading.jl:929
[6] require(::Base.PkgId) at ./loading.jl:838
[7] require(::Module, ::Symbol) at ./loading.jl:833
in expression starting at /Users/po/.julia/packages/ExpmV/zrJj/src/ExpmV.jl:3
The manifest is automatically generated during the usage of the package manager. It contains the exact versions/git-tree-shas/paths that julia uses to find what packages to load.
julia> using Filt
[ Info: Precompiling Filt [ed5e094f-ca7f-43de-b0a0-a977aa9a3271]
┌ Warning: Package Filt does not have MAT in its dependencies:
│ - If you have Filt checked out for development and have
│ added MAT 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 Filt
└ Loading MAT into Filt from project dependency, future warnings for Filt are suppressed.
My Project.toml file is
name = "Filt"
uuid = "ed5e094f-ca7f-43de-b0a0-a977aa9a3271"
authors = ["Kenneth Martin <martin@granitesemi.com>"]
version = "0.1.0"
[compat]
julia = "1"
[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
[targets]
test = ["Test"]
From the Pkg.jl documentation it appears I need something like
[deps]
Example = "7876af07-990d-54b4-ab0e-23690620f79a"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
for MAT, but the documentation seems to indicate this should be done automatically or by using ]resolve which didn’t work. Do I need to find the name-uuid pair for MAT and manually add it using an editor?