I have noticed that metapackages behave differently under v1.0 than under v0.6. Specifically, I added ValidatedNumerics to my v1.0.1 installation. While this installs the various Interval* packages, they are not available to use unless I also add them individually:
(v1.0) pkg> add ValidatedNumerics
Updating registry at `C:\Users\vdykb\.julia\registries\General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Resolving package versions...
Installed FastRounding ────────────────── v0.2.0
Installed SetRounding ─────────────────── v0.2.0
Installed IntervalOptimisation ────────── v0.3.0
Installed ValidatedNumerics ───────────── v0.11.0
Installed IntervalConstraintProgramming ─ v0.9.0
Installed IntervalContractors ─────────── v0.3.1
Installed IntervalRootFinding ─────────── v0.4.0
Installed IntervalArithmetic ──────────── v0.15.0
Installed ErrorfreeArithmetic ─────────── v0.2.1
Updating `C:\Users\vdykb\.julia\environments\v1.0\Project.toml`
[d621b6e3] + ValidatedNumerics v0.11.0
Updating `C:\Users\vdykb\.julia\environments\v1.0\Manifest.toml`
[90fa49ef] + ErrorfreeArithmetic v0.2.1
[fa42c844] + FastRounding v0.2.0
[d1acc4aa] + IntervalArithmetic v0.15.0
[138f1668] + IntervalConstraintProgramming v0.9.0
[15111844] + IntervalContractors v0.3.1
[c7c68f13] + IntervalOptimisation v0.3.0
[d2bf35a9] + IntervalRootFinding v0.4.0
[3cc68bcd] + SetRounding v0.2.0
[d621b6e3] + ValidatedNumerics v0.11.0
julia> using IntervalArithmetic
ERROR: ArgumentError: Package IntervalArithmetic not found in current path:
- Run `import Pkg; Pkg.add("IntervalArithmetic")` to install the IntervalArithmetic package.
Stacktrace:
[1] require(::Module, ::Symbol) at .\loading.jl:820
(v1.0) pkg> add IntervalArithmetic
Resolving package versions...
Updating `C:\Users\vdykb\.julia\environments\v1.0\Project.toml`
[d1acc4aa] + IntervalArithmetic v0.15.0
Updating `C:\Users\vdykb\.julia\environments\v1.0\Manifest.toml`
[no changes]
julia> using IntervalArithmetic
[ Info: Precompiling IntervalArithmetic [d1acc4aa-44c8-5952-acd4-ba5d80a2a253]
Is there a way, using the v1.0 package manager, to achieve the same result as under v0.6, i.e. install the metapackage and all of the constituent packages are available to use? Via a build script, perhaps?
In this example, simply using ValidatedNumerics
would of course work, as the constituent packages are all re-exported. I was simply curious to know if there is a simple solution that allows not having all of the constituent packages loaded every time.