diff --git a/Project.toml b/Project.toml index e7642d08..eef46a78 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "TemporalGPs" uuid = "e155a3c4-0841-43e1-8b83-a0e4f03cc18f" authors = ["willtebbutt and contributors"] -version = "0.6.6" +version = "0.6.7" [deps] AbstractGPs = "99985d1d-32ba-4be9-9821-2ec096f28918" @@ -20,10 +20,10 @@ Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f" AbstractGPs = "0.5.17" Bessels = "0.2.8" BlockDiagonals = "0.1.7" -ChainRulesCore = "1" -FillArrays = "0.13.0 - 0.13.7, 1" +ChainRulesCore = "1.0.0 - 1.16.0" +FillArrays = "0.13.0 - 0.13.7" KernelFunctions = "0.9, 0.10.1" -StaticArrays = "1" +StaticArrays = "1.0.0 - 1.6.5" StructArrays = "0.5, 0.6" -Zygote = "0.6.65" +Zygote = "0.6.65 - 0.6.65" julia = "1.6" diff --git a/README.md b/README.md index 883b875e..c566924a 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,15 @@ TemporalGPs.jl is registered, so simply type the following at the REPL: ``` While you can install TemporalGPs without AbstractGPs and KernelFunctions, in practice the latter are needed for all common tasks in TemporalGPs. +## Note !!! + +This package is currently not guaranteed to work with all current versions of dependencies. If something is not working on the current release of TemporalGPs, +please try out v0.6.7, which pins some dependencies in order to circumvent some of the problems. You can do so by typing instead: +```julia +] add AbstractGPs KernelFunctions TemporalGPs@0.6.7 +``` +Please report an issue if this work-around fails. + # Example Usage Most examples can be found in the [examples](https://github.com/JuliaGaussianProcesses/TemporalGPs.jl/tree/master/examples) directory. In particular see the associated [README](https://github.com/JuliaGaussianProcesses/TemporalGPs.jl/tree/master/examples/README.md). diff --git a/test/gp/lti_sde.jl b/test/gp/lti_sde.jl index 203b16ee..a4f20578 100644 --- a/test/gp/lti_sde.jl +++ b/test/gp/lti_sde.jl @@ -3,8 +3,7 @@ using KernelFunctions: kappa using ChainRulesTestUtils using TemporalGPs: build_lgssm, StorageType, is_of_storage_type, lgssm_components using Test -include("../test_util.jl") -include("../models/model_test_utils.jl") + _logistic(x) = 1 / (1 + exp(-x)) # Everything is tested once the LGSSM is constructed, so it is sufficient just to ensure @@ -226,7 +225,7 @@ println("lti_sde:") # Just need to ensure we can differentiate through construction properly. if isnothing(kernel.to_vec_grad) - @test_broken "Gradient tests are not passing" + @test_broken false # "Gradient tests are not passing" continue elseif kernel.to_vec_grad test_zygote_grad_finite_differences_compatible( diff --git a/test/models/lgssm.jl b/test/models/lgssm.jl index be257f65..19662b66 100644 --- a/test/models/lgssm.jl +++ b/test/models/lgssm.jl @@ -25,9 +25,6 @@ using LinearAlgebra using StructArrays using Zygote, StaticArrays -include("model_test_utils.jl") -include("../test_util.jl") - println("lgssm:") @testset "lgssm" begin diff --git a/test/models/linear_gaussian_conditionals.jl b/test/models/linear_gaussian_conditionals.jl index d3219a85..9e0e7ba7 100644 --- a/test/models/linear_gaussian_conditionals.jl +++ b/test/models/linear_gaussian_conditionals.jl @@ -1,9 +1,6 @@ using TemporalGPs: posterior_and_lml, predict, predict_marginals using Test -include("../test_util.jl") -include("../models/model_test_utils.jl") - println("linear_gaussian_conditionals:") @testset "linear_gaussian_conditionals" begin Dlats = [1, 3] diff --git a/test/models/missings.jl b/test/models/missings.jl index 407d030c..3b4084e0 100644 --- a/test/models/missings.jl +++ b/test/models/missings.jl @@ -7,9 +7,6 @@ using Random: randperm using ChainRulesTestUtils using Zygote: Context -include("../test_util.jl") -include("../models/model_test_utils.jl") - @info "missings:" @testset "missings" begin diff --git a/test/space_time/pseudo_point.jl b/test/space_time/pseudo_point.jl index 8e43fa04..e90f0374 100644 --- a/test/space_time/pseudo_point.jl +++ b/test/space_time/pseudo_point.jl @@ -16,8 +16,6 @@ using TemporalGPs: Separable, approx_posterior_marginals using Test -include("../test_util.jl") -include("../models/model_test_utils.jl") @testset "pseudo_point" begin diff --git a/test/util/chainrules.jl b/test/util/chainrules.jl index 0d716119..b68ab30c 100644 --- a/test/util/chainrules.jl +++ b/test/util/chainrules.jl @@ -9,7 +9,6 @@ using TemporalGPs: time_exp, _map, Gaussian using FillArrays using StructArrays using Zygote: ZygoteRuleConfig -include("../test_util.jl") @testset "chainrules" begin @testset "StaticArrays" begin