-
Notifications
You must be signed in to change notification settings - Fork 14
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
Make Pluto dependency optional? #130
Comments
It can be done, but having HTTP < 1 looks a bit unreasonable to me. Can you confirm this the issue with Makie.jl with WGLMakie as backend? |
Looks like JSSserve.jl supports HTTP 0.8 and 0.9 only. But according to SimonDanisch/Bonito.jl#131 next version of WebSockets will use 1.0+. So let's just wait till then? I don't think there will be any major updates in julia and markdown formats for now. So you can pin DemoCards.jl version until the release of WebSockets.jl. |
Okay. Seems reasonable. Thanks! |
I still think this would be a nice idea. I guess most people will not use the Pluto support, but as it is now, these projects get all of Pluto pulled in as dependencies into their docs. Note that currently Literate.jl does not have very many dependencies, and notably doesn't pull in any Jupyter stuff, it just generates the format as JSON. Adding Pluto as a dependency for all uses of this package could significantly increase TTFD (time to first doc). |
What's the status of this ? Optional dependencies should use |
Hi, what is the current problem with PlotDocs.jl? Time to first plot? |
Compat, can't update to latest EDIT: and also, dependency hell :) |
Looks like more of a WebSockets.jl issue here. Track here JuliaWeb/WebSockets.jl#181 |
While I do recognize the time to first plot a good viable reason, I think moving a library to optional because another library release is taking time to release the next version is a bit of a hassle. Let's wait for a week and see how then plan on how the next release goes! |
This could continue to be a compatibility problem later on as different parts of the ecosystem continue to be developed at different paces. It is not obvious why DemoCards.jl needs to depend upon Pluto if you are not using this feature. |
What is @johnnychen94's opinion on this matter ? |
There are two issues to solve here:
I do see people having the need to remove Pluto dependency completely from the current Project.toml. One way is to:
How would you guys think? |
It is unclear to me why #121 needs to pull-in Maybe @Dsantra92 could clarify. Instead of adding I mean by this that trivial helpers such as To me using I may be easy to fix, otherwise I would agree to the More evolved strategies would be introduced by JuliaLang/julia#47040 or JuliaLang/julia#47695, but that is long term. |
WebSockets.jl now has a new version, requiring Julia 1.8.2+ and HTTP 1.1.0 to 1.5. Hopefully, one plug is unstuck. |
Would it be possible to make the Pluto dependency optional? Currently there is a problem if we want to have WGLMakie installed along with DemoCards.
WGLMakie depends upon JSServe depends upon WebSockets, depends upon HTTP < 1
But Pluto depends upon HTTP > 1
See SimonDanisch/Bonito.jl#131
The text was updated successfully, but these errors were encountered: