I have a pair of local packages that I am working on in parallel, call them LocalA and LocalB. Just now I entered a new REPL and executed
] dev . on LocalA, hoping to use a Revise.jl workflow with it in the REPL. This gives an unsatisfiable package requirements error, where the gist is that:
- LocalA depends on Flux.jl, which is restricted by Colors.jl (???) to versions 0.10.2-0.12.6
- Colors.jl is required by ProfileSVG.jl, which is required by LocalB
I gather that when I run
(@v1.6) pkg> dev .
that the current active environment is the global v1.6 environment, where LocalA and LocalB can create package conflicts between each other if they are both installed there. However, I have no interest in installing LocalA and LocalB to the global v1.6 environment. I only ever want to work on them in isolation, and they should never interact. Both LocalA and LocalB have their own project environments. However, it seems that when I
dev . them (for Revise), they get installed to the global environment. And of course
activate .; dev . fails with
has the same name or UUID as the active project.
- Is my assessment of the situation correct?
- What am I doing wrong?
To me it seems like the most natural possible workflow that you would want to develop a package within the context of its own environment, so the fact that this is not possible suggests that I have a total misunderstanding of the behavior of one or both of
Thanks for any help!