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

Fix precompilation of packages depending on PlotlyJS #469

Merged

Conversation

Liozou
Copy link
Contributor

@Liozou Liozou commented Jul 11, 2023

Starting from Julia v1.10, using PlotlyJS.jl as a dependency of any other package causes the precompilation of this other package to be stuck, as explained in JuliaLang/julia#50505. This PR fixes that.

The root cause of the issue was JuliaLang/julia#48506. To be honest, I'm not sure I understand why the behavior of the __init__ function of PlotlyJS should livelock the precompilation of other packages... but I was inspired by https://github.com/JuliaDebug/Cthulhu.jl/pull/343/files and https://github.com/JuliaImages/ImageView.jl/pull/279/files, which targeted similar issues, for this PR.

src/PlotlyJS.jl Outdated Show resolved Hide resolved
src/PlotlyJS.jl Outdated Show resolved Hide resolved
Liozou and others added 2 commits July 11, 2023 18:13
Co-authored-by: Jameson Nash <[email protected]>
Co-authored-by: Jameson Nash <[email protected]>
@beorostica
Copy link

I'm excited for this pull request to be merged.
This will be very useful for Koma MRI simulator

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

Successfully merging this pull request may close these issues.

4 participants