Skip to content

Example of stacked environments #58604

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

kousu
Copy link

@kousu kousu commented Jun 2, 2025

I found it hard to understand how to work with stacked environments. The algorithm explanation is very nice but it clarifies things a lot for me to see why and how I would be interested in this feature.

I think/suppose for most users, the key point should be that you want to install dev tools in @v#.#, like suggested for Revise, and not think about stacked environments otherwise. But for people who want to go further, this will help.

Copy link

github-actions bot commented Jun 2, 2025

Hello! I am a bot.

Thank you for your pull request!

I have assigned @LilithHafner to this pull request.

@LilithHafner can either choose to review this pull request themselves, or they can choose to find someone else to review this pull request.

@nsajko nsajko added the docs This change adds or pertains to documentation label Jun 2, 2025
Copy link
Member

@LilithHafner LilithHafner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for offering this idea for the manual!

The bulk of this seems like a tutorial describing a fairly involved workflow. This sort of content is rarely appropriate for the manual, and doesn't concisely exemplify the section that it's an example in.

Maybe an example that uses only the global environment and a project environment would be better. I would also avoid introducing startup.jl files into this and copying from the downloads folder.

Comment on lines +348 to +355
# startup.jl
try
push!(LOAD_PATH, expanduser("~/.julia/environments/sci-tools"))
using Plots
using LaTeXStrings
catch e
@warn "Failed to auto-load school tools" exception=(e, catch_backtrace())
end
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This startup file will significantly increase julia startup latency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This change adds or pertains to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants