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

Support [sources] section in Project.toml for Julia 1.11 #2982

Open
j-fu opened this issue Aug 6, 2024 · 2 comments
Open

Support [sources] section in Project.toml for Julia 1.11 #2982

j-fu opened this issue Aug 6, 2024 · 2 comments

Comments

@j-fu
Copy link
Contributor

j-fu commented Aug 6, 2024

Hi, in Julia 1.11, Project.toml can have a [sources] section which allows to specify a path or an url for a package from the [deps] section, this was announced at JuliaCon, see also
https://github.com/JuliaLang/Pkg.jl/blob/master/CHANGELOG.md#pkg-v111-release-notes

Could this be somehow supported in Pluto ? Something like

package_source(pkgname, pkgsource)

An alternative might be some tools which help to manipulate notebook environments. May be they even are already there but may be not marked as public interface.

@fonsp
Copy link
Owner

fonsp commented Nov 15, 2024

Thanks for the suggestion! [sources] is a really good fit for Pluto!

This gave me the idea for #3099 :)

@fonsp
Copy link
Owner

fonsp commented Dec 4, 2024

sources should already be kind-of supported in Pluto.jl (sources will be used if they are specified), but there are lots of places in our code where we still need to support sources, like when Pluto automatically adds/removes/updates packages.

One issue I found is JuliaLang/Pkg.jl#4086, it won't be possible to properly support sources until this is fixed.

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

No branches or pull requests

2 participants