Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't run without Pkg #3570

Closed
PallHaraldsson opened this issue Aug 8, 2023 · 1 comment
Closed

Can't run without Pkg #3570

PallHaraldsson opened this issue Aug 8, 2023 · 1 comment

Comments

@PallHaraldsson
Copy link
Contributor

I'm looking into a smaller sysimage, and it depends on Pkg.

You can run Julia non-interactively (i.e. without the REPL and its pkg> mode). You can still use Pkg, if you so choose, but often you don't and I would like that supported without it slowing down startup.

First, to be clear, that should be possible: E.g. using and import (when they find the package) do not use Pkg, right?

I may need guidance on how to make this happen (in case others do not make this happen). This package depend on a lot e.g. Downloads, that I plan to disable anyway, and can instruct sysimg.jl to ignore already, but I believe Pkg overrides that because of the dependencies. Can all the dependencies og Pkg be loaded lazily like other packages can, or is that not ðpossible for a stdlib?

At least for now, I would be ok with not having Pkg even in the REPL. Such a fork of Julia/sysimage seems valuable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants