From c08add3473944c7c860569be6bcef71d4b72114c Mon Sep 17 00:00:00 2001 From: Fons van der Plas Date: Tue, 20 Aug 2024 14:06:11 +0200 Subject: [PATCH] Avoid ConstructionBase bug https://github.com/JuliaObjects/ConstructionBase.jl/issues/92 --- test/MacroAnalysis.jl | 6 +++++- test/helpers.jl | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/test/MacroAnalysis.jl b/test/MacroAnalysis.jl index 3869ab443f..2d5bf6bfa8 100644 --- a/test/MacroAnalysis.jl +++ b/test/MacroAnalysis.jl @@ -661,7 +661,11 @@ import Memoize: @memoize begin import Pkg Pkg.activate(mktempdir()) - Pkg.add(Pkg.PackageSpec(name="Symbolics", version="5.5.1")) + Pkg.add([ + Pkg.PackageSpec(name="Symbolics", version="5.5.1"), + # to avoid https://github.com/JuliaObjects/ConstructionBase.jl/issues/92 + Pkg.PackageSpec(name="ConstructionBase", version="1.5.6"), + ]) import Symbolics: @variables end """), diff --git a/test/helpers.jl b/test/helpers.jl index 34c333310e..45fedeb6b9 100644 --- a/test/helpers.jl +++ b/test/helpers.jl @@ -37,7 +37,7 @@ end function noerror(cell; verbose=true) if cell.errored && verbose - @show cell.output.body + @show cell.output.body cell.logs end !cell.errored end