-
-
Notifications
You must be signed in to change notification settings - Fork 270
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
Conditional Dependencies #1085
Labels
Comments
I like it. This seems like a promising idea. |
If this were to happen it could help with JuliaStats/Distributions.jl#702 without needing Distributions to require Optim. |
Doesn't Flux have some trick to handle this problem? I don't see |
It uses Requires.jl, see #1285 |
I think #1285 is a bit more recent take on this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Crazy idea. Support "conditional dependencies"/"features" in a "sandbox"-analogous manner. (Note this is just meant to prod the search space, not as a serious/complete solution)
When someone runs
add --feature=A Foo
,Pkg
will sandboxFoo
inFoo/feature/A
and add the result to the active dependency graph.So
Foo/src/Foo.jl
will contain the core logic.Foo/feature/A/src/A.jl
will contain the "A feature" logic.Advantages:
The text was updated successfully, but these errors were encountered: