You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Julia version 1.10.6 or below leads to the Error: 3.321 ERROR: LoadError: LinearSolve has a malformed Project.toml, the extension package SparseArrays is not listed in [weakdeps] 3.674 Stacktrace: 3.674 [1] pkgerror(::String, ::Vararg{String}) 3.683 @ Pkg.Types /usr/local/julia/share/julia/stdlib/v1.10/Pkg/src/Types.jl:70 3.683 [2] status_ext_info(pkg::Pkg.Types.PackageSpec, env::Pkg.Types.EnvCache) ...
when trying to add the package.
Expected behavior
It should not crash.
Minimal Reproducible Example 👇
I used the following minimal Docker Container:
FROM julia:1.10.6
LABEL Name=juliadocker Version=0.0.1
RUN julia -e 'using Pkg; Pkg.activate("test_env"); Pkg.add("LinearSolve")'
Additional context
I guess that this is due to the moving from SparseArrays as a dependency to an extension in version 3.0
This Issue does not persist in Julia 1.11, or 1.10.8.
However in 1.10.8 we obtain circular dependencies when trying to precompile (see #573 )
┌ Warning: Circular dependency detected.
│ Precompilation will be skipped for dependencies in this cycle:
│ ┌ LinearSolve → LinearSolveSparseArraysExt
│ └─ LinearSolve → LinearSolveRecursiveArrayToolsExt
(run with the docker file
FROM julia:1.10.8
LABEL Name=juliadocker Version=0.0.1
RUN julia -e 'using Pkg; Pkg.activate("test_env"); Pkg.add("LinearSolve")'
and then triggering precompilation in a shell)
The text was updated successfully, but these errors were encountered:
Using Julia version 1.10.6 or below leads to the Error:
3.321 ERROR: LoadError: LinearSolve has a malformed Project.toml, the extension package SparseArrays is not listed in [weakdeps] 3.674 Stacktrace: 3.674 [1] pkgerror(::String, ::Vararg{String}) 3.683 @ Pkg.Types /usr/local/julia/share/julia/stdlib/v1.10/Pkg/src/Types.jl:70 3.683 [2] status_ext_info(pkg::Pkg.Types.PackageSpec, env::Pkg.Types.EnvCache) ...
when trying to add the package.
Expected behavior
It should not crash.
Minimal Reproducible Example 👇
I used the following minimal Docker Container:
Additional context
I guess that this is due to the moving from
SparseArrays
as a dependency to an extension in version 3.0This Issue does not persist in Julia 1.11, or 1.10.8.
However in 1.10.8 we obtain circular dependencies when trying to precompile (see #573 )
(run with the docker file
and then triggering precompilation in a shell)
The text was updated successfully, but these errors were encountered: