I am developing a package (Bblt
) and at a certain point I added (or at least, I thought to have added) a dependency to ProgressMeter
.
I did that by activating the package environment and adding ProgressMeter
.
This action added the following line to ~/.julia/dev/Bmlt/Project.toml
:
[deps]
...
ProgressMeter = "92933f4c-e287-5a05-a399-4b506db050ca"
...
But now I have the following warning, claiming that (in the first line) the package Bmlt
doesn’t have ProgressMeter as a dependency, but (last line) it is loading it from the project dependency.
I am a bit lost with that warning, and ran unsuccessfully the suggested solution (Pkg.resolve()
)
I get rid of the warning by adding ProgressMeter to the main Julia environment, but still it is not clear to me if other people when they will install Bmlt will also install ProgressMeter or they will get the same warning…
Did you try the Pkg.resolve()
step that the warning told you?
Yes I did it but it didn’t work, in the sense that on subsequent Julia sessions I remained with the warning. I can’t replicate it any more as I installed (] add ProgressMeter
) so the warning went away.
Similar now for Revise…
But in this case I obviously didn’t add Revise.jl
as a dependency, and it is not in Bmlt’s Project.toml:
name = "Bmlt"
uuid = "024491cd-cc6b-443e-8034-08ea7eb7db2b"
authors = ["Antonello Lobianco <antonello@lobianco.org>"]
version = "0.1.0"
[deps]
DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
ProgressMeter = "92933f4c-e287-5a05-a399-4b506db050ca"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
[compat]
julia = ">=1.3.1"
So I don’t really know where this message is coming from…
Are you loading Revise inside Bmlt?
1 Like
Thanks, I am very sorry, I pasted it on the code by error.
Thank you very much.