From 1c2eea9ce5f08e3e50b1fb9a38cb241ce91ad787 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 19 May 2024 21:13:49 +0200 Subject: [PATCH 1/4] CompatHelper: bump compat for Turing to 0.31 for package Turing, (keep existing compat) (#180) * CompatHelper: bump compat for Turing to 0.31 for package Turing, (keep existing compat) * Bump Turing compats * Bump DynamicPPL compat * Increment patch number --------- Co-authored-by: CompatHelper Julia Co-authored-by: Seth Axen --- Project.toml | 6 +++--- docs/Project.toml | 2 +- test/integration/Turing/Project.toml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Project.toml b/Project.toml index 5dfada2f..d2794daf 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "Pathfinder" uuid = "b1d3bc72-d0e7-4279-b92f-7fa5d6d2d454" authors = ["Seth Axen and contributors"] -version = "0.8.3" +version = "0.8.4" [deps] Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f" @@ -39,7 +39,7 @@ PathfinderTuringExt = ["Accessors", "DynamicPPL", "MCMCChains", "Turing"] Accessors = "0.1.1" Distributions = "0.25.57" DynamicHMC = "3.4.0" -DynamicPPL = "0.21.5, 0.22, 0.23, 0.24" +DynamicPPL = "0.21.5, 0.22, 0.23, 0.24, 0.25" Folds = "0.2.2" ForwardDiff = "0.10.13" IrrationalConstants = "0.1.1, 0.2" @@ -58,7 +58,7 @@ SciMLBase = "1.61.2, 2" Statistics = "1.6" StatsBase = "0.33.1, 0.34" Transducers = "0.4.66" -Turing = "0.24.2, 0.25, 0.26, 0.27, 0.28, 0.29, 0.30" +Turing = "0.24.2, 0.25, 0.26, 0.27, 0.28, 0.29, 0.30, 0.31" UnPack = "1" julia = "1.6" diff --git a/docs/Project.toml b/docs/Project.toml index 0b63c9c2..4a91f79a 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -26,4 +26,4 @@ StatsFuns = "1" StatsPlots = "0.14.21, 0.15" TransformVariables = "0.6, 0.7, 0.8" TransformedLogDensities = "1.0.2" -Turing = "0.24.2, 0.25, 0.26, 0.27, 0.28, 0.29, 0.30" +Turing = "0.24.2, 0.25, 0.26, 0.27, 0.28, 0.29, 0.30, 0.31" diff --git a/test/integration/Turing/Project.toml b/test/integration/Turing/Project.toml index dbd99810..97e2f3f6 100644 --- a/test/integration/Turing/Project.toml +++ b/test/integration/Turing/Project.toml @@ -6,5 +6,5 @@ Turing = "fce5fe82-541a-59a6-adf8-730c64b5f9a0" [compat] Pathfinder = "0.8" -Turing = "0.24.2, 0.25, 0.26, 0.27, 0.28, 0.29, 0.30" +Turing = "0.24.2, 0.25, 0.26, 0.27, 0.28, 0.29, 0.30, 0.31" julia = "1.6" From decf803e6e1e43cf91530a4d856c840e7a312e85 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 19 May 2024 21:35:33 +0200 Subject: [PATCH 2/4] CompatHelper: bump compat for Turing to 0.32 for package Turing, (keep existing compat) (#184) * CompatHelper: bump compat for Turing to 0.32 for package Turing, (keep existing compat) * Bump Turing compats * Bump DynamicPPL compat * Increment patch number --------- Co-authored-by: CompatHelper Julia Co-authored-by: Seth Axen --- Project.toml | 6 +++--- docs/Project.toml | 2 +- test/integration/Turing/Project.toml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Project.toml b/Project.toml index d2794daf..739237f5 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "Pathfinder" uuid = "b1d3bc72-d0e7-4279-b92f-7fa5d6d2d454" authors = ["Seth Axen and contributors"] -version = "0.8.4" +version = "0.8.5" [deps] Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f" @@ -39,7 +39,7 @@ PathfinderTuringExt = ["Accessors", "DynamicPPL", "MCMCChains", "Turing"] Accessors = "0.1.1" Distributions = "0.25.57" DynamicHMC = "3.4.0" -DynamicPPL = "0.21.5, 0.22, 0.23, 0.24, 0.25" +DynamicPPL = "0.21.5, 0.22, 0.23, 0.24, 0.25, 0.27" Folds = "0.2.2" ForwardDiff = "0.10.13" IrrationalConstants = "0.1.1, 0.2" @@ -58,7 +58,7 @@ SciMLBase = "1.61.2, 2" Statistics = "1.6" StatsBase = "0.33.1, 0.34" Transducers = "0.4.66" -Turing = "0.24.2, 0.25, 0.26, 0.27, 0.28, 0.29, 0.30, 0.31" +Turing = "0.24.2, 0.25, 0.26, 0.27, 0.28, 0.29, 0.30, 0.31, 0.32" UnPack = "1" julia = "1.6" diff --git a/docs/Project.toml b/docs/Project.toml index 4a91f79a..51a90439 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -26,4 +26,4 @@ StatsFuns = "1" StatsPlots = "0.14.21, 0.15" TransformVariables = "0.6, 0.7, 0.8" TransformedLogDensities = "1.0.2" -Turing = "0.24.2, 0.25, 0.26, 0.27, 0.28, 0.29, 0.30, 0.31" +Turing = "0.24.2, 0.25, 0.26, 0.27, 0.28, 0.29, 0.30, 0.31, 0.32" diff --git a/test/integration/Turing/Project.toml b/test/integration/Turing/Project.toml index 97e2f3f6..e44dd580 100644 --- a/test/integration/Turing/Project.toml +++ b/test/integration/Turing/Project.toml @@ -6,5 +6,5 @@ Turing = "fce5fe82-541a-59a6-adf8-730c64b5f9a0" [compat] Pathfinder = "0.8" -Turing = "0.24.2, 0.25, 0.26, 0.27, 0.28, 0.29, 0.30, 0.31" +Turing = "0.24.2, 0.25, 0.26, 0.27, 0.28, 0.29, 0.30, 0.31, 0.32" julia = "1.6" From 0a961d9afd576d84cba887a67834082c3883d6ca Mon Sep 17 00:00:00 2001 From: Seth Axen Date: Sun, 19 May 2024 23:04:26 +0200 Subject: [PATCH 3/4] Remove Transducers workaround if unneeded (#185) * Only define missing Transducers method if not already defined * Increment patch number --- Project.toml | 2 +- src/transducers.jl | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Project.toml b/Project.toml index 739237f5..1f256005 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "Pathfinder" uuid = "b1d3bc72-d0e7-4279-b92f-7fa5d6d2d454" authors = ["Seth Axen and contributors"] -version = "0.8.5" +version = "0.8.6" [deps] Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f" diff --git a/src/transducers.jl b/src/transducers.jl index cea38ae0..953e9884 100644 --- a/src/transducers.jl +++ b/src/transducers.jl @@ -10,6 +10,9 @@ function _findmax(x) end end -# WARNING: Type piracy! -# https://github.com/JuliaFolds/Transducers.jl/issues/521 -Base.size(x::Transducers.ProgressLoggingFoldable) = size(x.foldable) +if !hasmethod(size, Tuple{Transducers.ProgressLoggingFoldable}) + # WARNING: Type piracy! + # https://github.com/JuliaFolds/Transducers.jl/issues/521 + # this method is necessary for Transducers version earlier than v0.4.82 + Base.size(x::Transducers.ProgressLoggingFoldable) = size(x.foldable) +end From f1a12e11ddbcd4557a9b95ecb9218be49aa2b18c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 10:51:00 +0200 Subject: [PATCH 4/4] CompatHelper: bump compat for OptimizationOptimJL to 0.3, (keep existing compat) (#182) * CompatHelper: bump compat for OptimizationOptimJL to 0.3, (keep existing compat) * Increment patch version --------- Co-authored-by: CompatHelper Julia Co-authored-by: Seth Axen --- Project.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 1f256005..4b6cc0e9 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "Pathfinder" uuid = "b1d3bc72-d0e7-4279-b92f-7fa5d6d2d454" authors = ["Seth Axen and contributors"] -version = "0.8.6" +version = "0.8.7" [deps] Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f" @@ -48,7 +48,7 @@ LogDensityProblems = "2.1.0" MCMCChains = "5.3.0, 6" Optim = "1.6.2" Optimization = "3.5" -OptimizationOptimJL = "0.1.1, 0.2" +OptimizationOptimJL = "0.1.1, 0.2, 0.3" PDMats = "0.11.26" PSIS = "0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9" ProgressLogging = "0.1.4"