JuliaPackaging / BinaryBuilderBase.jl

https://juliapackaging.github.io/BinaryBuilderBase.jl/stable
MIT License
11 stars 31 forks source link

Test failure in nightly due to circular dependency in a package environment #358

Open giordano opened 8 months ago

giordano commented 8 months ago

The test failure on nightly is unrelated to this PR and it's caused by this new warning being printed by Pkg:

┌ Warning: Circular dependency detected. Precompilation will be skipped for:
│   Downloads [f43a241f-c20a-4ad4-852c-f6b1247861c6]
│   Pkg [44cfe95a-1eb2-52ea-b672-e2afdf69b78f]
│   p7zip_jll [3f19e933-33d8-53b3-aaab-bd5110c3b7a0]
│   MozillaCACerts_jll [14a3606d-f60d-562e-9121-12d972cd8159]
│   LibCURL [b27032c2-a3e7-50c8-80cd-2d36dbcbfd21]
└ @ Pkg.API ~/repo/julia/usr/share/julia/stdlib/v1.11/Pkg/src/API.jl:1260

This CI job back on November 29th 2023 was successful.

Originally posted by @giordano in https://github.com/JuliaPackaging/BinaryBuilderBase.jl/issues/357#issuecomment-1872104686

giordano commented 8 months ago

The problem seems to be that we install Artifacts from the registry, instead of the stdlib in the current julia version, which depends on Pkg, causing a circular dependency