Circular dependencies in Julia 1.10.8

With the following

using BandedMatrices, Colors, Distributions,
    GLMakie, Infiltrator, Intervals, Images,
    JuMP, LinearAlgebra, Parameters, OSQP,
    Random, SparseArrays, StaticArrays,
    StatsBase, StructArrays, Test, Unitful

I get circular dependencies:

[ Info: Precompiling CameraCalibration [e662ac77-834d-4ca4-99a7-fdbe701cf46d]
┌ Warning: Circular dependency detected.
│ Precompilation will be skipped for dependencies in this cycle:
│ ┌ FilePathsBase → FilePathsBaseTestExt
│ └─ FilePathsBase → FilePathsBaseMmapExt
│ Precompilation will also be skipped for the following, which depend on the above cycle:
│ CameraCalibration
│ GLMakie
│ Makie
│ FilePaths
└ @ Pkg.API.Precompilation ~/.julia/juliaup/julia-1.10.8+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/precompilation.jl:584

This error makes the time to startup very long.

I cannot reproduce this issue using these packages in a clean environment with --startup-file=no. Are you using other packages in your ~/.julia/config/startup.jl file?

1 Like

good catch

import Pkg, REPL
using Revise

I updated the packages and this problems resolved itself.

Thanks you.