Thanks to Imiq’s solution, I can now successfully update EspyInsideFunction in Julia’s default project environment.
The next step for is to do the same within another environment, that of my (unpublished) Lithe project. But there update is followed by a failed compilation (by the way, Lithe is not expected to work with EspyInsideFunction v0.1.0). I think I get more information by removing then adding EspyInsideFunction:
(Lithe) pkg> add EspyInsideFunction
Resolving package versions...
Updating `C:\Users\philippem\Documents\GIT\lithe\Project.toml`
[d6b55740] + EspyInsideFunction v0.1.0
Updating `C:\Users\philippem\Documents\GIT\lithe\Manifest.toml`
[d6b55740] + EspyInsideFunction v0.1.0
Precompiling project...
✗ Lithe
0 dependencies successfully precompiled in 5 seconds (217 already precompiled)
1 dependency errored. To see a full report either run `import Pkg; Pkg.precompile()`
or load the package
Still that old version!
So I take my gloves off, remove the package again and point explicitly to GITHUB and success!:
So my question: commenting @JuliaRegistrator register in my espy commit made it possible to update espy in the base environment. But in my Lithe environment I had to bypass the Julia registry (I think that’s what I did by providing my repo’s URL). Why the difference? What did I miss?
And just to prove that I am still not understanding the system:
I zip the code from Lithe, transfer it to a greenfield computer (with Julia 1.7.2 installed). There, I intend to dev it, and I point to the local copy of the code.
My intention is that Pkg will find that Lithe v0.3.1 has dependendy EspyInsideFunction v1.2.0, look up the package registry, go to espy’s GIT repo and install it.
But I get:
(@v1.7) pkg> dev "C:\Users\philippem\C home\GIT\lithe"
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package EspyInsideFunction [2b54c6b0]:
EspyInsideFunction [2b54c6b0] log:
├─EspyInsideFunction [2b54c6b0] has no known versions!
└─restricted to versions * by Lithe [f328f230] — no versions left
└─Lithe [f328f230] log:
├─possible versions are: 0.3.1 or uninstalled
└─Lithe [f328f230] is fixed to version 0.3.1