JuliaLang / JuliaLang/Juleps

Pkg3: allow upgrading and removing packages from REPL

Open
#7 4 comments 3 reactions 0 assignees View on GitHub
Pkg3
Dominant language
No language data
Stars
75
Forks
23
PR merge metrics
No merged PRs in 30d

Description

> When the user wants to remove package or update packages from an environment, they will instead invoke an external package management mode (julia --pkg?), which makes it clear that changes will not affect any currently running Julia sessions. The impact on usability is a strict improvement:
> - Adding packages and loading them is easier since one simply does using XYZ and answers interactive prompts.
> - Removing and upgrading packages is no less difficult since it previously required restarting the current Julia process anyway, and is less confusing since the requirement to restart is explict since running a separate process clearly doesn't affect the current one.

Using the command line to manage packages sounds like a usability loss to me. This will particularly be the case for Windows users.

I think we should keep the current `Pkg.*` functions. They should simply print a warning or ask to restart when modified packages are currently loaded.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.