Skip to content
This repository was archived by the owner on Aug 27, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,3 @@ jobs:
with:
files: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
- uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: lcov.info
8 changes: 8 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# 0.8.0

## Breaking changes

Dropped the `Requires` dependency.
The Libtask extension now loads only through native package extensions, so Julia 1.10 or later is required (already the minimum).

Raised compat lower bounds: `AbstractMCMC` to 5, `Distributions` to 0.25, and `StatsFuns` to 1 (now also allowing 2).
10 changes: 4 additions & 6 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
name = "AdvancedPS"
uuid = "576499cb-2369-40b2-a588-c64705576edc"
authors = ["TuringLang"]
version = "0.7.2"
version = "0.8.0"

[deps]
AbstractMCMC = "80f14c24-f653-4e6a-9b94-39d6b0f70001"
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Random123 = "74087812-796a-5b5d-8853-05524746bad3"
Requires = "ae029012-a4dd-5104-9daa-d747884805df"
SSMProblems = "26aad666-b158-4e64-9d35-0e672562fa48"
StatsFuns = "4c63d2b9-4356-54db-8cca-17b64c39e42c"

Expand All @@ -19,13 +18,12 @@ Libtask = "6f1fad26-d15e-5dc8-ae53-837a1d7b8c9f"
AdvancedPSLibtaskExt = "Libtask"

[compat]
AbstractMCMC = "2, 3, 4, 5"
Distributions = "0.23, 0.24, 0.25"
AbstractMCMC = "5"
Distributions = "0.25"
Libtask = "0.9.2"
Random = "<0.0.1, 1"
Random123 = "1.3"
Requires = "1.0"
StatsFuns = "0.9, 1"
StatsFuns = "1, 2.2"
SSMProblems = "0.6"
julia = "1.10.8"

Expand Down
5 changes: 5 additions & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@
AdvancedPS = "576499cb-2369-40b2-a588-c64705576edc"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306"

[compat]
AdvancedPS = "0.8.0"
Documenter = "1.17.0"
Literate = "2.21.0"
2 changes: 1 addition & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ mkpath(EXAMPLES_OUT)
# Workaround for https://github.com/JuliaLang/Pkg.jl/issues/2219
examples = filter!(isdir, readdir(joinpath(@__DIR__, "..", "examples"); join=true))
above = joinpath(@__DIR__, "..")
let script = "using Pkg; Pkg.activate(ARGS[1]); Pkg.instantiate(); Pkg.develop(path=\"$(above)\");"
let script = "using Pkg; Pkg.activate(ARGS[1]); Pkg.develop(path=\"$(above)\"); Pkg.instantiate();"
for example in examples
if !success(`$(Base.julia_cmd()) -e $script $example`)
error(
Expand Down
9 changes: 9 additions & 0 deletions examples/gaussian-process/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,12 @@ Libtask = "6f1fad26-d15e-5dc8-ae53-837a1d7b8c9f"
Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
SSMProblems = "26aad666-b158-4e64-9d35-0e672562fa48"

[compat]
AbstractGPs = "0.5.24"
AdvancedPS = "0.8.0"
Distributions = "0.25.127"
Libtask = "0.9.18"
Literate = "2.21.0"
Plots = "1.41.6"
SSMProblems = "0.6.1"
10 changes: 10 additions & 0 deletions examples/gaussian-ssm/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,13 @@ Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
SSMProblems = "26aad666-b158-4e64-9d35-0e672562fa48"
StatsFuns = "4c63d2b9-4356-54db-8cca-17b64c39e42c"

[compat]
AbstractMCMC = "5.15.1"
AdvancedPS = "0.8.0"
Distributions = "0.25.127"
Libtask = "0.9.18"
Literate = "2.21.0"
Plots = "1.41.6"
SSMProblems = "0.6.1"
StatsFuns = "2.2.0"
8 changes: 8 additions & 0 deletions examples/levy-ssm/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,11 @@ Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
SSMProblems = "26aad666-b158-4e64-9d35-0e672562fa48"

[compat]
AbstractMCMC = "5.15.1"
AdvancedPS = "0.8.0"
Distributions = "0.25.127"
Literate = "2.21.0"
Plots = "1.41.6"
SSMProblems = "0.6.1"
11 changes: 11 additions & 0 deletions examples/particle-gibbs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,14 @@ Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Random123 = "74087812-796a-5b5d-8853-05524746bad3"
SSMProblems = "26aad666-b158-4e64-9d35-0e672562fa48"
StatsFuns = "4c63d2b9-4356-54db-8cca-17b64c39e42c"

[compat]
AbstractMCMC = "5.15.1"
AdvancedPS = "0.8.0"
Distributions = "0.25.127"
Libtask = "0.9.18"
Literate = "2.21.0"
Plots = "1.41.6"
Random123 = "1.7.1"
SSMProblems = "0.6.1"
StatsFuns = "2.2.0"
12 changes: 0 additions & 12 deletions src/AdvancedPS.jl
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,4 @@ include("container.jl")
include("smc.jl")
include("pgas.jl")

if !isdefined(Base, :get_extension)
using Requires
end

@static if !isdefined(Base, :get_extension)
function __init__()
@require Libtask = "6f1fad26-d15e-5dc8-ae53-837a1d7b8c9f" include(
"../ext/AdvancedPSLibtaskExt.jl"
)
end
end

end
5 changes: 3 additions & 2 deletions test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
[compat]
AbstractMCMC = "2, 3, 4, 5"
Distributions = "0.24, 0.25"
DynamicIterators = "0.4"
GaussianDistributions = "0.5"
Kalman = "0.1"
HypothesisTests = "0.11"
DynamicIterators = "0.4"
Kalman = "0.1"
Libtask = "0.9"
Random123 = "1.3"
SSMProblems = "0.6.1"
StableRNGs = "1"
julia = "1.10.8"
Loading