-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Ship remove Stdlibs in 1.9+ #48161
Copy link
Copy link
Closed
Labels
excisionRemoval of code from Base or the repositoryRemoval of code from Base or the repositoryfeatureIndicates new feature / enhancement requestsIndicates new feature / enhancement requestsstdlibJulia's standard libraryJulia's standard library
Milestone
Metadata
Metadata
Assignees
Labels
excisionRemoval of code from Base or the repositoryRemoval of code from Base or the repositoryfeatureIndicates new feature / enhancement requestsIndicates new feature / enhancement requestsstdlibJulia's standard libraryJulia's standard library
The following script works on Julia 1.8.4
Ideally it should work on all future Julia versions. In interactive use, once
DelimitedFiles.jlis no longer a stdlib, the user will be prompted to install the package at the REPL. In package use, it should already be in the environment. As a scripts without a Project.toml, IIUC, the plan is to make this fail withERROR: ArgumentError: Package DelimitedFiles not found in current path..An alternate proposal from @IanButterworth on slack is
Much like the interactive REPL prompt, but install & warn rather than prompt.
EDIT to clarify: This would be backed by downloading and loading DelimitedFiles with Pkg, not by packaging DelimitedFiles with Julia.