I asked this because I have CSV@0.6.2 installed in the user depot and have it imported. Then I created a new project folder, activated it and installed another version of CSV@0.7.4. Now in REPL typing import CSV.
- Will it be the CSV@0.7.4 be used? or will it still bind to CSV in the user depot?
- Is there a way to check which CSV is currently imported?
Then I tried to import a package not in the current folder’s project.toml, say Primes [installed in user depot], and succeeded…
- What is the right way to limit Julia to use packages defined in current folder’s project.toml?
And lastly, the reason I did the above, is that I can’t figure out a way to upgrade CSV to V0.7.4 in the user depot due to incompatibility with other packages. So what is the correct way to make sure CSV upgrade to the latest version and other dependent packages get resolved as well (either upgrade or downgrade to appropriate versions).
A bit long but I’m quite confused reading the official manual about what happens when “import X” in Julia.