From fef523624332b5386443d4085869d557c3a5da63 Mon Sep 17 00:00:00 2001 From: Dilum Aluthge Date: Sun, 15 Oct 2023 23:44:12 -0400 Subject: [PATCH] Specify the versions of both BrokenRecord and JLD2 --- test/runtests.jl | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index 9d6d8199..1463bef4 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -18,13 +18,12 @@ ENV["JULIA_PKG_SERVER"] = "" @static if Base.VERSION < v"1.11" # BrokenRecord fails to precompile on Julia 1.11 - Pkg.add( - Pkg.PackageSpec(; - name = "BrokenRecord", - uuid = "bdd55f5b-6e67-4da1-a080-6086e55655a0", - version = "0.1.9", - ) - ) + let + brokenrecord = Pkg.PackageSpec(name = "BrokenRecord", uuid = "bdd55f5b-6e67-4da1-a080-6086e55655a0", version = "0.1.9") + jld2 = Pkg.PackageSpec(name = "JLD2", uuid = "033835bb-8acc-5ee8-8aae-3f567f8a3819", version = "0.4.33") + pkgs = [brokenrecord, jld2] + Pkg.add(pkgs) + end import BrokenRecord end