Stream: helpdesk (published)

Topic: ✔ Nested environments?


view this post on Zulip Richard Reeve (Apr 26 2022 at 22:05):

Thanks. I honestly had no idea that worked after god knows how long using Julia now. I can't help but feel it should be better documented! Presumably it means that I don't know without putting stuff in CI on github whether I've actually put the right dependencies into a new environment though if Julia automatically pulls things that I have in my global environment into any local environment? Is there anyway of switching it off?

view this post on Zulip Dilum Aluthge (Apr 26 2022 at 22:45):

JULIA_LOAD_PATH="@" julia --project -e 'import Pkg; Pkg.test()'

view this post on Zulip Richard Reeve (Apr 26 2022 at 22:46):

Thanks!

view this post on Zulip Notification Bot (Apr 26 2022 at 22:46):

Richard Reeve has marked this topic as resolved.

view this post on Zulip Jakob Nybo Nissen (Apr 27 2022 at 06:58):

Just tested it, on my computer when I run pkg> test, it does not use packages from the default environment (thank God!)


Last updated: Oct 02 2023 at 04:34 UTC