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

too many dependencies #764

Closed
JeffBezanson opened this issue Feb 15, 2022 · 1 comment · Fixed by #767
Closed

too many dependencies #764

JeffBezanson opened this issue Feb 15, 2022 · 1 comment · Fixed by #767

Comments

@JeffBezanson
Copy link
Member

As we all know, many packages depend on Compat. Unfortunately, Compat depends on every standard library package, which is a problem for static compilation via e.g. filter_stdlibs in PackageCompiler --- you can't use a simple compatibility shim function without bringing in the REPL, Pkg, etc. Is there any possible path to removing these dependencies? I see we have binding deprecations for them here, but I don't remember what they do exactly.

@martinholters
Copy link
Member

From memory, some code archaeology might (or might not) confirm: When things started to be moved into stdlibs and you had to do using StdLib, Compat provided Compat.StdLib which was just StdLib on the then-current Julia version and some self-constructed module on older Julia versions that tried to mimic the then-current version of StdLib. We can probably remove the deprecations and the dependencies along with them and call the result v4.0.

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