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

workspace_custom_startup_expr as String #2654

Merged
merged 3 commits into from
Sep 20, 2023

Conversation

fonsp
Copy link
Owner

@fonsp fonsp commented Sep 20, 2023

Fix #2652

This change is breaking: session.options.evaluation.workspace_custom_startup_expr now needs to be a String, not an Expr. We believe that this is not too bad since the setting used to be broken (#2652), unless you used Pluto without a web client or built-in HTML export, which is quite rare and probably only happens in PlutoStaticHTML.jl, which uses a version-pinned Pluto dependency.

@github-actions
Copy link
Contributor

Try this Pull Request!

Open Julia and type:

julia> import Pkg
julia> Pkg.activate(temp=true)
julia> Pkg.add(url="https://github.com/fonsp/Pluto.jl", rev="workspace_custom_startup_expr-String")
julia> using Pluto

@rikhuijzer
Copy link
Collaborator

I do wonder whether this actually fixes the situation from #2652? Maybe this just needed better documentation?

@fonsp
Copy link
Owner Author

fonsp commented Sep 20, 2023

It does fix #2652, Paul found out the cause here #2653 (comment)

@fonsp
Copy link
Owner Author

fonsp commented Sep 20, 2023

Ah if PlutoStaticHTML is version-pinned then let's just change it without a compat :)

@fonsp fonsp merged commit 50b2dc5 into main Sep 20, 2023
2 of 14 checks passed
@fonsp fonsp deleted the workspace_custom_startup_expr-String branch September 20, 2023 13:05
rikhuijzer added a commit to rikhuijzer/PlutoStaticHTML.jl that referenced this pull request Sep 26, 2023
@fonsp fonsp added the backend Concerning the julia server and runtime label Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Concerning the julia server and runtime
Projects
None yet
Development

Successfully merging this pull request may close these issues.

workspace_custom_startup_expr kwarg seems broken
3 participants