From 82eccc352dfaaed9bf68642962bcdcdbdc82755d Mon Sep 17 00:00:00 2001 From: Penelope Yong Date: Wed, 9 Jul 2025 12:38:51 +0100 Subject: [PATCH 1/3] Pin mooncake@0.4.136 --- test/runtests.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runtests.jl b/test/runtests.jl index 997a41641..50471637b 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -39,7 +39,7 @@ const AQUA = get(ENV, "AQUA", "true") == "true" # Detect if prerelease version, if so, we skip some tests const IS_PRERELEASE = !isempty(VERSION.prerelease) if !IS_PRERELEASE - Pkg.add("Mooncake") + Pkg.add(; name="Mooncake", version="0.4.136") using Mooncake: Mooncake end From ce1d71b04a1804557de13a8302d9b54ed6e45506 Mon Sep 17 00:00:00 2001 From: Penelope Yong Date: Wed, 9 Jul 2025 13:07:51 +0100 Subject: [PATCH 2/3] Unpin Mooncake, but pin Julia=1.10.8 --- Project.toml | 2 +- test/runtests.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 351fe6365..09fbf99ea 100644 --- a/Project.toml +++ b/Project.toml @@ -72,4 +72,4 @@ Random = "1.6" Requires = "1" Statistics = "1" Test = "1.6" -julia = "1.10" +julia = "1.10.8" diff --git a/test/runtests.jl b/test/runtests.jl index 50471637b..997a41641 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -39,7 +39,7 @@ const AQUA = get(ENV, "AQUA", "true") == "true" # Detect if prerelease version, if so, we skip some tests const IS_PRERELEASE = !isempty(VERSION.prerelease) if !IS_PRERELEASE - Pkg.add(; name="Mooncake", version="0.4.136") + Pkg.add("Mooncake") using Mooncake: Mooncake end From 07b672b0c64272c9a78498f93fb0db29ba4cc0c7 Mon Sep 17 00:00:00 2001 From: Penelope Yong Date: Wed, 9 Jul 2025 14:00:29 +0100 Subject: [PATCH 3/3] Bump patch --- HISTORY.md | 4 ++++ Project.toml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/HISTORY.md b/HISTORY.md index 0d2a56606..450365f1d 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,5 +1,9 @@ # DynamicPPL Changelog +## 0.36.15 + +Bumped minimum Julia version to 1.10.8 to avoid potential crashes with `Core.Compiler.widenconst` (which Mooncake uses). + ## 0.36.14 Added compatibility with AbstractPPL@0.12. diff --git a/Project.toml b/Project.toml index 09fbf99ea..63c07ed1a 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "DynamicPPL" uuid = "366bfd00-2699-11ea-058f-f148b4cae6d8" -version = "0.36.14" +version = "0.36.15" [deps] ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"